Set System Environment Variable Action
You can use the Set System Environment Variable action to set the value for an environment variable on the end user's system. This action is compatible with Windows and UNIX platform only.
Properties Tab
The Properties tab of the Set System Environment Variable Action customizer includes the following options:
Option |
Description |
|||||||||
Variable Name |
Specify the name of the environment variable whose value you want to create or modify. Name may be either a variable (such as $ENV_VARIABLE_NAMES$) or a literal (such as CLASSPATH) |
|||||||||
Set Value To |
Specify the value for the environment variable (specified in the Variable Name setting). Value may be either a variable (such as $USER_MAGIC_1$) or a literal (such as C:\Program Files) |
|||||||||
When Setting This Variable |
Use this option to instruct the installer to adjust the value in the Set Value To setting relative to the specified environment variable's existing value. Available options are:
|
|||||||||
Set This Variable For |
Use this option to instruct the installer to set the value of environment variable for only the current user or all users. Available options are:
|
Rules, Tags, and Rollback Tabs
For information on the other tabs on this customizer, see the following:
• | Rules—Use this tab to add rules to the selected action. For more information, see Assigning a Rule to an Action and Rules Reference. |
• | Tags—Use this tab to add build configuration tags to the selected action. For more information, see Assigning Tags to Project Elements. |
• | Rollback—Use this tab to specify rollback behavior for the selected action. For more information, see Configuring Installation Rollback Behavior. |