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.

    Note

    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


Table Of Contents