Skip to main content
Version: v3

ComponentSearch Element

Description
Searches for file or directory and assigns to value of parent Property.
Windows Installer references
CompLocator Table, Signature Table
Parents
ComplianceCheck, Property
Inner Text
None
Children
Choice of elements (min: 0, max: 1)
Attributes
NameTypeDescriptionRequired
IdString Yes
GuidGuidThe component ID of the component whose key path is to be used for the search. 
TypeEnumerationMust be file if last child is FileSearch element and must be directory if last child is DirectorySearch element. This attribute's value must be one of the following:
directory
The key path of the component is a directory.
file
The key path of the component is a file. This is the default value.
 
See Also
Wix Schema, IniFileSearch, RegistrySearch