main
xsd 67 lines 3.04 KB
Raw
1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- 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. -->
3
4
5 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
6 targetNamespace="http://wixtoolset.org/schemas/v4/windowsinstallerdata"
7 xmlns="http://wixtoolset.org/schemas/v4/windowsinstallerdata"
8 xmlns:objs="http://wixtoolset.org/schemas/v4/wixobj"
9 xmlns:tbls="http://wixtoolset.org/schemas/v4/wi/tables">
10 <xs:annotation>
11 <xs:documentation>
12 Schema for describing WiX Windows Installer Data files.
13 </xs:documentation>
14 </xs:annotation>
15
16 <xs:import namespace="http://wixtoolset.org/schemas/v4/wixobj" schemaLocation="objects.xsd" />
17 <xs:import namespace="http://wixtoolset.org/schemas/v4/wi/tables" schemaLocation="tables.xsd" />
18
19 <xs:element name="windowsInstallerData">
20 <xs:complexType>
21 <xs:sequence>
22 <xs:element ref="tbls:tableDefinitions" />
23 <xs:element ref="objs:table" maxOccurs="unbounded" />
24 <xs:element ref="subStorage" minOccurs="0" maxOccurs="unbounded" />
25 </xs:sequence>
26 <xs:attribute name="codepage" type="xs:unsignedInt">
27 <xs:annotation>
28 <xs:documentation>Codepage of the output.</xs:documentation>
29 </xs:annotation>
30 </xs:attribute>
31 <xs:attribute name="type" use="required">
32 <xs:annotation>
33 <xs:documentation>Type of the output.</xs:documentation>
34 </xs:annotation>
35 <xs:simpleType>
36 <xs:restriction base="xs:NMTOKEN">
37 <xs:enumeration value="Bundle" />
38 <xs:enumeration value="Module" />
39 <xs:enumeration value="Patch" />
40 <xs:enumeration value="PatchCreation" />
41 <xs:enumeration value="Package" />
42 <xs:enumeration value="Product" />
43 <xs:enumeration value="Transform" />
44 </xs:restriction>
45 </xs:simpleType>
46 </xs:attribute>
47 <xs:attribute name="version" type="xs:string" use="required">
48 <xs:annotation>
49 <xs:documentation>Version of WiX used to create this output file.</xs:documentation>
50 </xs:annotation>
51 </xs:attribute>
52 </xs:complexType>
53 </xs:element>
54
55 <xs:element name="subStorage">
56 <xs:complexType>
57 <xs:sequence minOccurs="1" maxOccurs="1">
58 <xs:element ref="windowsInstallerData" />
59 </xs:sequence>
60 <xs:attribute name="name" type="xs:string">
61 <xs:annotation>
62 <xs:documentation>Name of the substorage.</xs:documentation>
63 </xs:annotation>
64 </xs:attribute>
65 </xs:complexType>
66 </xs:element>
67 </xs:schema>