Platform 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 a platform condition.

The Platform setting shows the platform-related conditions that are configured in the Platform subsettings. To define a condition that evaluates the operating system version, the architecture, and other platform details on target systems, configure one or more of the platform-related subsettings as needed.

The following subsettings are available for this condition.

Platform Condition Settings

Setting

Description

OS Version

To create a conditional statement that evaluates the version of Windows on target systems, do one of the following:

To check for an exact match, enter the version number of Windows in the format major.minor.
To specify the minimum and maximum version numbers, enter a range separated by a dash. For example, to test for version 5.0 through 6.1 of Windows, enter the following:

5.0-6.1

To check for a minimum version number, enter the minimum version number followed by a dash. For example, to test for version 5.0 and later versions, enter the following:

5.0-

To check for a maximum version number, enter a dash followed by the maximum version number. For example, to test for version 6.0 and earlier versions, enter the following:

-6.0

For a list of valid versions, see the dwMajorVersion and dwMinorVersion members of the OSVERSIONINFOEX structure that is documented on the MSDN Web site.

Important: If you specify a range of operating system versions in the OS Version setting, as well as a range of service pack numbers in the Service Pack setting, ensure that the conditions evaluate as expected at run time.

Service Pack

To create a conditional statement that evaluates the service pack number of Windows on target systems, do one of the following:

To check for an exact match, enter the specific service pack number of Windows. For example, to test for SP2, enter the number 2.
To specify the minimum and maximum service pack numbers, enter a range separated by a dash. For example, to test for SP1 through SP3 of Windows, enter the following:

1-3

To check for a minimum service pack number, enter the minimum service pack number followed by a dash. For example, to test for SP2 and later versions, enter the following:

2-

To check for a maximum service pack number, enter a dash followed by the maximum service pack number. For example, to test for SP2 and earlier versions, enter the following:

-2

For a list of valid service pack numbers, see the wServicePackMajor and wServicePackMinor members of the OSVERSIONINFOEX structure that is documented on the MSDN Web site.

Important: If you specify a range of operating system versions in the OS Version setting, as well as a range of service pack numbers in the Service Pack setting, ensure that the conditions evaluate as expected at run time.

CSD Version

To create a conditional statement that evaluates the CSD version of Windows on target systems, enter the specific CSD version. Service Pack 2 is an example of a CSD version.

Build Number

To create a conditional statement that evaluates the minimum build number version of Windows on target systems, enter the specific build number.

For a list of valid build numbers, see the dwBuildNumber member OSVERSIONINFOEX structure that is documented on the MSDN Web site.

Product Type

To create a conditional statement that evaluates whether the target system is a domain controller, a server, or a workstation, select the appropriate option.

For a list of valid types, see the wProductType member OSVERSIONINFOEX structure that is documented on the MSDN Web site.

Architecture

To create a conditional statement that evaluates the architecture (x86, x64, or IA64) of target systems, select the appropriate option.

See Also