Setting Environment Variables

InstallShield 2015

Project: This information applies to the following project types:

Basic MSI
DIM
InstallScript MSI
Merge Module
MSI Database
MSM Database
Transform

The InstallScript language includes the GetEnvVar function for retrieving the current value of an environment variable, and it enables you to create an environment variable.

To create a new environment variable or modify the value of an existing environment variable:

1. In the View List under System Configuration, click Environment Variables.
2. Right-click the Environment Variables explorer and click Add Environment Variable.
3. InstallShield adds a new environment variable with the default name NewEnvironmentVariableX (where X is a number). Type the name of the variable that you want to modify, remove, or create.
4. In the pane on the right, configure the environment variable’s settings. For details about each setting, see Environment Variable Settings.

See Also