Optional Rule Blocks

By default, software inventory operations do not recognize applications when a file or directory fails any rule check within the application definition. For example, if the name of a file matches a file rule, but the file size does not match the size check, Vector AM will not recognize the parent application.

However, rules embedded within optional rule blocks do not cause recognition failures when a rule is not met. This enables you to create application definitions that can include tests for several different versions of an application. By embedding each version test within an optional rule block, you can ensure that the application is recognized even when several version tests fail.

To add a new Optional Rule Block to an Application Definition:

1    Right-click the Rule pane in the Applications Library and choose Add Optional Block from the shortcut menu.

2    Enter a name for the rule in the Option field.

3    Click OK to create the optional rule block and close the dialog. To add rules to the new block, right-click its entry in the Rule pane and choose an option from the shortcut menu.

Notes

    Optional rule blocks always apply to the applications installation directory irrespective of any preceding subdirectory rules in the definition.

    When you want to use an application definition to identify multiple versions of an application, enter * in the Version field of the Application Properties dialog.

Related Topics

Adding File Rules

Adding Subdirectory Rules

Choosing Application Recognition Rules

Setting Version Rules

Version Recognition Methods