$srcpath(file_alias)
The $srcpath function returns the source path of the installation file with the alias file_alias. If file_alias is empty or refers to a non-existing file, the result is an empty string. The function's behavior differs slightly between build time and installation time:
An installation file is part of the uncompressed distribution if the file is specifically marked as Packaging: Plain file in its file attributes, or if the build configuration has its Packaging: Plain file tree option set and the file is marked Packaging: Default.
This function allows you to refer to an uncompressed distribution file in the installer before any files are installed on the target system. After installation, you can use the regular <#file_alias> syntax.
All parameters may contain symbolic references; these are resolved before the function is applied.
Here are some usage examples for this function: