InstallAnywhere 2020
You can use source paths to reference file resources using variable paths instead of absolute paths. This allows you to share a project file with other team members, even when the file resources are located at different paths on their development systems.
Using source paths also enables you to use the same project file on different types of operating systems, such as UNIX-based and Windows-based systems.
Source paths will automatically be substituted for the most complete path possible. For example, suppose you have a project with the following defined source paths:
$SOURCEPATH1$ = D:\Sources\SampleApp\3000
$SOURCEPATH2$ = D:\Sources
When you add a file such as D:\Sources\SampleApp\3000\readme.txt to that project, because $SOURCEPATH1$ has the most complete path match available, this file will be referenced by:
$SOURCEPATH1$/readme.txt
If a team member opens this project and the source path is not defined, InstallAnywhere shows a dialog box that requests the location for the source path.
InstallAnywhere provides some predefined variables for source paths that exist in any project. The values of these variables cannot be changed or edited:
Source Path |
Description |
$IA_HOME$ |
Location on the system where InstallAnywhere is running. A common location is: C:\Program Files\InstallAnywhere |
$IA_PROJECT_DIR$ |
Location on the system where the InstallAnywhere project is located. |
$USER_HOME$ |
The User Home folder. |
See Also
Adding and Removing Source Paths
Updating the Location of Files and Resources
InstallAnywhere 2020 Help LibraryOctober 2019 |
Copyright Information | Flexera |