Expression Dialog Boxes for Smart Rules
(Windows only)
These dialog boxes let you create or edit the smart rule expressions in an inventory rule. The type of expression that you add or edit determines the dialog box that appears.
You can use smart rule expression in a detection rule, which determines whether specific software is installed on a client computer. You can also use them in an applicability rule, which determines whether a client computer has the correct environment for installation of the software.
Each expression requires you to supply different information to define it.
Expression dialog box | Description |
|---|---|
MSI Product Code | Checks the client computer for the MSI code of the package that you select. The MSI product code is a unique identifier in the form of a GUID that represents a particular release of a software application. When you select a package, all MSI packages that are in the Software Library appear. Select the MSI package that is associated with the software resource. |
MSI Upgrade Code | Checks the client computer for the MSI upgrade code that you specify to determine that no newer versions of a software application are installed. |
MSIX Package ID | Checks the client computer for the MSIX Package ID. |
Run Script |
Runs a specified script task on the client computer. Based on the task execution results, the software detection or applicability checks determine whether the software is installed or applicable for installation on a client computer. This expression is available starting from 8.5 RU4. |
Software File Expression | Checks the software that you specify for the files that you specify. After you select the software to check, select the rest of the information for the expression as follows:
Notification Server displays the files that match your criteria. To update the list of files when the software resource changes, you must either select a new software resource or click Update matching files . |
Static File Expression | Checks the client computer for a specified file. Optionally, the expression can also check for a specific version of that file. You must specify the file that you want to check for. A list of files is not presented based on search criteria. Notification Server does not update the expression if the specified file changes. The expression consists of the following data:
|
Static Shortcut Target | Checks the client computer to see whether a package that contains the specified shortcut target exists. You must specify the shortcut target that you want to check for. A list of shortcut targets is not presented based on search criteria. Notification Server does not update the expression if the specified shortcut target changes. The expression consists of the following data:
|