Adding and Removing Source Paths
InstallAnywhere 2020
InstallAnywhere supports two different methods for adding source paths to a machine.
Adding Source Paths Using the InstallAnywhere Preferences Dialog Box
To add source paths using the InstallAnywhere Preferences dialog box:
|
1.
|
On the Edit menu, click Preferences. The InstallAnywhere Preferences dialog box opens. |
|
2.
|
Click the Source Paths tab. |
|
3.
|
Select Enable Source Paths check box. |
|
4.
|
Click the Add button. InstallAnywhere adds an empty row to the list of source paths. |
|
5.
|
In the Access Path Name column, click the empty box and then enter a variable name for the source path. For example: |
RESOURCE
|
6.
|
In the Folder column, click the empty box. The Choose Folder dialog box opens. |
|
7.
|
Browse to the source path and click the Select button. InstallAnywhere adds the full path to the Folder box. |
To refer to this source path elsewhere in your InstallAnywhere project, use the following notation:
$<access_path_name>$
For example:
$RESOURCE$
Adding Source Paths Using System Environment Variables
To add source paths using system environment variables:
|
1.
|
Access the environment variables on the development system: |
|
•
|
On Windows-based systems, open the System Properties dialog box. On the Advanced tab, click the Environment Variables button. |
|
•
|
On UNIX-based or macOS or OS X–based systems, modify the proper shell configuration file or set the variable directly using the shell. |
|
2.
|
Add an environment variable for the source path, preceded by the string IA_PATH_. For example, to set the source path SOURCE_PATH, set the environment variable as follows: |
IA_PATH_SOURCE_PATH
Removing Source Paths
To remove a customized source path:
|
1.
|
On the Edit menu, click Preferences. The InstallAnywhere Preferences dialog box opens. |
|
2.
|
Click the Source Paths tab. |
|
3.
|
In the list of source paths, click the one that contains the source path that you want to delete. |
|
4.
|
Click the Remove button. |
See Also
Enabling Source Paths
Updating the Location of Files and Resources
Source Paths Tab
Open topic with navigation