PreviousNext
Macrovision

DeleteSetupFile Method

InstallShield 2008 ยป Automation Interface

Project-Specific

Project

The DeleteSetupFile method applies to the following project types.

The DeleteSetupFile method deletes the specified support file from the current project. The following Visual Basic lines demonstrate this method:

    Dim pProj As ISWiProject

    Set pProj = CreateObject("IswiAuto14.ISWiProject")

    pProj.OpenProject "C:\MySetups\Project1.ism"

    Dim pSetupFile As ISWiSetupFile

    Set pSetupFile = pProj.ISWiSetupFiles.Item(1)

    pProj.DeleteSetupFile pSetupFile

    pProj.SaveProject

    pProj.CloseProject

Syntax

DeleteSetupFile (pSetupFile As ISWiSetupFile) As Long

Parameters

DeleteSetupFile Method Parameters 

Parameter

Description

pSetupFile

The support file object to be deleted.

Applies To




Copyright Information | Contact Macrovision