aboutsummaryrefslogtreecommitdiff
path: root/src/xsd/util/DirectorySearch.xsd
blob: 0e2d63e7591252a9c670f570b7ff2cd3fa30d820 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<element name="DirectorySearch">
    <annotation>
      <documentation>Describes a directory search.</documentation>
      <appinfo>
        <parent namespace="http://wixtoolset.org/schemas/v4/wxs" ref="Bundle" />
        <parent namespace="http://wixtoolset.org/schemas/v4/wxs" ref="Fragment" />
      </appinfo>
    </annotation>
    <complexType>
      <choice minOccurs="0" maxOccurs="unbounded">
        <any namespace="##other" processContents="lax">
          <annotation>
            <documentation>
              Extensibility point in the WiX XML Schema. Schema extensions can register additional
              elements at this point in the schema.
            </documentation>
          </annotation>
        </any>
      </choice>
      <attributeGroup ref="SearchCommonAttributes" />
      <attribute name="Path" type="xs:string">
        <annotation>
          <documentation>Directory path to search for.</documentation>
        </annotation>
      </attribute>
      <attribute name="DisableFileRedirection" type="wxs:YesNoTypeUnion">
        <annotation>
          <documentation>When set to "yes" and the running bundle is 32-bit, Wow64DisableWow64FsRedirection is called before starting the search.</documentation>
        </annotation>
      </attribute>
      <attribute name="Result">
        <annotation>
          <documentation>
            Rather than saving the matching directory path into the variable, a DirectorySearch can save an
            attribute of the matching directory instead.
          </documentation>
        </annotation>
        <simpleType>
          <restriction base="xs:NMTOKEN">
            <enumeration value="exists">
              <annotation>
                <documentation>Saves true if a matching directory is found; false otherwise.</documentation>
              </annotation>
            </enumeration>
          </restriction>
        </simpleType>
      </attribute>
      <anyAttribute namespace="##other" processContents="lax">
        <annotation>
          <documentation>
            Extensibility point in the WiX XML Schema. Schema extensions can register additional
            attributes at this point in the schema.
          </documentation>
        </annotation>
      </anyAttribute>
    </complexType>
  </element>