ComponentSearch Element

WiX Help

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 Uuid 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 should be one of the following:
directory
file
 
See Also
Wix Schema, IniFileSearch, RegistrySearch