DeletePathVariable Method (Advanced UI and Suite/Advanced UI)
InstallShield 2020 » Automation Interface » Advanced UI and Suite/Advanced UI
Project:This information applies to the following project types:
• | Advanced UI |
• | Suite/Advanced UI |
Edition:The Advanced UI project type is available in the Professional edition of InstallShield. The Suite/Advanced UI project type is available in the Premier edition of InstallShield. For information about the differences between these two project types, see Advanced UI Projects vs. Suite/Advanced UI Projects.
The DeletePathVariable method removes a path variable with a specified name from the project.
Important:Predefined path variables cannot be modified or deleted. If you attempt to do so, exception error 3142 occurs. For more information, see Predefined Path Variables.
Syntax
DeletePathVariable (pPathVar ISWiPathVariable) As Long
Parameters
Parameter |
Description |
pPathVar |
Pass the ISWiPathVariable object for the path variable that you want to delete. |
Applies To
• | ISWiProject |