PreviousNext
Help Library

Adding an Operating System Condition for an InstallShield Prerequisite

InstallShield 2009

If the InstallShield prerequisite should be installed on some—but not all—operating systems, you can create multiple operating system conditions for the prerequisite. If a target machine meets any one individual operating system condition, it meets the operating system requirements for that prerequisite.

Task

Task

To add a new operating system requirement for an InstallShield prerequisite:

  1. In the InstallShield Prerequisite Editor, open the prerequisite that you want to modify.
  2. Click the Conditions tab.
  3. Click the Add button. The Prerequisite Condition dialog box opens.
  4. Select the Setup is running on a particular operating system option.
  5. Do one of the following:
    • In the Select the operating system on which to run the setup requirement box, select the operating system that is required on the target system for the prerequisite.
    • In the Select the operating system on which to run the setup requirement box, select Custom. Then configure the operating system settings as appropriate.
    • Tip

      Tip

      You can also use the values from an existing predefined operating system condition as the basis for a new custom condition. To do so: In the Select the operating system on which to run the setup requirement box, select the appropriate predefined operating system, and then change the setting to Custom. Then you can further configure the operating system condition by specifying additional values in the Custom area.

  6. To specify the minimum service pack of the selected operating system, type the service pack in the Minimum Service Pack box.
  7. Click OK.

The InstallShield Prerequisite Editor adds the operating system condition to the Conditions tab.

Note

Note

Instead of storing in the .prq file the value that you selected in the Select the operating system on which to run the setup requirement box, the InstallShield Prerequisite Editor stores the underlying operating system settings that are associated with the value that you selected. Therefore, if you select the Custom option but do not change or configure any settings in the Custom area, the InstallShield Prerequisite Editor does not set the value of this box to Custom the next time that you reopen the Prerequisite Condition dialog box for the selected condition. Instead, it sets the value of the box to the predefined operating system option.

See Also




Copyright Information | Contact Acresso