Skip to content

ComponentSearch element

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

Attributes

Guid

Guid

The component ID of the component whose key path is to be used for the search.

Id

string required

Type

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.

Children

Parents

See also

IniFileSearch, RegistrySearch

Windows Installer references