Exercise 8.2 Using Installer Rules

InstallAnywhere rules can be implemented in a number of actions within the installer. However, the first set of rules evaluated in the installer is the Installer rules. These rules, set in the Project | Rules task, allow you to control the complete installer based on rules.

For example, let's consider that our OfficeSuite product is designed to run only on the following systems: Windows NT Generation Systems, including NT, 2000, and XP, but not Windows 95, 98, or ME; on Mac OS X, and on Linux.

Add this condition to the OfficeSuite installer.

1.
Add the rule.
a. Open the Project | Rules task.
b. Click Add Rule.
c. Select Check Platform.
d. Click Add.
2.
Set the condition for the rule.
a. In the customizer for the ...

Get InstallAnywhere Tutorial and Reference Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.