In general, detection rules should be specific enough to identify a given version of a software resource from other versions. However, the rules should not be so specific that the detection fails. For example, when you create file expressions, do not use a specific file version. Instead, specify a range of versions.
Try to set up rules so that they find file paths by extracting them from the registry instead of by looking in a static path. You can set up rules this way by using the Registry Key/File Path to File Version expression type. That expression type reads the file path from the registry and compares it against a version range.
UNIX, Linux, and Mac OS operating systems do not support detection and applicability rules; therefore, do not add them to non-Windows software resources. When you add rules to non-Windows software resources, the rules are always evaluated as false, which can cause errors in your software-related operations.
In the Symantec Management Console, on the Manage menu, click Software Catalog.
In the Software Catalog window, do one of the following:
For an underfined software resource, in the Newly discovered/undefined software pane, select it and then click the Edit symbol.
For a defined software resource, locate the software product that the software resource is associated with in the Managed software products or Unmanaged software pane. You then click the Plus sign that precedes the software product, and click the link for the software resource that appears below the software product.
On the software resource page, click the Rules tab.
To access the dialog box where you can edit existing rules or add a new rule, perform one of the following actions:
To edit an existing rule, next to the detection or applicability drop-down list, click the Edit detection rule symbol or the Edit applicability rule symbol.
To add a new rule, next to the detection or applicability drop-down list, click the Add a new detection rule symbol or the Add a new applicability rule symbol.
In the Create rule dialog box or Edit rule dialog box, in the Name box, type a name to describe the rule.
Skip this step when you edit an existing rule.
The Rule type is not editable.
To edit an existing rule expression, select the rule expression in the left pane and edit it in the right pane.
To add an operator, on the toolbar, click the Add a new rule expression symbol, click Operators, and then select an operator.
The Add a new rule expression symbol is only enabled if an operator is selected in the left pane.
To create a new rule expression, on the toolbar, click the Add a new rule expression symbol, click one of the following options, and then select the expression:
Standard rules are static and can only contain standard rule expressions. You can add standard rule expressions to smart rules, but you cannot create new standard rules.
Some smart rules are dynamic and all smart rules can contain smart and standard rule expressions.
Complete the fields that are necessary to add the expression.
Continue to add expressions until the rule is complete.
On the software resource page, click Save Changes.
Close the software resource.
Imported Document ID: HOWTO62876
Subscribing will provide email updates when this Article is updated. Login is required.