Check Platform Rule

InstallAnywhere 2018

The Check Platform rule checks the platform (operating system) on which the installer is running.

Note • The Check Platform rule evaluates the platform of a target machine based on the text returned by the Java VM’s System.getProperty (os.name) method call.

The Check Platform Rule customizer includes the following options:

Check Platform Rule Customizer

Option

Description

Do Not Perform On

Lists platforms on which the action is not performed.

The installer evaluates the platforms in this list at install-time before it evaluates the Perform On platforms. Therefore, to install on some Windows systems and not others, for example, remember to remove the Windows (All) platform expression from the Do Not Perform On. Otherwise, all Windows target systems will return a False result even if specific Windows platforms appear in the Perform On list.

Perform On

Lists platforms on which the action is permitted.

Note • You can use the Check Platform rule to specify that an action, panel, or console should only be executed on Windows 8 / Windows Server 2012 platforms. To add Windows 8 / Windows 2012 Server to the Perform On list, click More Platforms to open the Add Platform dialog box, and then select Windows 8 from the list.

-->

Moves the platforms currently selected in the Do Not Perform On list to the Perform On list.

<--

Moves platforms currently selected in the Perform On list to the Do Not Perform On list.

More Platforms

Opens the Add Platform dialog box.

This dialog lists some pre-set platforms you can add to the rule and also allows you to create custom platform expressions. Choose a platform from the list, enter a custom platform expression, or click This Platform; then click OK.

Remove Platform

Deletes the currently selected platform from both the Do Not Perform On and the Perform On lists.

See Also