InstallShield 2016 ยป InstallScript Language Reference
The GetEnvVar function retrieves the current value of an environment variable.
Syntax
GetEnvVar ( szParameter, svValue );
Parameters
| Parameter | Description | 
| szParameter | Specifies the name of the environment variable whose value is to be retrieved. | 
| svValue | Returns the current value of the environment variable. | 
Return Values
| Return Value | Description | 
| 0 | Indicates that the function retrieved the value of the environment variable. | 
| < 0 | Indicates that the function was unable to retrieve the value of the environment variable. | 
See Also
| InstallShield 2016 Help LibraryMay 2017 | Copyright Information | Flexera Software |