WiX Database XML Schema

Element: DirectorySearch

Description

Searches for directory and assigns to value of parent Property.

Derived By

Restricting anyType

Attributes

Name  Type  Description 
Id  string  Unique identifier for the directory search.
Path  string  Path on the user's system. Either absolute, or relative to containing directories.
Depth  integer  Depth below the path that the installer searches for the file or directory specified by the search.
AssignToProperty  YesNoType  Set the result of this search to the value of the outer Property.

Content Model

Contains elements as defined in the following table.

Component  Type  Description 
DirectorySearch  anyType (restriction)  Searches for directory and assigns to value of parent Property.
DirectorySearchRef  anyType (restriction)  References an existing DirectorySearch element.
FileSearch  anyType (restriction)  Searches for file and assigns to fullpath value of parent Property
FileSearchRef  anyType (restriction)  References an existing FileSearch element.