Export (0) Print
Expand All

MSI Query Targeting

Updated: September 29, 2014

Applies To: Windows 7, Windows 8, Windows 8.1, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2

An MSI Query targeting item allows a preference item to be applied to computers or users only if certain aspects of an MSI installed product, update, or component on the processing computer match the specified criteria in the targeting item. If Is Not is selected, it allows the preference item to be applied only if certain aspects of an MSI installed product, update, or component on the processing computer do not match the specified criteria in the targeting item.

 

Query type

The targeting item allows the associated preference item to process if:

  • Target exists

    • Product: The product with the specified Product code is installed.

    • Patch: The update with the specified Patch code is installed.

    • Component: The keyfile of a component with the specified Component code is installed.

  • Version match

    • Product: The product with the specified Product code is within the specified version range.

    • Component: The keyfile of a component with the specified Component code is within the specified version range.

  • Get property or Get information

    • Product: The product with the specified Product code is installed.

    • Component: The keyfile of a component with the specified Component code is installed.

    The property or information item is stored in the specified variable.

  • Match property or Match information

    The property or information item matches the specified value in the targeting item, and:

    • Product: The product with the specified Product code is installed.

    • Component: The keyfile of a component with the specified Component code is installed.

    noteNote
    The targeting item does not allow the preference item to process if the property or information item has no value.

Target type

Defines the target of the MSI query as an installed product, an installed update, or a component.

  • To reposition a targeting item within the list of targeting items that you have applied to a preference item, either drag the targeting item to a new position, or select the targeting item and then click the Move Up arrow or Move Down arrow.

  • Preference items are available only in domain-based GPOs.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft