InstallShield 2019 » Automation Interface
Project • This information applies to the following project types:
• | InstallScript |
• | InstallScript Object |
The DeleteSetupType method deletes the specified setup type from the current project.
Syntax
DeleteSetupType (pSetupType As ISWiSetupType) As Long
Parameters
Parameter |
Description |
pSetupType |
The setup type object to be deleted. |
Example
The following Visual Basic lines demonstrate the DeleteSetupType method:
Dim pProj As ISWiProject
Set pProj = CreateObject("IswiAutoAutomation Interface Version.ISWiProject")
pProj.OpenProject "C:\MySetups\Project1.ism"
Dim pSetupType As ISWiSetupType
Set pSetupType = pProj.ISWiSetupTypes.Item(1)
pProj.DeleteSetupType pSetupType
pProj.SaveProject
pProj.CloseProject
Applies To
• | ISWiProject |
InstallShield 2019 Help LibraryApril 2019 |
Copyright Information | Flexera |