Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

MSI Query Targeting

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

A Microsoft® Windows® Installer Query targeting item allows a preference item to be applied to computers or users only if certain aspects of a product, update, or component installed by Windows Installer 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 a product, update, or component installed by Windows Installer 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 Windows Installer query as an installed product, an installed update, or a component.

Additional considerations

  • 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.

Additional references

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.