aboutsummaryrefslogtreecommitdiff
path: root/src/xsd/ui.xsd
blob: cb5899ed9efc95d7254271615a05bca4f19ccd01 (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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. -->


<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
          xmlns:xse="http://wixtoolset.org/schemas/XmlSchemaExtension"
         xmlns:html="http://www.w3.org/1999/xhtml"
          xmlns:wxs="http://wixtoolset.org/schemas/v4/wxs"
    targetNamespace="http://wixtoolset.org/schemas/v4/wxs/ui"
              xmlns="http://wixtoolset.org/schemas/v4/wxs/ui">
  <xs:annotation>
    <xs:documentation>
      The source code schema for the WiX Toolset UI Extension.
    </xs:documentation>
  </xs:annotation>

  <xs:import namespace="http://wixtoolset.org/schemas/v4/wxs" />

  <xs:element name="WixUI">
    <xs:annotation>
      <xs:appinfo>
        <xse:parent namespace="http://wixtoolset.org/schemas/v4/wxs" ref="Fragment" />
        <xse:parent namespace="http://wixtoolset.org/schemas/v4/wxs" ref="Module" />
        <xse:parent namespace="http://wixtoolset.org/schemas/v4/wxs" ref="Package" />
        <xse:parent namespace="http://wixtoolset.org/schemas/v4/wxs" ref="PatchFamily" />
        <xse:parent namespace="http://wixtoolset.org/schemas/v4/wxs" ref="UI" />
      </xs:appinfo>
      <xs:documentation>
        References a WixUI dialog set, either one that's included in WixToolset.UI.wixext or a
        custom dialog set included in your authoring.
      </xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:any namespace="##other" processContents="lax">
          <xs:annotation>
            <xs:documentation>
              Extensibility point in the WiX XML Schema. Schema extensions can register additional
              elements at this point in the schema.
            </xs:documentation>
          </xs:annotation>
        </xs:any>
      </xs:choice>
      <xs:attribute name="Id" type="xs:string" use="required">
        <xs:annotation>
          <xs:documentation>
            Identifier for the dialog set to reference.
          </xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attribute name="InstallDirectory" type="xs:string">
        <xs:annotation>
          <xs:documentation>
            An optional identifier that specifies the directory to set WIXUI_INSTALLDIR to,
            for WixUI dialog sets that require it.
          </xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attribute name="ExtendedPathValidation" type="wxs:YesNoTypeUnion">
        <xs:annotation>
          <xs:documentation>
            Enable checks to test whether the package is being installed to a network share or removable
            disk. The default is no.
          </xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:anyAttribute namespace="##other" processContents="lax">
        <xs:annotation>
          <xs:documentation>
            Extensibility point in the WiX XML Schema. Schema extensions can register additional
            attributes at this point in the schema.
          </xs:documentation>
        </xs:annotation>
      </xs:anyAttribute>
    </xs:complexType>
  </xs:element>
</xs:schema>