ISWiChainPackages Collection
InstallShield 2025 » Automation Interface
Project:
                                                    
| • | Basic MSI | 
| • | InstallScript MSI | 
Contains collection of the chained.msi packages in the current project.
Members
| Name | Type | Description | 
| Count | Read-Only Property | Use this property to return the total number of elements in the ISWiChainPackages collection. | 
| Item | Read-Only Property | Provide the index number or family name of the chained.msi packages in order to retrieve the ISWiChainPackage Object. | 
Example
The VBScript example below displays that how to retrieve the list of chained.msi packages in the project:
Set pProject = CreateObject("IswiAutoAutomation Interface Version.ISWiProject")
Project.OpenProject "C:\MySetups\MyProject.ism", True ' open read-only
sNames = "This project contains the following:" & vbNewLine
iCount = pProject.ISWiChainPackages.Count
For i = 1 to iCount
Set sMy = pProject.ISWiChainPackages.Item(i)
sNames = sNames & vbTab & sMy.DisplayName & vbNewLine
Next
MsgBox sNames
Set pChainPackage = pProject.ISWiChainPackages.Item("Package 1")
Applies To
| • | ISWiProject |