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