InstallShield 2018 » Automation Interface
Project • This information applies to the following project types:
• | Basic MSI |
• | InstallScript |
• | InstallScript MSI |
• | InstallScript Object |
ISWiSetupFiles is a collection that contains every support file (as an ISWiSetupFile object) in your project.
Members
Name |
Type |
Description |
Count |
Read-Only Property |
Use this property to return the total number of support files in the ISWiSetupFiles collection. |
Item |
Read-Only Property |
Provide the index number or name of the support file to retrieve the ISWiSetupFile object. For example, the following statements create references to the first support file in the collection and the support file named MySupportFile.bmp: Set pSetupFile1 = pProj.ISWiSetupFiles.Item(1) Set pSetupFile2 = pProj.ISWiSetupFiles.Item("MySupportFile.bmp") Item is the default property for ISWiSetupFiles, which means that pProj.ISWiSetupFiles.Item("MySupportFile.bmp") is equivalent to pProj.ISWiSetupFiles("MySupportFile.bmp"). |
Example
The following Visual Basic code illustrates how you would set a property for a specific support file:
Dim pProj As ISWiProject
Set pProj = CreateObject("IswiAutoAutomation Interface Version.ISWiProject")
pProj.OpenProject "C:\MySetups\Project1.ism"
pProj.ISWiSetupFiles(1).Splash = True
pProj.SaveProject
pProj.CloseProject
Applies To
• | ISWiProject |
InstallShield 2018 Help LibraryJanuary 2018 |
Copyright Information | Flexera |