FileSearch Element (Util Extension)

WiX Toolset

FileSearch Element (Util Extension)

Description
Describes a file search.
Windows Installer references
None
Parents
Bundle, Fragment
Inner Text
None
Children
None
Attributes
Name Type Description Required
After String Id of the search that this one should come after.  
Condition String Condition for evaluating the search. If this evaluates to false, the search is not executed at all.  
Id String Id of the search for ordering and dependency.  
Path String File path to search for.  
Result Enumeration Rather than saving the matching file path into the variable, a FileSearch can save an attribute of the matching file instead. This attribute's value must be one of the following:
exists
Saves true if a matching file is found; false otherwise.
version
Saves the version information for files that have it (.exe, .dll); zero-version (0.0.0.0) otherwise.
 
Variable String Name of the variable in which to place the result of the search. Yes
See Also
Util Schema