aboutsummaryrefslogtreecommitdiff
path: root/src/xsd/util/FileSearch.xsd
blob: 83d8a6b2ff9eb9594aa973047bc0a2ad45e7abc1 (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
58
59
60
61
<element name="FileSearch">
    <annotation>
      <documentation>Describes a file 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>File 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 file path into the variable, a FileSearch can save an attribute of the matching file instead.
          </documentation>
        </annotation>
        <simpleType>
          <restriction base="xs:NMTOKEN">
            <enumeration value="exists">
              <annotation>
                <documentation>Saves true if a matching file is found; false otherwise.</documentation>
              </annotation>
            </enumeration>
            <enumeration value="version">
              <annotation>
                <documentation>Saves the version information for files that have it (.exe, .dll); zero-version (0.0.0.0) 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>