blob: 5d95a59cc5b4a82a1fdc9567977ad4a46e02f5cd (
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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
|
<?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"
targetNamespace="http://wixtoolset.org/schemas/v4/wixobj"
xmlns="http://wixtoolset.org/schemas/v4/wixobj">
<xs:annotation>
<xs:documentation>
Schema for describing WiX Object files (.wixobj).
</xs:documentation>
</xs:annotation>
<xs:element name="wixObject">
<xs:complexType>
<xs:sequence minOccurs="0" maxOccurs="unbounded">
<xs:element ref="section" />
</xs:sequence>
<xs:attribute name="id" type="xs:string" use="required" />
<xs:attribute name="version" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>Version of WiX used to create this object file.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="section">
<xs:complexType>
<xs:sequence>
<xs:element ref="table" minOccurs="0" maxOccurs="unbounded" />
</xs:sequence>
<xs:attribute name="id" type="xs:string">
<xs:annotation>
<xs:documentation>Identifier for section (optional for Fragments)</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="type" type="SectionType" use="required">
<xs:annotation>
<xs:documentation>Type of section</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="codepage" type="xs:integer" use="optional">
<xs:annotation>
<xs:documentation>Codepage for output file, only valid on entry sections.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="table">
<xs:complexType>
<xs:sequence minOccurs="0" maxOccurs="unbounded">
<xs:element ref="row" />
</xs:sequence>
<xs:attribute name="name" type="TableNameType" use="required">
<xs:annotation>
<xs:documentation>Name of table in Windows Installer database</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="op">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="add" />
<xs:enumeration value="drop" />
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="row">
<xs:annotation>
<xs:documentation>Row in a table</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence maxOccurs="unbounded">
<xs:element ref="field" />
</xs:sequence>
<xs:attribute name="access">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="public" />
<xs:enumeration value="internal" />
<xs:enumeration value="protected" />
<xs:enumeration value="private" />
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="op">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="add" />
<xs:enumeration value="delete" />
<xs:enumeration value="modify" />
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="redundant" type="YesNoType" />
<xs:attribute name="sectionId" type="xs:string" />
<xs:attribute name="sourceLineNumber" type="xs:string" />
</xs:complexType>
</xs:element>
<xs:element name="field">
<xs:annotation>
<xs:documentation>Data for a particular field in a row.</xs:documentation>
</xs:annotation>
<xs:complexType mixed="true">
<xs:attribute name="cabinetFileId" type="xs:string" />
<xs:attribute name="modified" type="YesNoType" />
<xs:attribute name="previousData" type="xs:string" />
<xs:attribute name="unresolvedData" type="xs:string" />
<xs:attribute name="unresolvedPreviousData" type="xs:string" />
<xs:attribute name="previousCabinetFileId" type="xs:string" />
</xs:complexType>
</xs:element>
<xs:simpleType name="SectionType">
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="bundle"/>
<xs:enumeration value="fragment" />
<xs:enumeration value="module" />
<xs:enumeration value="product" />
<xs:enumeration value="patchCreation" />
<xs:enumeration value="patch" />
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="TableNameType">
<xs:restriction base="xs:string">
<xs:minLength value="1" />
<xs:maxLength value="62" />
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="YesNoType">
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="yes" />
<xs:enumeration value="no" />
</xs:restriction>
</xs:simpleType>
</xs:schema>
|