PreviousNext
Macrovision

AddSetupFile Method

InstallShield 2008 ยป Automation Interface

Project-Specific

Project

The AddSetupFile method applies to the following project types.

The AddSetupFile method creates a support file with the specified name in 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.AddSetupFile ("C:\My Files\MySupportFile.ext")

    pProj.SaveProject

    pProj.CloseProject

Syntax

AddSetupFile (FileName As String) As ISWiSetupFile

Parameters

AddSetupFile Method Parameters 

Parameter

Description

FileName

Pass the fully qualified file name for the support file that you want to add.

Applies To




Copyright Information | Contact Macrovision