ISWiPreviousSetups Collection

InstallShield 2019 » Automation Interface

Project • This information applies to the following project types:

Basic MSI
InstallScript MSI

Contains collection of all previous setups belonging to the latest setup

Each patch configuration must contain at least one latest setup and one previous setup in order for you to create a patch. You can have multiple previous setups per latest setup.

Every application or setup that you intend to patch to a latest setup must be added to the previous setup node.

For example, your company supports versions 1.0 and 1.1 of an application, and you want to upgrade both of these applications to version 2.0. To create a single patch to upgrade both versions, you would add V1.0 and V1.1 as previous setups to the latest setup. Your latest setup would contain V2.0.

Members

ISWiPreviousSetups Collection Members

Name

Type

Description

Count

Read-Only Property

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

Item

Read-Only Property

Provide the index number or name of the previous setup in order to retrieve the ISWiPreviousSetup object.

The name of the previous setup is case-sensitive—“ Prev1” and “prev1” are two different configurations.

Item is the default property for ISWiPreviousSetups, which means that pLatestSetup. ISWiPreviousSetups.Item("Prev1") is equivalent to pLatestSetup. ISWiPreviousSetups("Prev1").

Applies To

ISWiProject