ISWiReleases Collection

InstallShield 2022 » Automation Interface

Project:This information applies to the following project types:

Basic MSI
InstallScript
InstallScript MSI
InstallScript Object
Merge Module

The ISWiReleases collection contains all of the releases belonging to the current product configuration.

The following line illustrates how to access a particular ISWiRelease object:

    Set pRelease = pProject.ISWiProductConfigs("Version 1").ISWiReleases("NewRelease1")

    ' In an InstallScript project, there is only one element

    ' in ISWiProductConfigs, which is named "Media".

Members

ISWiReleases Collection Members

Name

Type

Description

Count

Read-Only Property

Use this property to return the total number of elements in the ISWiReleases collection.

Item

Read-Only Property

Provide the index number or name of the release in order to retrieve the ISWiRelease object.

The name of the release is case-sensitive—“NewRelease1” and “Newrelease1” are two different releases.

Item is the default property for ISWiReleases, which means that m_ISWiBldLbl.ISWiReleases.Item("NewRelease1") is equivalent to m_ISWiBldLbl.ISWiReleases("NewRelease1").

Applies To

ISWiProductConfig