aboutsummaryrefslogtreecommitdiff
path: root/src/xsd/http.xsd
diff options
context:
space:
mode:
authorRob Mensching <rob@firegiant.com>2025-02-14 12:53:59 -0800
committerRob Mensching <rob@firegiant.com>2025-02-14 12:53:59 -0800
commit43a35021f49d23c785865cb39d232e94b5aa5c4e (patch)
treea7e6118167ad4d9e92be914bc2865b769be4658c /src/xsd/http.xsd
parent1be4e0930eb296f44b8cecd10fc9632a867149ce (diff)
downloadwix-43a35021f49d23c785865cb39d232e94b5aa5c4e.tar.gz
wix-43a35021f49d23c785865cb39d232e94b5aa5c4e.tar.bz2
wix-43a35021f49d23c785865cb39d232e94b5aa5c4e.zip
Migrate XSDs from web project
This is the new home for the XSDs. Closer to the code to hopefully be kept better up to date as changes happen to the language.
Diffstat (limited to 'src/xsd/http.xsd')
-rw-r--r--src/xsd/http.xsd268
1 files changed, 268 insertions, 0 deletions
diff --git a/src/xsd/http.xsd b/src/xsd/http.xsd
new file mode 100644
index 00000000..63820522
--- /dev/null
+++ b/src/xsd/http.xsd
@@ -0,0 +1,268 @@
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 xmlns:xse="http://wixtoolset.org/schemas/XmlSchemaExtension"
7 xmlns:html="http://www.w3.org/1999/xhtml"
8 xmlns:wxs="http://wixtoolset.org/schemas/v4/wxs"
9 targetNamespace="http://wixtoolset.org/schemas/v4/wxs/http"
10 xmlns="http://wixtoolset.org/schemas/v4/wxs/http">
11 <xs:annotation>
12 <xs:documentation>
13 The source code schema for the Windows Installer XML Toolset Http Extension.
14 </xs:documentation>
15 </xs:annotation>
16
17 <xs:import namespace="http://wixtoolset.org/schemas/v4/wxs" />
18
19 <xs:element name="SniSslCertificate">
20 <xs:annotation>
21 <xs:documentation>
22 Associates an SNI SSL certificate with HTTP.SYS.
23 </xs:documentation>
24 <xs:appinfo>
25 <xse:parent namespace="http://wixtoolset.org/schemas/v4/wxs" ref="Component" />
26 </xs:appinfo>
27 </xs:annotation>
28 <xs:complexType>
29 <xs:choice minOccurs="0" maxOccurs="unbounded">
30 <xs:any namespace="##other" processContents="lax">
31 <xs:annotation>
32 <xs:documentation>
33 Extensibility point in the WiX XML Schema. Schema extensions can register additional
34 elements at this point in the schema.
35 </xs:documentation>
36 </xs:annotation>
37 </xs:any>
38 </xs:choice>
39 <xs:attribute name="Id" type="xs:string">
40 <xs:annotation>
41 <xs:documentation>
42 Unique ID of this SNI SSL.
43 If this attribute is not specified, an identifier will be generated automatically.
44 </xs:documentation>
45 </xs:annotation>
46 </xs:attribute>
47
48 <xs:attribute name="AppId" type="xs:string">
49 <xs:annotation>
50 <xs:documentation>A GUID used ot identify the SNI SSL binding.</xs:documentation>
51 </xs:annotation>
52 </xs:attribute>
53
54 <xs:attribute name="HandleExisting">
55 <xs:annotation>
56 <xs:documentation>
57 Rights for this ACE. Default is "all".
58 </xs:documentation>
59 </xs:annotation>
60 <xs:simpleType>
61 <xs:restriction base="xs:NMTOKEN">
62 <xs:enumeration value="replace" />
63 <xs:enumeration value="ignore" />
64 <xs:enumeration value="fail" />
65 </xs:restriction>
66 </xs:simpleType>
67 </xs:attribute>
68
69 <xs:attribute name="Host" type="xs:string" use="required">
70 <xs:annotation>
71 <xs:documentation>Host of the URL to bind with the SNI SSL certificate.</xs:documentation>
72 </xs:annotation>
73 </xs:attribute>
74
75 <xs:attribute name="Port" type="xs:string" use="required">
76 <xs:annotation>
77 <xs:documentation>Host of the URL to bind with the SNI SSL certificate.</xs:documentation>
78 </xs:annotation>
79 </xs:attribute>
80
81 <xs:attribute name="Store" type="xs:string">
82 <xs:annotation>
83 <xs:documentation>Certificate store containing the SNI SSL certificate.</xs:documentation>
84 </xs:annotation>
85 </xs:attribute>
86
87 <xs:attribute name="Thumbprint" type="xs:string" use="required">
88 <xs:annotation>
89 <xs:documentation>Thumbprint of the SNI SSL certificate.</xs:documentation>
90 </xs:annotation>
91 </xs:attribute>
92
93 <xs:anyAttribute namespace="##other" processContents="lax">
94 <xs:annotation>
95 <xs:documentation>
96 Extensibility point in the WiX XML Schema. Schema extensions can register additional
97 attributes at this point in the schema.
98 </xs:documentation>
99 </xs:annotation>
100 </xs:anyAttribute>
101 </xs:complexType>
102 </xs:element>
103
104 <xs:element name="UrlReservation">
105 <xs:annotation>
106 <xs:documentation>
107 Makes a reservation record for the HTTP Server API configuration store on Windows XP SP2,
108 Windows Server 2003, and later. For more information about the HTTP Server API, see
109 [HTTP Server API](https://learn.microsoft.com/en-us/windows/win32/http/http-api-start-page).
110 </xs:documentation>
111 <xs:appinfo>
112 <xse:parent namespace="http://wixtoolset.org/schemas/v4/wxs" ref="Component" />
113 <xse:parent namespace="http://wixtoolset.org/schemas/v4/wxs" ref="ServiceInstall" />
114 </xs:appinfo>
115 </xs:annotation>
116
117 <xs:complexType>
118 <xs:choice minOccurs="0" maxOccurs="unbounded">
119 <xs:annotation>
120 <xs:documentation>
121 The access control entries for the access control list.
122 </xs:documentation>
123 </xs:annotation>
124 <xs:element ref="UrlAce" />
125 <xs:any namespace="##other" processContents="lax">
126 <xs:annotation>
127 <xs:documentation>
128 Extensibility point in the WiX XML Schema. Schema extensions can register additional
129 elements at this point in the schema.
130 </xs:documentation>
131 </xs:annotation>
132 </xs:any>
133 </xs:choice>
134
135 <xs:attribute name="HandleExisting">
136 <xs:annotation>
137 <xs:documentation>
138 Specifies the behavior when trying to install a URL reservation and it already exists.
139 </xs:documentation>
140 </xs:annotation>
141 <xs:simpleType>
142 <xs:restriction base="xs:NMTOKEN">
143 <xs:enumeration value="replace">
144 <xs:annotation>
145 <xs:documentation>
146 Replaces the existing URL reservation (the default).
147 </xs:documentation>
148 </xs:annotation>
149 </xs:enumeration>
150 <xs:enumeration value="ignore">
151 <xs:annotation>
152 <xs:documentation>
153 Keeps the existing URL reservation.
154 </xs:documentation>
155 </xs:annotation>
156 </xs:enumeration>
157 <xs:enumeration value="fail">
158 <xs:annotation>
159 <xs:documentation>
160 The installation fails.
161 </xs:documentation>
162 </xs:annotation>
163 </xs:enumeration>
164 </xs:restriction>
165 </xs:simpleType>
166 </xs:attribute>
167
168 <xs:attribute name="Id" type="xs:string">
169 <xs:annotation>
170 <xs:documentation>
171 Unique ID of this URL reservation.
172 If this attribute is not specified, an identifier will be generated automatically.
173 </xs:documentation>
174 </xs:annotation>
175 </xs:attribute>
176
177 <xs:attribute name="Sddl" type="xs:string">
178 <xs:annotation>
179 <xs:documentation>
180 Security descriptor to apply to the URL reservation.
181 Can't be specified when using children UrlAce elements.
182 </xs:documentation>
183 </xs:annotation>
184 </xs:attribute>
185
186 <xs:attribute name="Url" type="xs:string" use="required">
187 <xs:annotation>
188 <xs:documentation>
189 The [UrlPrefix](https://learn.microsoft.com/en-us/windows/win32/http/urlprefix-strings)
190 string that defines the portion of the URL namespace to which this reservation pertains.
191 </xs:documentation>
192 </xs:annotation>
193 </xs:attribute>
194
195 <xs:anyAttribute namespace="##other" processContents="lax">
196 <xs:annotation>
197 <xs:documentation>
198 Extensibility point in the WiX XML Schema. Schema extensions can register additional
199 attributes at this point in the schema.
200 </xs:documentation>
201 </xs:annotation>
202 </xs:anyAttribute>
203 </xs:complexType>
204 </xs:element>
205
206 <xs:element name="UrlAce">
207 <xs:annotation>
208 <xs:documentation>
209 The security principal and which rights to assign to them for the URL reservation.
210 </xs:documentation>
211 </xs:annotation>
212 <xs:complexType>
213 <xs:choice minOccurs="0" maxOccurs="unbounded">
214 <xs:any namespace="##other" processContents="lax">
215 <xs:annotation>
216 <xs:documentation>
217 Extensibility point in the WiX XML Schema. Schema extensions can register additional
218 elements at this point in the schema.
219 </xs:documentation>
220 </xs:annotation>
221 </xs:any>
222 </xs:choice>
223 <xs:attribute name="Id" type="xs:string">
224 <xs:annotation>
225 <xs:documentation>
226 Unique ID of this URL ACE.
227 If this attribute is not specified, an identifier will be generated automatically.
228 </xs:documentation>
229 </xs:annotation>
230 </xs:attribute>
231
232 <xs:attribute name="SecurityPrincipal" type="xs:string">
233 <xs:annotation>
234 <xs:documentation>
235 The security principal for this ACE. When the UrlReservation is under a ServiceInstall element, this defaults to
236 "NT SERVICE\ServiceInstallName". This may be either a SID or an account name in a format that
237 [LookupAccountName](https://learn.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-lookupaccountnamea)
238 supports. When using a SID, an asterisk must be prepended. For example, "*S-1-5-18".
239 </xs:documentation>
240 </xs:annotation>
241 </xs:attribute>
242
243 <xs:attribute name="Rights">
244 <xs:annotation>
245 <xs:documentation>
246 Rights for this ACE. Default is "all".
247 </xs:documentation>
248 </xs:annotation>
249 <xs:simpleType>
250 <xs:restriction base="xs:NMTOKEN">
251 <xs:enumeration value="register" />
252 <xs:enumeration value="delegate" />
253 <xs:enumeration value="all" />
254 </xs:restriction>
255 </xs:simpleType>
256 </xs:attribute>
257
258 <xs:anyAttribute namespace="##other" processContents="lax">
259 <xs:annotation>
260 <xs:documentation>
261 Extensibility point in the WiX XML Schema. Schema extensions can register additional
262 attributes at this point in the schema.
263 </xs:documentation>
264 </xs:annotation>
265 </xs:anyAttribute>
266 </xs:complexType>
267 </xs:element>
268</xs:schema>