ComponentSearch Element

WiX

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
Name Type Description Required
Id String   Yes
Guid Guid The component ID of the component whose key path is to be used for the search.  
Type Enumeration Must 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