FileSearch element (Util extension)
Describes a file search.
Attributes
After
stringId of the search that this one should come after.
Condition
stringCondition for evaluating the search. If this evaluates to false, the search is not executed at all.
DisableFileRedirection
wxs:YesNoTypeUnionWhen set to “yes” and the running bundle is 32-bit, Wow64DisableWow64FsRedirection is called before starting the search.
Id
stringId of the search for ordering and dependency.
Path
stringFile path to search for.
Result
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 requiredName of the variable in which to place the result of the search.