33.4 Distribution Rules Examples

You can use AND and OR Boolean operators when defining the rules that control the distribution of an application. You can also use groups of rules to further control the distribution. Examples of using AND/OR Boolean operators and groups are provided below.

33.4.1 Simple Rule Using an OR Operator

You want to require a workstation to have either a Pentium III processor (or better) or the Windows 2000 operating system. To do so, use the following rule:

Processor type(Processor) >= Pentium III OR OS version(Windows NT/2000/XP) >= 5.00.2195

To create this rule:

  1. On the Distribution Rules page, click the Add button, then select Processor.

  2. In the Processor Rule dialog box, select Greater than or equal to (>=), select Pentium III, then click OK to add the rule to the Add rules to control availability of this application list.

  3. On the Distribution Rules page, click the Add button, then select Operating system.

  4. In the Operating System Rule dialog box, select Windows NT/2000/XP, select Greater than or equal to (>=), enter 5.00.2195, then click OK to add the rule to the Add rules to control availability of this application list.

    The rule is added to the list with an AND operator.

  5. In the list, change the AND operator, located in front of the OS Version rule, to an OR operator.

33.4.2 Simple Group

You want to require a workstation to have either a Pentium III processor (or better) or the Windows 2000 operating system with at least 512 MB of memory. To do so, use the following rule:

Processor type(Processor) >= Pentium III OR (OS version(Windows NT/2000/XP) >= 5.00.2195 AND System memory(RAM) >= 512) 

To create this rule:

  1. On the Distribution Rules page, click the Add button, then select Processor.

  2. In the Processor Rule dialog box, select Greater than or equal to (>=), select Pentium III, then click OK to add the rule to the Add rules to control availability of this application list.

  3. On the Distribution Rules page, click the Add button, then select New group to add a new group to the Add rules to control availability of this application list.

    The new group is labeled Group 1, unless you’ve previously added groups to the list. In addition, it is assigned the AND operator by default.

  4. Locate Group 1 in the list and change the AND operator to an OR operator.

  5. Next to Group 1 in the list, click the Add to Group button, then select Operating System.

  6. In the Operating System Rule dialog box, select Windows NT/2000/XP, select Greater than or equal to (>=), enter 5.00.2195, then click OK to add the rule under Group 1 in the list.

  7. Next to Group 1 in the list, click the Add to Group button, then select Memory.

  8. In the Memory Rule dialog box, select greater than or equal to (>=), enter 512, then click OK to add the rule under Group 1 in the list.