Skip to main content

ComponentSearch element

Searches for file or directory and assigns to value of parent Property.

Windows Installer references

CompLocator Table, Signature Table

Parents

ComplianceCheck, Property

Children

Attributes

Guid (Guid) : The component ID of the component whose key path is to be used for the search.

Id (String, required) :

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

IniFileSearch, RegistrySearch

Edit the schema for this page