aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBob Arnson <bob@firegiant.com>2020-09-06 21:20:40 -0400
committerBob Arnson <bob@firegiant.com>2020-09-06 21:22:23 -0400
commit0107b26c254dd40baf4817b7bbf7adc48dde4691 (patch)
treeca8106d9c36e30e1c76e02d791ad5a674c30e44c
parent8221d973ae2482bcb7eca84081be8a3ca48f2f5c (diff)
downloadwix-0107b26c254dd40baf4817b7bbf7adc48dde4691.tar.gz
wix-0107b26c254dd40baf4817b7bbf7adc48dde4691.tar.bz2
wix-0107b26c254dd40baf4817b7bbf7adc48dde4691.zip
Replace BinaryKey with BinaryRef and FileKey with FileRef.
-rw-r--r--src/wixext/IIsCompiler.cs20
-rw-r--r--src/wixext/WixToolset.Iis.wixext.csproj1
-rw-r--r--src/wixext/iis.xsd1104
3 files changed, 10 insertions, 1115 deletions
diff --git a/src/wixext/IIsCompiler.cs b/src/wixext/IIsCompiler.cs
index a221e78a..c7957f9d 100644
--- a/src/wixext/IIsCompiler.cs
+++ b/src/wixext/IIsCompiler.cs
@@ -141,7 +141,7 @@ namespace WixToolset.Iis
141 var sourceLineNumbers = this.ParseHelper.GetSourceLineNumbers(element); 141 var sourceLineNumbers = this.ParseHelper.GetSourceLineNumbers(element);
142 Identifier id = null; 142 Identifier id = null;
143 int attributes = 0; 143 int attributes = 0;
144 string binaryKey = null; 144 string binaryRef = null;
145 string certificatePath = null; 145 string certificatePath = null;
146 string name = null; 146 string name = null;
147 string pfxPassword = null; 147 string pfxPassword = null;
@@ -157,10 +157,10 @@ namespace WixToolset.Iis
157 case "Id": 157 case "Id":
158 id = this.ParseHelper.GetAttributeIdentifier(sourceLineNumbers, attrib); 158 id = this.ParseHelper.GetAttributeIdentifier(sourceLineNumbers, attrib);
159 break; 159 break;
160 case "BinaryKey": 160 case "BinaryRef":
161 attributes |= 2; // SCA_CERT_ATTRIBUTE_BINARYDATA 161 attributes |= 2; // SCA_CERT_ATTRIBUTE_BINARYDATA
162 binaryKey = this.ParseHelper.GetAttributeIdentifierValue(sourceLineNumbers, attrib); 162 binaryRef = this.ParseHelper.GetAttributeIdentifierValue(sourceLineNumbers, attrib);
163 this.ParseHelper.CreateSimpleReference(section, sourceLineNumbers, SymbolDefinitions.Binary, binaryKey); 163 this.ParseHelper.CreateSimpleReference(section, sourceLineNumbers, SymbolDefinitions.Binary, binaryRef);
164 break; 164 break;
165 case "CertificatePath": 165 case "CertificatePath":
166 certificatePath = this.ParseHelper.GetAttributeValue(sourceLineNumbers, attrib); 166 certificatePath = this.ParseHelper.GetAttributeValue(sourceLineNumbers, attrib);
@@ -258,7 +258,7 @@ namespace WixToolset.Iis
258 258
259 if (null == id) 259 if (null == id)
260 { 260 {
261 id = this.ParseHelper.CreateIdentifier("crt", componentId, binaryKey, certificatePath); 261 id = this.ParseHelper.CreateIdentifier("crt", componentId, binaryRef, certificatePath);
262 } 262 }
263 263
264 if (null == name) 264 if (null == name)
@@ -276,13 +276,13 @@ namespace WixToolset.Iis
276 this.Messaging.Write(ErrorMessages.ExpectedAttribute(sourceLineNumbers, element.Name.LocalName, "StoreName")); 276 this.Messaging.Write(ErrorMessages.ExpectedAttribute(sourceLineNumbers, element.Name.LocalName, "StoreName"));
277 } 277 }
278 278
279 if (null != binaryKey && null != certificatePath) 279 if (null != binaryRef && null != certificatePath)
280 { 280 {
281 this.Messaging.Write(ErrorMessages.IllegalAttributeWithOtherAttribute(sourceLineNumbers, element.Name.LocalName, "BinaryKey", "CertificatePath", certificatePath)); 281 this.Messaging.Write(ErrorMessages.IllegalAttributeWithOtherAttribute(sourceLineNumbers, element.Name.LocalName, "BinaryRef", "CertificatePath", certificatePath));
282 } 282 }
283 else if (null == binaryKey && null == certificatePath) 283 else if (null == binaryRef && null == certificatePath)
284 { 284 {
285 this.Messaging.Write(ErrorMessages.ExpectedAttributes(sourceLineNumbers, element.Name.LocalName, "BinaryKey", "CertificatePath")); 285 this.Messaging.Write(ErrorMessages.ExpectedAttributes(sourceLineNumbers, element.Name.LocalName, "BinaryRef", "CertificatePath"));
286 } 286 }
287 287
288 this.ParseHelper.ParseForExtensionElements(this.Context.Extensions, intermediate, section, element); 288 this.ParseHelper.ParseForExtensionElements(this.Context.Extensions, intermediate, section, element);
@@ -301,7 +301,7 @@ namespace WixToolset.Iis
301 StoreLocation = storeLocation, 301 StoreLocation = storeLocation,
302 StoreName = storeName, 302 StoreName = storeName,
303 Attributes = attributes, 303 Attributes = attributes,
304 BinaryRef = binaryKey, 304 BinaryRef = binaryRef,
305 CertificatePath = certificatePath, 305 CertificatePath = certificatePath,
306 PFXPassword = pfxPassword, 306 PFXPassword = pfxPassword,
307 }); 307 });
diff --git a/src/wixext/WixToolset.Iis.wixext.csproj b/src/wixext/WixToolset.Iis.wixext.csproj
index 54ada521..81d41e77 100644
--- a/src/wixext/WixToolset.Iis.wixext.csproj
+++ b/src/wixext/WixToolset.Iis.wixext.csproj
@@ -13,7 +13,6 @@
13 13
14 <ItemGroup> 14 <ItemGroup>
15 <Content Include="$(MSBuildThisFileName).targets" /> 15 <Content Include="$(MSBuildThisFileName).targets" />
16 <Content Include="iis.xsd" PackagePath="tools" />
17 <EmbeddedResource Include="$(OutputPath)..\iis.wixlib" /> 16 <EmbeddedResource Include="$(OutputPath)..\iis.wixlib" />
18 </ItemGroup> 17 </ItemGroup>
19 18
diff --git a/src/wixext/iis.xsd b/src/wixext/iis.xsd
deleted file mode 100644
index 1c4bdafa..00000000
--- a/src/wixext/iis.xsd
+++ /dev/null
@@ -1,1104 +0,0 @@
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:html="http://www.w3.org/1999/xhtml"
6 xmlns:wix="http://wixtoolset.org/schemas/v4/wxs"
7 xmlns:xs="http://www.w3.org/2001/XMLSchema"
8 xmlns:xse=" http://wixtoolset.org/schemas/XmlSchemaExtension"
9 targetNamespace="http://wixtoolset.org/schemas/v4/wxs/iis"
10 xmlns="http://wixtoolset.org/schemas/v4/wxs/iis">
11 <xs:annotation>
12 <xs:documentation>
13 The source code schema for the WiX Toolset Internet Information Services Extension.
14 </xs:documentation>
15 </xs:annotation>
16
17 <xs:import namespace="http://wixtoolset.org/schemas/v4/wxs" />
18
19 <xs:element name="WebDirProperties">
20 <xs:annotation>
21 <xs:appinfo>
22 <xse:parent namespace="http://wixtoolset.org/schemas/v4/wxs" ref="Fragment" />
23 <xse:parent namespace="http://wixtoolset.org/schemas/v4/wxs" ref="Module" />
24 <xse:parent namespace="http://wixtoolset.org/schemas/v4/wxs" ref="Product" />
25 </xs:appinfo>
26 <xs:documentation>
27 WebDirProperties used by one or more WebSites. Lists properties common to IIS web sites and vroots. Corresponding properties can be viewed through the IIS Manager snap-in. One property entry can be reused by multiple sites or vroots using the Id field as a reference, using WebVirtualDir.DirProperties, WebSite.DirProperties, or WebDir.DirProperties.
28 </xs:documentation>
29 </xs:annotation>
30 <xs:complexType>
31 <xs:attribute name="Id" type="xs:string" use="required"/>
32 <xs:attribute name="Read" type="YesNoType"/>
33 <xs:attribute name="Write" type="YesNoType"/>
34 <xs:attribute name="Script" type="YesNoType"/>
35 <xs:attribute name="Execute" type="YesNoType"/>
36 <xs:attribute name="AnonymousAccess" type="YesNoType">
37 <xs:annotation>
38 <xs:documentation>Sets the Enable Anonymous Access checkbox, which maps anonymous users to a Windows user account. When setting this to 'yes' you should also provide the user account using the AnonymousUser attribute, and determine what setting to use for the IIsControlledPassword attribute. Defaults to 'no.'</xs:documentation>
39 </xs:annotation>
40 </xs:attribute>
41 <xs:attribute name="AnonymousUser" type="xs:string">
42 <xs:annotation>
43 <xs:documentation>Reference to the Id attribute on the User element to be used as the anonymous user for the directory. See the User element for more information.</xs:documentation>
44 </xs:annotation>
45 </xs:attribute>
46 <xs:attribute name="IIsControlledPassword" type="YesNoType">
47 <xs:annotation>
48 <xs:documentation>Sets whether IIS should control the password used for the Windows account specified in the AnonymousUser attribute. Defaults to 'no.'</xs:documentation>
49 </xs:annotation>
50 </xs:attribute>
51 <xs:attribute name="WindowsAuthentication" type="YesNoType">
52 <xs:annotation>
53 <xs:documentation>Sets the Windows Authentication option, which enables integrated Windows authentication to be used on the site. Defaults to 'no.'</xs:documentation>
54 </xs:annotation>
55 </xs:attribute>
56 <xs:attribute name="DigestAuthentication" type="YesNoType">
57 <xs:annotation>
58 <xs:documentation>Sets the Digest Authentication option, which allows using digest authentication with domain user accounts. Defaults to 'no.'</xs:documentation>
59 </xs:annotation>
60 </xs:attribute>
61 <xs:attribute name="BasicAuthentication" type="YesNoType">
62 <xs:annotation>
63 <xs:documentation>Sets the Basic Authentication option, which allows clients to provide credentials in plaintext over the wire. Defaults to 'no.'</xs:documentation>
64 </xs:annotation>
65 </xs:attribute>
66 <xs:attribute name="PassportAuthentication" type="YesNoType">
67 <xs:annotation>
68 <xs:documentation>Sets the Passport Authentication option, which allows clients to provide credentials via a .Net Passport account. Defaults to 'no.'</xs:documentation>
69 </xs:annotation>
70 </xs:attribute>
71 <xs:attribute name="LogVisits" type="YesNoType">
72 <xs:annotation>
73 <xs:documentation>Sets whether visits to this site should be logged. Defaults to 'no.'</xs:documentation>
74 </xs:annotation>
75 </xs:attribute>
76 <xs:attribute name="Index" type="YesNoType">
77 <xs:annotation>
78 <xs:documentation>Sets the Index Resource option, which specifies whether this web directory should be indexed. Defaults to 'no.'</xs:documentation>
79 </xs:annotation>
80 </xs:attribute>
81 <xs:attribute name="DefaultDocuments" type="xs:string">
82 <xs:annotation>
83 <xs:documentation>The list of default documents to set for this web directory, in comma-delimited format.</xs:documentation>
84 </xs:annotation>
85 </xs:attribute>
86 <xs:attribute name="AspDetailedError" type="YesNoType">
87 <xs:annotation>
88 <xs:documentation>Sets the option for whether to send detailed ASP errors back to the client on script error. Default is 'no.'</xs:documentation>
89 </xs:annotation>
90 </xs:attribute>
91 <xs:attribute name="HttpExpires" type="xs:string">
92 <xs:annotation>
93 <xs:documentation>Value to set the HttpExpires attribute to for a Web Dir in the metabase.</xs:documentation>
94 </xs:annotation>
95 </xs:attribute>
96 <xs:attribute name="CacheControlMaxAge" type="xs:nonNegativeInteger">
97 <xs:annotation>
98 <xs:documentation>Integer value specifying the cache control maximum age value.</xs:documentation>
99 </xs:annotation>
100 </xs:attribute>
101 <xs:attribute name="CacheControlCustom" type="xs:string">
102 <xs:annotation>
103 <xs:documentation>Custom HTTP 1.1 cache control directives.</xs:documentation>
104 </xs:annotation>
105 </xs:attribute>
106 <xs:attribute name="ClearCustomError" type="YesNoType">
107 <xs:annotation>
108 <xs:documentation>Specifies whether IIs will return custom errors for this directory.</xs:documentation>
109 </xs:annotation>
110 </xs:attribute>
111 <xs:attribute name="AccessSSL" type="YesNoType">
112 <xs:annotation>
113 <xs:documentation>A value of true indicates that file access requires SSL file permission processing, with or without a client certificate. This corresponds to AccessSSL flag for AccessSSLFlags IIS metabase property.</xs:documentation>
114 </xs:annotation>
115 </xs:attribute>
116 <xs:attribute name="AccessSSL128" type="YesNoType">
117 <xs:annotation>
118 <xs:documentation>A value of true indicates that file access requires SSL file permission processing with a minimum key size of 128 bits, with or without a client certificate. This corresponds to AccessSSL128 flag for AccessSSLFlags IIS metabase property.</xs:documentation>
119 </xs:annotation>
120 </xs:attribute>
121 <xs:attribute name="AccessSSLMapCert" type="YesNoType">
122 <xs:annotation>
123 <xs:documentation>This corresponds to AccessSSLMapCert flag for AccessSSLFlags IIS metabase property.</xs:documentation>
124 </xs:annotation>
125 </xs:attribute>
126 <xs:attribute name="AccessSSLNegotiateCert" type="YesNoType">
127 <xs:annotation>
128 <xs:documentation>This corresponds to AccessSSLNegotiateCert flag for AccessSSLFlags IIS metabase property.</xs:documentation>
129 </xs:annotation>
130 </xs:attribute>
131 <xs:attribute name="AccessSSLRequireCert" type="YesNoType">
132 <xs:annotation>
133 <xs:documentation>This corresponds to AccessSSLRequireCert flag for AccessSSLFlags IIS metabase property.</xs:documentation>
134 </xs:annotation>
135 </xs:attribute>
136 <xs:attribute name="AuthenticationProviders" type="xs:string">
137 <xs:annotation>
138 <xs:documentation>Comma delimited list, in order of precedence, of Windows authentication providers that IIS will attempt to use: NTLM, Kerberos, Negotiate, and others.</xs:documentation>
139 </xs:annotation>
140 </xs:attribute>
141 </xs:complexType>
142 </xs:element>
143
144 <xs:element name="WebError">
145 <xs:annotation>
146 <xs:documentation>Custom Web Errors used by WebSites and Virtual Directories.</xs:documentation>
147 <xs:appinfo>
148 <xse:remarks>
149 You can only use error code and sub code combinations which are supported by IIS. Attempting to set a custom error for
150 an error code and sub code combination that is not supported by IIS (in the default list of error codes) will result in
151 an installation failure.
152 </xse:remarks>
153 </xs:appinfo>
154 </xs:annotation>
155 <xs:complexType>
156 <xs:attribute name="ErrorCode" use="required" type="xs:integer">
157 <xs:annotation>
158 <xs:documentation>HTTP 1.1 error code.</xs:documentation>
159 </xs:annotation>
160 </xs:attribute>
161 <xs:attribute name="SubCode" use="required" type="xs:integer">
162 <xs:annotation>
163 <xs:documentation>Error sub code. Set to 0 to get the wild card "*".</xs:documentation>
164 </xs:annotation>
165 </xs:attribute>
166 <xs:attribute name="File" type="xs:string">
167 <xs:annotation>
168 <xs:documentation>File to be sent to the client for this error code and sub code. This can be formatted. For example: [#FileId].</xs:documentation>
169 </xs:annotation>
170 </xs:attribute>
171 <xs:attribute name="URL" type="xs:string">
172 <xs:annotation>
173 <xs:documentation>URL to be sent to the client for this error code and sub code. This can be formatted.</xs:documentation>
174 </xs:annotation>
175 </xs:attribute>
176 </xs:complexType>
177 </xs:element>
178
179 <xs:element name="HttpHeader">
180 <xs:annotation>
181 <xs:documentation>Custom HTTP Header definition for IIS resources such as WebSite and WebVirtualDir.</xs:documentation>
182 </xs:annotation>
183 <xs:complexType>
184 <xs:attribute name="Id" type="xs:string">
185 <xs:annotation>
186 <xs:documentation>Primary key for custom HTTP Header entry. This will default to the Name attribute.</xs:documentation>
187 </xs:annotation>
188 </xs:attribute>
189 <xs:attribute name="Name" use="required" type="xs:string">
190 <xs:annotation>
191 <xs:documentation>Name of the custom HTTP Header.</xs:documentation>
192 </xs:annotation>
193 </xs:attribute>
194 <xs:attribute name="Value" type="xs:string">
195 <xs:annotation>
196 <xs:documentation>Value for the custom HTTP Header. This attribute can contain a formatted string that is processed at install time to insert the values of properties using [PropertyName] syntax. Also supported are environment variables, file installation paths, and component installation directories; see <a href="http://msdn.microsoft.com/library/aa368609.aspx" target="_blank">Formatted</a> for details.</xs:documentation>
197 </xs:annotation>
198 </xs:attribute>
199 </xs:complexType>
200 </xs:element>
201
202 <xs:element name="MimeMap">
203 <xs:annotation>
204 <xs:documentation>MimeMap definition for IIS resources.</xs:documentation>
205 </xs:annotation>
206 <xs:complexType>
207 <xs:attribute name="Id" use="required" type="xs:string">
208 <xs:annotation>
209 <xs:documentation>Id for the MimeMap.</xs:documentation>
210 </xs:annotation>
211 </xs:attribute>
212 <xs:attribute name="Type" use="required" type="xs:string">
213 <xs:annotation>
214 <xs:documentation>Mime-type covered by the MimeMap.</xs:documentation>
215 </xs:annotation>
216 </xs:attribute>
217 <xs:attribute name="Extension" use="required" type="xs:string">
218 <xs:annotation>
219 <xs:documentation>Extension covered by the MimeMap. Must begin with a dot.</xs:documentation>
220 </xs:annotation>
221 </xs:attribute>
222 </xs:complexType>
223 </xs:element>
224
225 <xs:element name="WebFilter">
226 <xs:annotation>
227 <xs:appinfo>
228 <xse:parent namespace="http://wixtoolset.org/schemas/v4/wxs" ref="Component" />
229 </xs:appinfo>
230 <xs:documentation>IIs Filter for a Component</xs:documentation>
231 </xs:annotation>
232 <xs:complexType>
233 <xs:attribute name="Id" use="required" type="xs:string">
234 <xs:annotation>
235 <xs:documentation>The unique Id for the web filter.</xs:documentation>
236 </xs:annotation>
237 </xs:attribute>
238 <xs:attribute name="Name" use="required" type="xs:string">
239 <xs:annotation>
240 <xs:documentation>The name of the filter to be used in IIS.</xs:documentation>
241 </xs:annotation>
242 </xs:attribute>
243 <xs:attribute name="Path" use="required" type="xs:string">
244 <xs:annotation>
245 <xs:documentation>
246 The path of the filter executable file.
247 This should usually be a value like '[!FileId]', where 'FileId' is the file identifier
248 of the filter executable file.
249 </xs:documentation>
250 </xs:annotation>
251 </xs:attribute>
252 <xs:attribute name="WebSite" type="xs:string">
253 <xs:annotation>
254 <xs:documentation>
255 Specifies the parent website for this filter (if there is one).
256 If this is a global filter, then this attribute should not be specified.
257 </xs:documentation>
258 </xs:annotation>
259 </xs:attribute>
260 <xs:attribute name="Description" type="xs:string">
261 <xs:annotation>
262 <xs:documentation>Description of the filter.</xs:documentation>
263 </xs:annotation>
264 </xs:attribute>
265 <xs:attribute name="Flags" type="xs:integer">
266 <xs:annotation>
267 <xs:documentation>Sets the MD_FILTER_FLAGS metabase key for the filter. This must be an integer. See MSDN 'FilterFlags' documentation for more details.</xs:documentation>
268 </xs:annotation>
269 </xs:attribute>
270 <xs:attribute name="LoadOrder" type="xs:string">
271 <xs:annotation>
272 <xs:documentation>
273 The legal values are "first", "last", or a number.
274 If a number is specified, it must be greater than 0.
275 </xs:documentation>
276 </xs:annotation>
277 </xs:attribute>
278 </xs:complexType>
279 </xs:element>
280
281 <xs:element name="WebApplicationExtension">
282 <xs:annotation>
283 <xs:documentation>Extension for WebApplication</xs:documentation>
284 </xs:annotation>
285 <xs:complexType>
286 <xs:attribute name="Executable" use="required" type="xs:string">
287 <xs:annotation>
288 <xs:documentation>usually a Property that resolves to short file name path</xs:documentation>
289 </xs:annotation>
290 </xs:attribute>
291 <xs:attribute name="Extension" type="xs:string">
292 <xs:annotation>
293 <xs:documentation>Extension being registered. Do not prefix with a '.' (e.g. you should use "html", not ".html"). To register for all extensions, use Extension="*". To register a wildcard application map (which handles all requests, even those for directories or files with no extension) omit the Extension attribute completely.</xs:documentation>
294 </xs:annotation>
295 </xs:attribute>
296 <xs:attribute name="Verbs" type="xs:string">
297 </xs:attribute>
298 <xs:attribute name="Script" type="YesNoType">
299 </xs:attribute>
300 <xs:attribute name="CheckPath" type="YesNoType">
301 </xs:attribute>
302 </xs:complexType>
303 </xs:element>
304
305 <xs:element name="WebAppPool">
306 <xs:annotation>
307 <xs:appinfo>
308 <xse:parent namespace="http://wixtoolset.org/schemas/v4/wxs" ref="Component" />
309 <xse:parent namespace="http://wixtoolset.org/schemas/v4/wxs" ref="Fragment" />
310 <xse:parent namespace="http://wixtoolset.org/schemas/v4/wxs" ref="Module" />
311 <xse:parent namespace="http://wixtoolset.org/schemas/v4/wxs" ref="Product" />
312 </xs:appinfo>
313 <xs:documentation>IIS6 Application Pool</xs:documentation>
314 </xs:annotation>
315 <xs:complexType>
316 <xs:sequence>
317 <xs:element ref="RecycleTime" minOccurs="0" maxOccurs="unbounded"/>
318 </xs:sequence>
319 <xs:attribute name="Id" use="required" type="xs:string">
320 <xs:annotation>
321 <xs:documentation>Id of the AppPool.</xs:documentation>
322 </xs:annotation>
323 </xs:attribute>
324 <xs:attribute name="Name" use="required" type="xs:string">
325 <xs:annotation>
326 <xs:documentation>Name of the AppPool to be shown in IIs.</xs:documentation>
327 </xs:annotation>
328 </xs:attribute>
329 <xs:attribute name="User" type="xs:string">
330 <xs:annotation>
331 <xs:documentation>User account to run the AppPool as. To use this, you must set the Identity attribute to 'other'.</xs:documentation>
332 </xs:annotation>
333 </xs:attribute>
334 <xs:attribute name="RecycleMinutes" type="xs:integer">
335 <xs:annotation>
336 <xs:documentation>How often, in minutes, you want the AppPool to be recycled.</xs:documentation>
337 </xs:annotation>
338 </xs:attribute>
339 <xs:attribute name="RecycleRequests" type="xs:integer">
340 <xs:annotation>
341 <xs:documentation>How often, in requests, you want the AppPool to be recycled.</xs:documentation>
342 </xs:annotation>
343 </xs:attribute>
344 <xs:attribute name="VirtualMemory" type="xs:integer">
345 <xs:annotation>
346 <xs:documentation>Specifies the amount of virtual memory (in KB) that a worker process can use before the worker process recycles. The maximum value supported for this attribute is 4,294,967 KB.</xs:documentation>
347 </xs:annotation>
348 </xs:attribute>
349 <xs:attribute name="PrivateMemory" type="xs:integer">
350 <xs:annotation>
351 <xs:documentation>Specifies the amount of private memory (in KB) that a worker process can use before the worker process recycles. The maximum value supported for this attribute is 4,294,967 KB.</xs:documentation>
352 </xs:annotation>
353 </xs:attribute>
354 <xs:attribute name="IdleTimeout" type="xs:integer">
355 <xs:annotation>
356 <xs:documentation>Shutdown worker process after being idle for (time in minutes).</xs:documentation>
357 </xs:annotation>
358 </xs:attribute>
359 <xs:attribute name="QueueLimit" type="xs:integer">
360 <xs:annotation>
361 <xs:documentation>Limit the kernel request queue (number of requests).</xs:documentation>
362 </xs:annotation>
363 </xs:attribute>
364 <xs:attribute name="MaxCpuUsage" type="PercentType">
365 <xs:annotation>
366 <xs:documentation>Maximum CPU usage (percent).</xs:documentation>
367 </xs:annotation>
368 </xs:attribute>
369 <xs:attribute name="RefreshCpu" type="xs:integer">
370 <xs:annotation>
371 <xs:documentation>Refresh CPU usage numbers (in minutes).</xs:documentation>
372 </xs:annotation>
373 </xs:attribute>
374 <xs:attribute name="CpuAction">
375 <xs:annotation>
376 <xs:documentation>Action taken when CPU exceeds maximum CPU use (as defined with MaxCpuUsage and RefreshCpu).</xs:documentation>
377 </xs:annotation>
378 <xs:simpleType>
379 <xs:restriction base="xs:string">
380 <xs:enumeration value="none"/>
381 <xs:enumeration value="shutdown"/>
382 </xs:restriction>
383 </xs:simpleType>
384 </xs:attribute>
385 <xs:attribute name="MaxWorkerProcesses" type="xs:integer">
386 <xs:annotation>
387 <xs:documentation>Maximum number of worker processes.</xs:documentation>
388 </xs:annotation>
389 </xs:attribute>
390 <xs:attribute name="Identity">
391 <xs:annotation>
392 <xs:documentation>Identity you want the AppPool to run under (applicationPoolIdentity is only available on IIS7). Use the 'other' value in conjunction with the User attribute to specify non-standard user.</xs:documentation>
393 </xs:annotation>
394 <xs:simpleType>
395 <xs:restriction base="xs:string">
396 <xs:enumeration value="networkService"/>
397 <xs:enumeration value="localService"/>
398 <xs:enumeration value="localSystem"/>
399 <xs:enumeration value="other"/>
400 <xs:enumeration value="applicationPoolIdentity"/>
401 </xs:restriction>
402 </xs:simpleType>
403 </xs:attribute>
404 <xs:attribute name="ManagedPipelineMode" type="xs:string">
405 <xs:annotation>
406 <xs:documentation>
407 Specifies the request-processing mode that is used to process requests for managed content. Only available on IIS7, ignored on IIS6.
408 See <a href="http://www.iis.net/configreference/system.applicationhost/applicationpools/applicationpooldefaults" target="_blank">http://www.iis.net/ConfigReference/system.applicationHost/applicationPools/applicationPoolDefaults</a> for valid values.
409 This attribute may be set via a formatted Property (e.g. [MyProperty]).
410 </xs:documentation>
411 </xs:annotation>
412 </xs:attribute>
413 <xs:attribute name="ManagedRuntimeVersion" type="xs:string">
414 <xs:annotation>
415 <xs:documentation>
416 Specifies the .NET Framework version to be used by the application pool. Only available on IIS7, ignored on IIS6.
417 See <a href="http://www.iis.net/configreference/system.applicationhost/applicationpools/applicationpooldefaults" target="_blank">http://www.iis.net/ConfigReference/system.applicationHost/applicationPools/applicationPoolDefaults</a> for valid values.
418 This attribute may be set via a formatted Property (e.g. [MyProperty]).
419 </xs:documentation>
420 </xs:annotation>
421 </xs:attribute>
422 </xs:complexType>
423 </xs:element>
424
425 <xs:element name="RecycleTime">
426 <xs:annotation>
427 <xs:documentation>IIS6 Application Pool Recycle Times on 24 hour clock.</xs:documentation>
428 </xs:annotation>
429 <xs:complexType>
430 <xs:attribute name="Value" use="required">
431 <xs:simpleType>
432 <xs:restriction base="xs:string">
433 <xs:pattern value="\d{1,2}:\d{2}"/>
434 </xs:restriction>
435 </xs:simpleType>
436 </xs:attribute>
437 </xs:complexType>
438 </xs:element>
439
440 <xs:element name="Certificate">
441 <xs:annotation>
442 <xs:documentation>
443 Used to install and uninstall certificates.
444 </xs:documentation>
445 <xs:appinfo>
446 <xse:parent namespace="http://wixtoolset.org/schemas/v4/wxs" ref="Component" />
447 <xse:seeAlso ref="CertificateRef"/>
448 </xs:appinfo>
449 </xs:annotation>
450 <xs:complexType>
451 <xs:attribute name="Id" use="required" type="xs:string">
452 <xs:annotation>
453 <xs:documentation>
454 Unique identifier for this certificate in the installation package.
455 </xs:documentation>
456 </xs:annotation>
457 </xs:attribute>
458 <xs:attribute name="Name" use="required" type="xs:string">
459 <xs:annotation>
460 <xs:documentation>
461 Name of the certificate that will be installed or uninstalled in the specified store.
462 This attribute may be set via a formatted Property (e.g. [MyProperty]).
463 </xs:documentation>
464 </xs:annotation>
465 </xs:attribute>
466 <xs:attribute name="StoreName" use="required">
467 <xs:simpleType>
468 <xs:restriction base="xs:string">
469 <xs:enumeration value="ca">
470 <xs:annotation>
471 <xs:documentation>
472 Contains the certificates of certificate authorities that the user trusts to issue certificates to others. Certificates in these stores are normally supplied with the operating system or by the user's network administrator.
473 </xs:documentation>
474 </xs:annotation>
475 </xs:enumeration>
476 <xs:enumeration value="my">
477 <xs:annotation>
478 <xs:documentation>
479 Use the "personal" value instead.
480 </xs:documentation>
481 </xs:annotation>
482 </xs:enumeration>
483 <xs:enumeration value="personal">
484 <xs:annotation>
485 <xs:documentation>
486 Contains personal certificates. These certificates will usually have an associated private key. This store is often
487 referred to as the "MY" certificate store.
488 </xs:documentation>
489 </xs:annotation>
490 </xs:enumeration>
491 <xs:enumeration value="request"/>
492 <xs:enumeration value="root">
493 <xs:annotation>
494 <xs:documentation>
495 Contains the certificates of certificate authorities that the user trusts to issue certificates to others. Certificates in these stores are normally supplied with the operating system or by the user's network administrator. Certificates in this store are typically self-signed.
496 </xs:documentation>
497 </xs:annotation>
498 </xs:enumeration>
499 <xs:enumeration value="otherPeople">
500 <xs:annotation>
501 <xs:documentation>
502 Contains the certificates of those that the user normally sends enveloped messages to or receives signed messages from.
503 See <a href="http://msdn.microsoft.com/library/aa388160.aspx" target="_blank">MSDN documentation</a> for more information.
504 </xs:documentation>
505 </xs:annotation>
506 </xs:enumeration>
507 <xs:enumeration value="trustedPeople">
508 <xs:annotation>
509 <xs:documentation>
510 Contains the certificates of those directly trusted people and resources.
511 See <a href="http://msdn.microsoft.com/en-us/library/system.security.cryptography.x509certificates.storename.aspx" target="_blank">MSDN documentation</a> for more information.
512 </xs:documentation>
513 </xs:annotation>
514 </xs:enumeration>
515 <xs:enumeration value="trustedPublisher">
516 <xs:annotation>
517 <xs:documentation>
518 Contains the certificates of those publishers who are trusted.
519 See <a href="http://msdn.microsoft.com/en-us/library/system.security.cryptography.x509certificates.storename.aspx" target="_blank">MSDN documentation</a> for more information.
520 </xs:documentation>
521 </xs:annotation>
522 </xs:enumeration>
523 </xs:restriction>
524 </xs:simpleType>
525 </xs:attribute>
526 <xs:attribute name="StoreLocation" use="required">
527 <xs:simpleType>
528 <xs:restriction base="xs:string">
529 <xs:enumeration value="currentUser"/>
530 <xs:enumeration value="localMachine"/>
531 </xs:restriction>
532 </xs:simpleType>
533 </xs:attribute>
534 <xs:attribute name="Overwrite" type="YesNoType"/>
535 <xs:attribute name="Request" type="YesNoType">
536 <xs:annotation>
537 <xs:documentation>
538 This attribute controls whether the CertificatePath attribute is a path to a certificate file (Request=&apos;no&apos;) or the
539 certificate authority to request the certificate from (Request=&apos;yes&apos;).
540 </xs:documentation>
541 </xs:annotation>
542 </xs:attribute>
543 <xs:attribute name="BinaryKey" type="xs:string">
544 <xs:annotation>
545 <xs:documentation>
546 Reference to a Binary element that will store the certificate as a stream inside the package. This attribute cannot be specified with
547 the CertificatePath attribute.
548 </xs:documentation>
549 <xs:appinfo>
550 <xse:seeAlso ref="Binary"/>
551 </xs:appinfo>
552 </xs:annotation>
553 </xs:attribute>
554 <xs:attribute name="CertificatePath" type="xs:string">
555 <xs:annotation>
556 <xs:documentation>
557 If the Request attribute is "no" then this attribute is the path to the certificate file outside of the package.
558 If the Request attribute is "yes" then this atribute is the certificate authority to request the certificate from.
559 This attribute may be set via a formatted Property (e.g. [MyProperty]).
560 </xs:documentation>
561 </xs:annotation>
562 </xs:attribute>
563 <xs:attribute name="PFXPassword" type="xs:string">
564 <xs:annotation>
565 <xs:documentation>
566 If the Binary stream or path to the file outside of the package is a password protected PFX file, the password for that
567 PFX must be specified here. This attribute may be set via a formatted Property (e.g. [MyProperty]).
568 </xs:documentation>
569 </xs:annotation>
570 </xs:attribute>
571 </xs:complexType>
572 </xs:element>
573
574 <xs:element name="CertificateRef">
575 <xs:annotation>
576 <xs:documentation>
577 Associates a certificate with the parent WebSite. The Certificate element should be
578 in the same Component as the parent WebSite.
579 </xs:documentation>
580 <xs:appinfo>
581 <xse:seeAlso ref="Certificate"/>
582 </xs:appinfo>
583 </xs:annotation>
584 <xs:complexType>
585 <xs:attribute name="Id" use="required" type="xs:string">
586 <xs:annotation>
587 <xs:documentation>
588 The identifier of the referenced Certificate.
589 </xs:documentation>
590 </xs:annotation>
591 </xs:attribute>
592 </xs:complexType>
593 </xs:element>
594
595 <xs:element name="WebProperty">
596 <xs:annotation>
597 <xs:appinfo>
598 <xse:parent namespace="http://wixtoolset.org/schemas/v4/wxs" ref="Component" />
599 <xse:remarks>
600 Here is an explanation of the acceptable values for each property and their meaning:
601 <html:ul>
602 <html:li>
603 For the Ids IIs5IsolationMode and LogInUTF8, no value should be specified since
604 the presence of this property indicates that the setting should be set.
605 </html:li>
606 <html:li>
607 For the MaxGlobalBandwidth Id, the value should be specified in kilobytes. The
608 value should be a base 10 number.
609 </html:li>
610 <html:li>
611 ETagChangeNumber sets the machine-specific portion of ETag as a number. This value,
612 when synchronized across servers in a web farm, allows the web farm to return an
613 identical ETag for a given resource regardless of the server that handled the
614 request. The value should be a base 10 number.
615 </html:li>
616 </html:ul>
617 </xse:remarks>
618 </xs:appinfo>
619 <xs:documentation>IIS Properties</xs:documentation>
620 </xs:annotation>
621 <xs:complexType>
622 <xs:attribute name="Id" use="required">
623 <xs:simpleType>
624 <xs:restriction base="xs:string">
625 <xs:enumeration value="ETagChangeNumber"/>
626 <xs:enumeration value="IIs5IsolationMode"/>
627 <xs:enumeration value="MaxGlobalBandwidth"/>
628 <xs:enumeration value="LogInUTF8"/>
629 </xs:restriction>
630 </xs:simpleType>
631 </xs:attribute>
632 <xs:attribute name="Value" type="xs:string">
633 <xs:annotation>
634 <xs:documentation>
635 The value to be used for the WebProperty specified in the Id attribute. See
636 the remarks section for information on acceptable values for each Id.
637 </xs:documentation>
638 </xs:annotation>
639 </xs:attribute>
640 </xs:complexType>
641 </xs:element>
642
643 <xs:element name="WebApplication">
644 <xs:annotation>
645 <xs:appinfo>
646 <xse:parent namespace="http://wixtoolset.org/schemas/v4/wxs" ref="Fragment" />
647 <xse:parent namespace="http://wixtoolset.org/schemas/v4/wxs" ref="Module" />
648 <xse:parent namespace="http://wixtoolset.org/schemas/v4/wxs" ref="Product" />
649 </xs:appinfo>
650 <xs:documentation>Defines properties for a web application. These properties can be used for more than one application defined in a web site or vroot, by defining this element in a common location and referring to it by setting the WebApplication attribute of the WebSite and WebVirtualDir elements.</xs:documentation>
651 </xs:annotation>
652 <xs:complexType>
653 <xs:sequence>
654 <xs:element ref="WebApplicationExtension" minOccurs="0" maxOccurs="unbounded"/>
655 </xs:sequence>
656 <xs:attribute name="Id" use="required" type="xs:string"/>
657 <xs:attribute name="Name" use="required" type="xs:string">
658 <xs:annotation>
659 <xs:documentation>Sets the name of this application.</xs:documentation>
660 </xs:annotation>
661 </xs:attribute>
662 <xs:attribute name="Isolation">
663 <xs:annotation>
664 <xs:documentation>
665 Sets the application isolation level for this application for pre-IIS 6 applications.
666 </xs:documentation>
667 </xs:annotation>
668 <xs:simpleType>
669 <xs:restriction base="xs:NMTOKEN">
670 <xs:enumeration value="low">
671 <xs:annotation>
672 <xs:documentation>
673 Means the application executes within the IIS process.
674 </xs:documentation>
675 </xs:annotation>
676 </xs:enumeration>
677 <xs:enumeration value="medium">
678 <xs:annotation>
679 <xs:documentation>
680 Executes pooled in a separate process.
681 </xs:documentation>
682 </xs:annotation>
683 </xs:enumeration>
684 <xs:enumeration value="high">
685 <xs:annotation>
686 <xs:documentation>
687 Means execution alone in a separate process.
688 </xs:documentation>
689 </xs:annotation>
690 </xs:enumeration>
691 </xs:restriction>
692 </xs:simpleType>
693 </xs:attribute>
694 <xs:attribute name="AllowSessions" type="YesNoDefaultType">
695 <xs:annotation>
696 <xs:documentation>Sets the Enable Session State option. When enabled, you can set the session timeout using the SessionTimeout attribute.</xs:documentation>
697 </xs:annotation>
698 </xs:attribute>
699 <xs:attribute name="SessionTimeout" type="xs:integer">
700 <xs:annotation>
701 <xs:documentation>Sets the timeout value for sessions in minutes.</xs:documentation>
702 </xs:annotation>
703 </xs:attribute>
704 <xs:attribute name="Buffer" type="YesNoDefaultType">
705 <xs:annotation>
706 <xs:documentation>Sets the option that enables response buffering in the application, which allows ASP script to set response headers anywhere in the script.</xs:documentation>
707 </xs:annotation>
708 </xs:attribute>
709 <xs:attribute name="ParentPaths" type="YesNoDefaultType">
710 <xs:annotation>
711 <xs:documentation>Sets the parent paths option, which allows a client to use relative paths to reach parent directories from this application.</xs:documentation>
712 </xs:annotation>
713 </xs:attribute>
714 <xs:attribute name="DefaultScript">
715 <xs:annotation>
716 <xs:documentation>Sets the default script language for the site.</xs:documentation>
717 </xs:annotation>
718 <xs:simpleType>
719 <xs:restriction base="xs:NMTOKEN">
720 <xs:enumeration value="VBScript"/>
721 <xs:enumeration value="JScript"/>
722 </xs:restriction>
723 </xs:simpleType>
724 </xs:attribute>
725 <xs:attribute name="ScriptTimeout" type="xs:integer">
726 <xs:annotation>
727 <xs:documentation>Sets the timeout value in seconds for executing ASP scripts.</xs:documentation>
728 </xs:annotation>
729 </xs:attribute>
730 <xs:attribute name="ServerDebugging" type="YesNoDefaultType">
731 <xs:annotation>
732 <xs:documentation>Enable ASP server-side script debugging.</xs:documentation>
733 </xs:annotation>
734 </xs:attribute>
735 <xs:attribute name="ClientDebugging" type="YesNoDefaultType">
736 <xs:annotation>
737 <xs:documentation>Enable ASP client-side script debugging.</xs:documentation>
738 </xs:annotation>
739 </xs:attribute>
740 <xs:attribute name="WebAppPool" type="xs:string">
741 <xs:annotation>
742 <xs:documentation>References the Id attribute of a WebAppPool element to use as the application pool for this application in IIS 6 applications.</xs:documentation>
743 </xs:annotation>
744 </xs:attribute>
745 </xs:complexType>
746 </xs:element>
747
748 <xs:element name="WebAddress">
749 <xs:annotation>
750 <xs:documentation>WebAddress for WebSite</xs:documentation>
751 </xs:annotation>
752 <xs:complexType>
753 <xs:attribute name="Id" use="required" type="xs:string"/>
754 <xs:attribute name="IP" type="xs:string">
755 <xs:annotation>
756 <xs:documentation>
757 The IP address to locate an existing WebSite or create a new WebSite. When the WebAddress is part of a WebSite element
758 used to locate an existing web site the following rules are used:
759 <html:ul>
760 <html:li>When this attribute is not specified only the "All Unassigned" IP address will be located.</html:li>
761 <html:li>When this attribute is explicitly specified only the specified IP address will be located.</html:li>
762 <html:li>When this attribute has the value "*" then any IP address including the "All Unassigned" IP address will be located</html:li>
763 </html:ul>
764 When the WebAddress is part of a WebSite element used to create a new web site the following rules are used:
765 <html:ul>
766 <html:li>When this attribute is not specified or the value is "*" the "All Unassigned" IP address will be used.</html:li>
767 <html:li>When this attribute is explicitly specified the IP address will use that value.</html:li>
768 </html:ul>
769 The IP attribute can contain a formatted string that is processed at install time to insert the values of properties using
770 [PropertyName] syntax.
771 </xs:documentation>
772 </xs:annotation>
773 </xs:attribute>
774 <xs:attribute name="Port" use="required" type="xs:string"/>
775 <xs:attribute name="Header" type="xs:string"/>
776 <xs:attribute name="Secure" type="YesNoType">
777 <xs:annotation>
778 <xs:documentation>Determines if this address represents a secure binding. The default is 'no'.</xs:documentation>
779 </xs:annotation>
780 </xs:attribute>
781 </xs:complexType>
782 </xs:element>
783
784 <xs:element name="WebVirtualDir">
785 <xs:annotation>
786 <xs:appinfo>
787 <xse:parent namespace="http://wixtoolset.org/schemas/v4/wxs" ref="Component" />
788 </xs:appinfo>
789 <xs:documentation>Defines an IIS virtual directory. When this element is a child of WebSite element, the virtual directory is defined within that web site. Otherwise this virtual directory must reference a WebSite element via the WebSite attribute</xs:documentation>
790 </xs:annotation>
791 <xs:complexType>
792 <xs:choice minOccurs="0" maxOccurs="unbounded">
793 <xs:element ref="WebApplication" minOccurs="0" maxOccurs="1" />
794 <xs:element ref="WebDirProperties" minOccurs="0" maxOccurs="1" />
795 <xs:element ref="WebError" minOccurs="0" maxOccurs="unbounded"/>
796 <xs:element ref="WebVirtualDir" minOccurs="0" maxOccurs="unbounded"/>
797 <xs:element ref="HttpHeader" minOccurs="0" maxOccurs="unbounded"/>
798 <xs:element ref="MimeMap" minOccurs="0" maxOccurs="unbounded"/>
799 </xs:choice>
800 <xs:attribute name="Id" use="required" type="xs:string"/>
801 <xs:attribute name="WebSite" type="xs:string">
802 <xs:annotation>
803 <xs:documentation>References the Id attribute for a WebSite in which this virtual directory belongs. Required when this element is not a child of WebSite element.</xs:documentation>
804 </xs:annotation>
805 </xs:attribute>
806 <xs:attribute name="Alias" use="required" type="xs:string">
807 <xs:annotation>
808 <xs:documentation>Sets the application name, which is the URL relative path used to access this virtual directory</xs:documentation>
809 </xs:annotation>
810 </xs:attribute>
811 <xs:attribute name="Directory" use="required" type="xs:string">
812 <xs:annotation>
813 <xs:documentation>References the Id attribute for a Directory element that points to the content for this virtual directory.</xs:documentation>
814 </xs:annotation>
815 </xs:attribute>
816 <xs:attribute name="DirProperties" type="xs:string">
817 <xs:annotation>
818 <xs:documentation>
819 References the Id attribute for a WebDirProperties element that specifies the security and access properties for this virtual directory.
820 This attribute may not be specified if a WebDirProperties element is directly nested in this element.
821 </xs:documentation>
822 </xs:annotation>
823 </xs:attribute>
824 <xs:attribute name="WebApplication" type="xs:string">
825 <xs:annotation>
826 <xs:documentation>References the Id attribute for a WebApplication element that specifies web application settings for this virtual directory. If a WebApplication child is not specified, the virtual directory does not host web applications.</xs:documentation>
827 </xs:annotation>
828 </xs:attribute>
829 </xs:complexType>
830 </xs:element>
831
832 <xs:element name="WebDir">
833 <xs:annotation>
834 <xs:appinfo>
835 <xse:parent namespace="http://wixtoolset.org/schemas/v4/wxs" ref="Component" />
836 </xs:appinfo>
837 <xs:documentation>Defines a subdirectory within an IIS web site. When this element is a child of WebSite, the web directory is defined within that web site. Otherwise the web directory must reference a WebSite element via the WebSite attribute.</xs:documentation>
838 </xs:annotation>
839 <xs:complexType>
840 <xs:choice minOccurs="0" maxOccurs="unbounded">
841 <xs:element ref="WebApplication" minOccurs="0" maxOccurs="1" />
842 <xs:element ref="WebDirProperties" minOccurs="0" maxOccurs="1" />
843 </xs:choice>
844 <xs:attribute name="Id" use="required" type="xs:string"/>
845 <xs:attribute name="WebSite" type="xs:string">
846 <xs:annotation>
847 <xs:documentation>References the Id attribute for a WebSite element in which this directory belongs. Required when this element is not a child of a WebSite element.</xs:documentation>
848 </xs:annotation>
849 </xs:attribute>
850 <xs:attribute name="Path" type="xs:string" use="required">
851 <xs:annotation>
852 <xs:documentation>Specifies the name of this web directory.</xs:documentation>
853 </xs:annotation>
854 </xs:attribute>
855 <xs:attribute name="DirProperties" type="xs:string">
856 <xs:annotation>
857 <xs:documentation>
858 References the Id attribute for a WebDirProperties element that specifies the security and access properties for this web directory.
859 This attribute may not be specified if a WebDirProperties element is directly nested in this element.
860 </xs:documentation>
861 </xs:annotation>
862 </xs:attribute>
863 </xs:complexType>
864 </xs:element>
865
866 <xs:element name="WebSite">
867 <xs:annotation>
868 <xs:appinfo>
869 <xse:parent namespace="http://wixtoolset.org/schemas/v4/wxs" ref="Component" />
870 <xse:parent namespace="http://wixtoolset.org/schemas/v4/wxs" ref="Fragment" />
871 <xse:parent namespace="http://wixtoolset.org/schemas/v4/wxs" ref="Module" />
872 <xse:parent namespace="http://wixtoolset.org/schemas/v4/wxs" ref="Product" />
873 <xse:remarks>
874 <html:dl>
875 <html:dd>Nesting WebSite under a Component element will result in a WebSite being installed to the machine as the package is installed.</html:dd>
876 <html:dd>
877 Nesting WebSite under Product, Fragment, or Module
878 results in a web site "locator" record being created in
879 the IIsWebSite table. This means that the web site
880 itself is neither installed nor uninstalled by the MSI
881 package. It does make the database available for referencing
882 from a WebApplication, WebVirtualDir or WebDir record. This allows an MSI to install
883 WebApplications, WebVirtualDirs or WebDirs to already existing web sites on the machine.
884 The install will fail if the web site does not exist in these cases.
885 </html:dd>
886 </html:dl>
887 </xse:remarks>
888 </xs:appinfo>
889 <xs:documentation>IIs Web Site</xs:documentation>
890 </xs:annotation>
891 <xs:complexType>
892 <xs:choice minOccurs="0" maxOccurs="unbounded">
893 <xs:element ref="WebAddress" minOccurs="1" maxOccurs="unbounded"/>
894 <xs:element ref="WebApplication" minOccurs="0" maxOccurs="1" />
895 <xs:element ref="WebDirProperties" minOccurs="0" maxOccurs="1" />
896 <xs:element ref="MimeMap" minOccurs="0" maxOccurs="unbounded"/>
897 <xs:element ref="CertificateRef"/>
898 <xs:element ref="HttpHeader"/>
899 <xs:element ref="WebDir"/>
900 <xs:element ref="WebError"/>
901 <xs:element ref="WebFilter"/>
902 <xs:element ref="WebVirtualDir"/>
903 </xs:choice>
904
905 <xs:attribute name="Id" use="required" type="xs:string">
906 <xs:annotation>
907 <xs:documentation>Identifier for the WebSite. Used within the MSI package only.</xs:documentation>
908 </xs:annotation>
909 </xs:attribute>
910 <xs:attribute name="AutoStart" type="YesNoType">
911 <xs:annotation>
912 <xs:documentation>Specifies whether to automatically start the web site.</xs:documentation>
913 </xs:annotation>
914 </xs:attribute>
915 <xs:attribute name="ConfigureIfExists" type="YesNoType">
916 <xs:annotation>
917 <xs:documentation>Specifies whether to configure the web site if it already exists. Note: This will not affect uninstall behavior. If the web site exists on uninstall, it will be removed.</xs:documentation>
918 </xs:annotation>
919 </xs:attribute>
920 <xs:attribute name="ConnectionTimeout" type="xs:nonNegativeInteger">
921 <xs:annotation>
922 <xs:documentation>Sets the timeout value for connections in seconds.</xs:documentation>
923 </xs:annotation>
924 </xs:attribute>
925 <xs:attribute name="Description" use="required" type="xs:string">
926 <xs:annotation>
927 <xs:documentation>This is the name of the web site that will show up in the IIS management console.</xs:documentation>
928 </xs:annotation>
929 </xs:attribute>
930 <xs:attribute name="Directory" type="xs:string">
931 <xs:annotation>
932 <xs:documentation>Root directory of the web site. Resolved to a directory in the Directory table at install time by the server custom actions.</xs:documentation>
933 </xs:annotation>
934 </xs:attribute>
935 <xs:attribute name="DirProperties" type="xs:string">
936 <xs:annotation>
937 <xs:documentation>
938 References the Id attribute for a WebDirProperties element that specifies the security and access properties for this website root directory.
939 This attribute may not be specified if a WebDirProperties element is directly nested in this element.
940 </xs:documentation>
941 </xs:annotation>
942 </xs:attribute>
943 <xs:attribute name="Sequence" type="xs:integer">
944 <xs:annotation>
945 <xs:documentation>Sequence that the web site is to be created in.</xs:documentation>
946 </xs:annotation>
947 </xs:attribute>
948 <xs:attribute name="SiteId" type="xs:string">
949 <xs:annotation>
950 <xs:documentation>
951 Optional attribute to directly specify the site id of the WebSite. Use this to ensure all web
952 sites in a web garden get the same site id. If a number is provided, the site id must be unique
953 on all target machines. If "*" is used, the Description attribute will be hashed to create a unique
954 value for the site id. This value must be a positive number or a "*" or a formatted value that resolves
955 to "-1" (for the same behavior as "*") or a positive number or blank. If this attribute is absent then
956 the web site will be located using the WebAddress element associated with the web site.
957 </xs:documentation>
958 </xs:annotation>
959 </xs:attribute>
960 <xs:attribute name="StartOnInstall" type="YesNoType">
961 <xs:annotation>
962 <xs:documentation>Specifies whether to start the web site on install.</xs:documentation>
963 </xs:annotation>
964 </xs:attribute>
965 <xs:attribute name="WebApplication" type="xs:string">
966 <xs:annotation>
967 <xs:documentation>Reference to a WebApplication that is to be installed as part of this web site.</xs:documentation>
968 </xs:annotation>
969 </xs:attribute>
970 <xs:attribute name="WebLog" type="xs:string">
971 <xs:annotation>
972 <xs:documentation>Reference to WebLog definition.</xs:documentation>
973 </xs:annotation>
974 </xs:attribute>
975 </xs:complexType>
976 </xs:element>
977
978 <xs:element name="WebLog">
979 <xs:annotation>
980 <xs:appinfo>
981 <xse:parent namespace="http://wixtoolset.org/schemas/v4/wxs" ref="Fragment" />
982 <xse:parent namespace="http://wixtoolset.org/schemas/v4/wxs" ref="Module" />
983 <xse:parent namespace="http://wixtoolset.org/schemas/v4/wxs" ref="Product" />
984 </xs:appinfo>
985 <xs:documentation>WebLog definition.</xs:documentation>
986 </xs:annotation>
987 <xs:complexType>
988 <xs:attribute name="Id" use="required" type="xs:string">
989 <xs:annotation>
990 <xs:documentation>Identifier for the WebLog.</xs:documentation>
991 </xs:annotation>
992 </xs:attribute>
993 <xs:attribute name="Type" use="required">
994 <xs:simpleType>
995 <xs:restriction base="xs:NMTOKEN">
996 <xs:enumeration value="IIS">
997 <xs:annotation>
998 <xs:documentation>
999 Microsoft IIS Log File Format
1000 </xs:documentation>
1001 </xs:annotation>
1002 </xs:enumeration>
1003 <xs:enumeration value="NCSA">
1004 <xs:annotation>
1005 <xs:documentation>
1006 NCSA Common Log File Format
1007 </xs:documentation>
1008 </xs:annotation>
1009 </xs:enumeration>
1010 <xs:enumeration value="none">
1011 <xs:annotation>
1012 <xs:documentation>
1013 Disables logging.
1014 </xs:documentation>
1015 </xs:annotation>
1016 </xs:enumeration>
1017 <xs:enumeration value="ODBC">
1018 <xs:annotation>
1019 <xs:documentation>
1020 ODBC Logging
1021 </xs:documentation>
1022 </xs:annotation>
1023 </xs:enumeration>
1024 <xs:enumeration value="W3C">
1025 <xs:annotation>
1026 <xs:documentation>
1027 W3C Extended Log File Format
1028 </xs:documentation>
1029 </xs:annotation>
1030 </xs:enumeration>
1031 </xs:restriction>
1032 </xs:simpleType>
1033 </xs:attribute>
1034 </xs:complexType>
1035 </xs:element>
1036
1037 <xs:element name="WebServiceExtension">
1038 <xs:annotation>
1039 <xs:appinfo>
1040 <xse:parent namespace="http://wixtoolset.org/schemas/v4/wxs" ref="Component" />
1041 </xs:appinfo>
1042 <xs:documentation>The WebServiceExtension property is used by the Web server to determine whether a Web service extension is permitted to run.</xs:documentation>
1043 </xs:annotation>
1044 <xs:complexType>
1045 <xs:attribute name="Id" use="required" type="xs:string"/>
1046 <xs:attribute name="File" use="required" type="xs:string">
1047 <xs:annotation>
1048 <xs:documentation>Usually a Property that resolves to short file name path</xs:documentation>
1049 </xs:annotation>
1050 </xs:attribute>
1051 <xs:attribute name="Description" type="xs:string">
1052 <xs:annotation>
1053 <xs:documentation>Description of the extension.</xs:documentation>
1054 </xs:annotation>
1055 </xs:attribute>
1056 <xs:attribute name="Group" type="xs:string">
1057 <xs:annotation>
1058 <xs:documentation>String used to identify groups of extensions.</xs:documentation>
1059 </xs:annotation>
1060 </xs:attribute>
1061 <xs:attribute name="Allow" use="required" type="YesNoType">
1062 <xs:annotation>
1063 <xs:documentation>Indicates if the extension is allowed or denied.</xs:documentation>
1064 </xs:annotation>
1065 </xs:attribute>
1066 <xs:attribute name="UIDeletable" type="YesNoType">
1067 <xs:annotation>
1068 <xs:documentation>Indicates if the UI is allowed to delete the extension from the list of not. Default: Not deletable.</xs:documentation>
1069 </xs:annotation>
1070 </xs:attribute>
1071 </xs:complexType>
1072 </xs:element>
1073
1074 <xs:simpleType name="PercentType">
1075 <xs:annotation>
1076 <xs:documentation>Values of this type are any integers between 0 and 100, inclusive.</xs:documentation>
1077 </xs:annotation>
1078 <xs:restriction base="xs:nonNegativeInteger">
1079 <xs:maxInclusive value="100"/>
1080 </xs:restriction>
1081 </xs:simpleType>
1082
1083 <xs:simpleType name="YesNoType">
1084 <xs:annotation>
1085 <xs:documentation>Values of this type will either be "yes" or "no".</xs:documentation>
1086 </xs:annotation>
1087 <xs:restriction base='xs:NMTOKEN'>
1088 <xs:enumeration value="no"/>
1089 <xs:enumeration value="yes"/>
1090 </xs:restriction>
1091 </xs:simpleType>
1092
1093 <xs:simpleType name="YesNoDefaultType">
1094 <xs:annotation>
1095 <xs:documentation>Values of this type will either be "default", "yes", or "no".</xs:documentation>
1096 </xs:annotation>
1097 <xs:restriction base='xs:NMTOKEN'>
1098 <xs:enumeration value="default"/>
1099 <xs:enumeration value="no"/>
1100 <xs:enumeration value="yes"/>
1101 </xs:restriction>
1102 </xs:simpleType>
1103
1104</xs:schema>