ISWiLatestSetup Object

InstallShield 2019 » Automation Interface

Project • This information applies to the following project types:

Basic MSI
InstallScript MSI

Indicates the Latest Setup (or UpgradedImage) item for a patch configuration where you specify settings for the latest version of your installation.

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

ISWiLatestSetup Object Members

Name

Type

Description

AddPatchExternalFile 

Method

Adds a ISWiPatchExternalFile object to the current latest setup configuration.

Patching an additional external file provides the ability to create a binary file patch against versions of an application file that have not been shipped as part of the previous setup. For example, if one of your application files was potentially updated by another setup, you should reference that file version to ensure that the file level patch can be successfully applied at runtime.

AddPatchWholeFile 

Method

Adds a ISWiPatchWholeFile object to the current latest setup configuration.

To include all of your files as whole files, set the IncludeWholeFilesOnly property of patch configuration to True.

AddPreviousSetup 

Method

Adds a ISWiPreviousSetup object to the current latest setup configuration.

DeletePatchExternalFile 

Method

Deletes specified external file object from the current latest setup configuration.

DeletePatchWholeFile 

Method

Deletes specified whole file object from the current latest setup configuration.

DeletePreviousSetup 

Method

Deletes specified previous setup object from the current latest setup configuration.

ISWiPatchExternalFiles 

Collection

Contains all of the external file objects belonging to this latest setup.

ISWiPatchWholeFiles 

Collection

Contains all of the whole file objects belonging to this latest setup.

ISWiPreviousSetups 

Collection

Contains all of the previous setups belonging to this latest setup (or upgraded image).

MsiPath

Read-Only Property

Gets or Sets the latest setup path. The latest setup should be the latest version of your installation for which you want to create a patch. The default setting, <ISLatestRelease>, resolves to the last full release that you build.

The release path that you specify in this property should be an uncompressed release, ideally created with an administrative installation if the previous product versions were compressed.

Name

Read-Only Property

Gets name of the latest setup item.

Applies To

ISWiPatchConfig