Condition for evaluating the search. If this evaluates to false, the search is not executed at all.
Guid
String
ProductCode to search for.
Yes
Id
String
Id of the search for ordering and dependency.
Result
Enumeration
Rather than saving the product version into the variable, a ProductSearch can save another attribute of the matching product instead. This attribute's value must be one of the following:
Version
Saves the version of a matching product if found; 0.0.0.0 otherwise. This is the default.
Language
Saves the language of a matching product if found; empty otherwise.
State
Saves the state of the product: advertised (1), absent (2), or locally installed (3).
Assignment
Saves the assignment type of the product: per-user (0), or per-machine (1).
Variable
String
Name of the variable in which to place the result of the search.