Using Environment Variables
InstallShield 2024
Project:
• | Basic MSI |
• | 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.
Environment variables are name and value pairs that can be set on the target system with your installation and can be accessed by your application and by other running programs. Environment variables are stored in the registry.
In the Environment Variables view, you can create, set (or modify), and remove environment variables on the target system through your installation. You can also specify environment variable properties in this view.
See Also