Set-PdVar
Set-PdVar
Use this command to set a local variable to a specific value. The variable is then available throughout the installation package.
Settings:
- Variable name
Name of the variable whose value is to be set. Enter only the name of the variable, not the $ sign and the curly brackets. - Contents
Value to which the variable is set. Alphanumeric values are permitted. Variables can also be used. If you want to set the value of the variable to a file name, you can use the "..." button to select an existing file (on the packaging system). Otherwise, enter the value manually. - Do not log command
If this option is enabled, setting the value of the variable in the log file is prevented. Useful if you want the variable to take confidential values (such as passwords, license number, or similar).
Example:
The example sets the value of the _DestinationDirectory variable to Greenshot below the 32-bit programs directory:
Corresponds to DSM eScript command:
- Set
See also: