Skip to main content
Version: v3

ComponentSearch Element (Util Extension)

Description
Describes a component search.
Windows Installer references
None
Parents
Bundle, Fragment
Inner Text
None
Children
None
Attributes
NameTypeDescriptionRequired
AfterStringId of the search that this one should come after. 
ConditionStringCondition for evaluating the search. If this evaluates to false, the search is not executed at all. 
GuidStringComponent to search for.Yes
IdStringId of the search for ordering and dependency. 
ProductCodeStringOptional ProductCode to determine if the component is installed. 
ResultEnumeration Rather than saving the matching key path into the variable, a ComponentSearch can save an attribute of the component instead. This attribute's value must be one of the following:
directory
Saves the parent directory for the component's file key path; other types of key path are returned unmodified.
state
Saves the state of the component: absent (2), locally installed (3), will run from source (4), or installed in default location (either local or from source) (5)
keyPath
Saves the key path of the component if installed. This is the default.
 
VariableStringName of the variable in which to place the result of the search.Yes
See Also
Util Schema