MSI Package Condition Settings

InstallShield 2015

Project: This information applies to the following project types:

Advanced UI
Suite/Advanced UI

Edition: The Advanced UI project type is available in the Professional edition of InstallShield. The Suite/Advanced UI project type is available in the Premier edition of InstallShield. For information about the differences between these two project types, see Advanced UI Projects vs. Suite/Advanced UI Projects.

When you are building a conditional statement for an exit, detection, eligibility, or feature condition in an Advanced UI or Suite/Advanced UI project, or for an action condition in a Suite/Advanced UI project, you can create an MSI Package condition.

The MSI Package setting shows the condition that is configured for checking target systems for the presence of a product that was installed by a particular .msi package. To define this type of condition, configure the subsettings under the MSI Package setting as needed.

The following subsettings are available for this condition.

MSI Package Condition Settings

Setting

Description

Product Code

To create a conditional statement that checks for the presence of a product that was installed by an .msi package with a particular product code, click the ellipsis button (...) in this setting to browse to the package and have InstallShield enter the product code for you. As an alternative, you can manually enter the product code. A sample entry is {5D607F6A-AF48-4003-AFA8-69E019A4496F}.

Tip: You can use an asterisk as a placeholder for the current package’s product code, package code, and product version when you are defining eligibility and detection MSI package conditions, as long as the package that you are configuring is an .msi package.

Package Code

To create a conditional statement that checks for the presence of a product that was installed by an .msi package with a particular package code, click the ellipsis button (...) in this setting to browse to the package and have InstallShield enter the package code for you. As an alternative, you can manually enter the package code. A sample entry is {5D607F6A-AF48-4003-AFA8-69E019A4496F}.

Tip: You can use an asterisk as a placeholder for the current package’s product code, package code, and product version when you are defining eligibility and detection MSI package conditions, as long as the package that you are configuring is an .msi package.

Product Version

To create a conditional statement that checks for the presence of a product with a particular product version that was installed by an .msi package, click the ellipsis button (...) in this setting to browse to the package and have InstallShield enter the product version for you. As an alternative, you can manually enter the product version. Then use the Comparison setting to specify whether you want the product version to be less than, greater than, or equal to the value that you are specifying.

The typical format for the version number is aaa.bbb.ccccc or aaa.bbb.ccccc.ddddd, where aaa represents the major version number, bbb represents the minor version number, ccccc represents the build number, and ddddd represents the revision number. The maximum value for the aaa and bbb portions is 255. The maximum value for ccccc and ddddd is 65,535. Note that although you can include the fourth field (ddddd) when you specify the product version, the Advanced UI or Suite/Advanced UI installation does not use this part of the product version to distinguish between different product versions.

Tip: You can use an asterisk as a placeholder for the current package’s product code, package code, and product version when you are defining eligibility and detection MSI package conditions, as long as the package that you are configuring is an .msi package.

Comparison

If you specify a version number in the Product Version setting, select the appropriate option to indicate how you want to compare the version number on the target system with the one that you enter. For example, if you want the condition to be true if the version on the target system is less than or equal to 4.0.0, enter 4.0.0 in the Product Version setting, and select Less Than or Equal To in the Comparison setting.

Patch Code

To create a conditional statement that checks for the presence of a product that was installed by an .msi package with a particular patch code for a specific product code, enter the patch code in this setting, and enter the product code in the Product Code setting. A sample entry is {5D607F6A-AF48-4003-AFA8-69E019A4496F}.

If you enter a value in this setting, any value that is entered in the Package Code and Product Version settings are ignored.

See Also