InstallShield 2016 » Automation Interface
Project • The AddEnvironmentVar method applies to the following project types:
• | Basic MSI |
• | DIM |
• | InstallScript MSI |
• | Merge Module |
Call AddEnvironmentVar to add an environment variable to a component.
Syntax
AddEnvironmentVar (sName As String) As ISWiEnvironmentVar
Parameters
Parameter |
Description |
sName |
Specifies the name of the environment variable. |
Example
The following Visual Basic example adds the environment variable MyEnvironment to the component MyComponent:
m_ISWiFeature.ISWiComponents("MyComponent").AddEnvironmentVar "MyEnvironment"
Applies To
• | ISWiComponent |
InstallShield 2016 Help LibraryAugust 2016 |
Copyright Information | Flexera Software |