Skip to main content

DirectorySearch element (Util extension)

Describes a directory search.

Parents

Bundle, Fragment

Attributes

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.

DisableFileRedirection (wxs:YesNoTypeUnion) : When set to "yes" and the running bundle is 32-bit, Wow64DisableWow64FsRedirection is called before starting the search.

Id (String) : Id of the search for ordering and dependency.

Path (String) : Directory path to search for.

Result (enumeration) : Rather than saving the matching directory path into the variable, a DirectorySearch can save an attribute of the matching directory instead. This attribute's value must be one of the following:

  • exists: Saves true if a matching directory is found; false otherwise.

Variable (String, required) : Name of the variable in which to place the result of the search.

Edit the schema for this page