InstallShield 2015 » 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 DeleteSetupFile method removes the specified support file from the project.
Syntax
DeleteSetupFile (pSetupFile As ISWiSetupFile) As Long
Parameters
| Parameter | Description | 
| pSetupFile | Pass the ISWiSetupFile object that you want to delete. | 
Example
The following Visual Basic lines demonstrate this method:
Dim pProj As ISWiProject
Set pProj = CreateObject("ISWiAutoSuite22.ISWiProject")
pProj.OpenProject "C:\MySetups\Project1.issuite"
Dim pSetupFile As ISWiSetupFile
Set pSetupFile = pProj.ISWiSetupFiles.Item("MySupportFile.abc")
pProj.DeleteSetupFile pSetupFile
pProj.SaveProject
pProj.CloseProject
Applies To
| • | ISWiProject | 
| InstallShield 2015 Help LibraryJune 2015 | Copyright Information | Contact Us |