aboutsummaryrefslogtreecommitdiff
path: root/src/xsd/netfx.xsd
diff options
context:
space:
mode:
Diffstat (limited to 'src/xsd/netfx.xsd')
-rw-r--r--src/xsd/netfx.xsd687
1 files changed, 687 insertions, 0 deletions
diff --git a/src/xsd/netfx.xsd b/src/xsd/netfx.xsd
new file mode 100644
index 00000000..079b95c9
--- /dev/null
+++ b/src/xsd/netfx.xsd
@@ -0,0 +1,687 @@
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:wxs="http://wixtoolset.org/schemas/v4/wxs"
8 targetNamespace="http://wixtoolset.org/schemas/v4/wxs/netfx"
9 xmlns="http://wixtoolset.org/schemas/v4/wxs/netfx">
10 <xs:annotation>
11 <xs:documentation>
12 The source code schema for the WiX Toolset .NET Framework Extension.
13 </xs:documentation>
14 </xs:annotation>
15
16 <xs:import namespace="http://wixtoolset.org/schemas/v4/wxs" />
17
18 <xs:element name="NativeImage">
19 <xs:annotation>
20 <xs:documentation>
21 Improves the performance of managed applications by creating native images.
22 Requires the .NET Framework 2.0 or newer to be installed on the target machine since
23 it runs [NGen](https://learn.microsoft.com/en-us/dotnet/framework/tools/ngen-exe-native-image-generator).
24 </xs:documentation>
25 <xs:appinfo>
26 <xse:parent namespace="http://wixtoolset.org/schemas/v4/wxs" ref="File" />
27 <xse:remarks>
28 Native images are files containing compiled processor-specific machine code, which
29 are installed into the native image cache on the local computer. The runtime
30 can use native images from the cache instead using the just-in-time (JIT)
31 compiler to compile the original assembly.
32
33 The native image custom actions are configured to ignore failures so that failing
34 to generate or remove a native image will not cause setup to fail and roll back.
35 </xse:remarks>
36 </xs:appinfo>
37 </xs:annotation>
38 <xs:complexType>
39 <xs:choice minOccurs="0" maxOccurs="unbounded">
40 <xs:any namespace="##other" processContents="lax">
41 <xs:annotation>
42 <xs:documentation>
43 Extensibility point in the WiX XML Schema. Schema extensions can register additional
44 elements at this point in the schema.
45 </xs:documentation>
46 </xs:annotation>
47 </xs:any>
48 </xs:choice>
49 <xs:attribute name="Id" type="xs:string">
50 <xs:annotation>
51 <xs:documentation>Identifier for the native image in the output database. If the Id is not specified, one will be generated.</xs:documentation>
52 </xs:annotation>
53 </xs:attribute>
54 <xs:attribute name="AppBaseDirectory" type="xs:string">
55 <xs:annotation>
56 <xs:documentation>
57 The directory to use for locating dependent assemblies.
58 For DLL assemblies and assemblies installed to the Global Assembly Cache (GAC),
59 this attribute should be set to the directory of the application which loads this
60 assembly. For EXE assemblies, this attribute does not need to be set because NGen
61 will use the directory of the assembly file by default.
62
63 The value can be in the form of a directory identifier, or a formatted string
64 that resolves to either a directory identifier or a full path to a directory.
65 </xs:documentation>
66 </xs:annotation>
67 </xs:attribute>
68 <xs:attribute name="AssemblyApplication" type="xs:string">
69 <xs:annotation>
70 <xs:documentation>
71 The application which will load this assembly.
72 For DLL assemblies which are loaded via reflection, this attribute should
73 be set to indicate the application which will load this assembly.
74 The configuration of the application (usually specified via an exe.config file) will be used
75 to determine how to resolve dependencies for this assembly.
76
77 The value can be in the form of a file identifier, or a formatted string
78 that resolves to either a file identifier or a full path to a file.
79
80 When a shared component is loaded at run time, using the Load method, the
81 application's configuration file determines the dependencies that are loaded
82 for the shared component — for example, the version of a dependency that is loaded.
83 This attribute gives guidance on which dependencies would be loaded at run time in order
84 to figure out which dependency assemblies will also need to have native images generated
85 (assuming the Dependency attribute is not set to "no").
86
87 This attribute cannot be set if the AssemblyApplication attribute is set on the parent
88 File element (please note that these attributes both refer to the same application
89 assembly but do very different things: specifiying File/@AssemblyApplication will force
90 an assembly to install to a private location next to the indicated application, whereas
91 this AssemblyApplication attribute will be used to help resolve dependent assemblies
92 while generating native images for this assembly).
93 </xs:documentation>
94 </xs:annotation>
95 </xs:attribute>
96 <xs:attribute name="Debug" type="wxs:YesNoTypeUnion">
97 <xs:annotation>
98 <xs:documentation>
99 Set to "yes" to generate native images that can be used under a debugger.
100 The default value is "no".
101 </xs:documentation>
102 </xs:annotation>
103 </xs:attribute>
104 <xs:attribute name="Dependencies" type="wxs:YesNoTypeUnion">
105 <xs:annotation>
106 <xs:documentation>
107 Set to "no" to generate the minimum number of native images.
108 The default value is "yes".
109 </xs:documentation>
110 </xs:annotation>
111 </xs:attribute>
112 <xs:attribute name="Platform" type="NativeImagePreprocessorPlatformType">
113 <xs:annotation>
114 <xs:documentation>
115 Sets the platform(s) for which native images will be generated.
116 </xs:documentation>
117 </xs:annotation>
118 </xs:attribute>
119 <xs:attribute name="Priority">
120 <xs:annotation>
121 <xs:documentation>
122 Sets the priority of generating the native images for this assembly.
123 </xs:documentation>
124 </xs:annotation>
125 <xs:simpleType>
126 <xs:restriction base="xs:NMTOKEN">
127 <xs:enumeration value="0">
128 <xs:annotation>
129 <xs:documentation>
130 This is the highest priority, it means that image generation occurs
131 and completes during setup. This option ensures images are generated
132 by the time setup is complete.
133 </xs:documentation>
134 </xs:annotation>
135 </xs:enumeration>
136 <xs:enumeration value="1">
137 <xs:annotation>
138 <xs:documentation>
139 This will queue image generation to the NGen service to occur immediately.
140 This option will slow down setup performance.
141 </xs:documentation>
142 </xs:annotation>
143 </xs:enumeration>
144 <xs:enumeration value="2">
145 <xs:annotation>
146 <xs:documentation>
147 This will queue image generation to the NGen service to occur after all priority 1
148 assemblies have completed.
149 This option will slow down setup performance.
150 </xs:documentation>
151 </xs:annotation>
152 </xs:enumeration>
153 <xs:enumeration value="3">
154 <xs:annotation>
155 <xs:documentation>
156 This is the lowest priority, it will queue image generation to occur when the
157 machine is idle.
158 This option should not slow down setup performance.
159 This is the default value.
160 </xs:documentation>
161 </xs:annotation>
162 </xs:enumeration>
163 </xs:restriction>
164 </xs:simpleType>
165 </xs:attribute>
166 <xs:attribute name="Profile" type="wxs:YesNoTypeUnion">
167 <xs:annotation>
168 <xs:documentation>
169 Set to "yes" to generate native images that can be used under a profiler.
170 The default value is "no".
171 </xs:documentation>
172 </xs:annotation>
173 </xs:attribute>
174 <xs:anyAttribute namespace="##other" processContents="lax">
175 <xs:annotation>
176 <xs:documentation>
177 Extensibility point in the WiX XML Schema. Schema extensions can register additional
178 attributes at this point in the schema.
179 </xs:documentation>
180 </xs:annotation>
181 </xs:anyAttribute>
182 </xs:complexType>
183 </xs:element>
184
185 <xs:element name="DotNetCoreSearch">
186 <xs:annotation>
187 <xs:documentation>
188 Searches for an installation of .NET Core.
189 The variable gets set to the latest version of the given Runtime, Platform, and Major Version.
190 </xs:documentation>
191 <xs:appinfo>
192 <xse:parent namespace="http://wixtoolset.org/schemas/v4/wxs" ref="Bundle" />
193 <xse:parent namespace="http://wixtoolset.org/schemas/v4/wxs" ref="Fragment" />
194 </xs:appinfo>
195 </xs:annotation>
196 <xs:complexType>
197 <xs:choice minOccurs="0" maxOccurs="unbounded">
198 <xs:any namespace="##other" processContents="lax">
199 <xs:annotation>
200 <xs:documentation>
201 Extensibility point in the WiX XML Schema. Schema extensions can register additional
202 elements at this point in the schema.
203 </xs:documentation>
204 </xs:annotation>
205 </xs:any>
206 </xs:choice>
207 <xs:attribute name="Id" type="xs:string">
208 <xs:annotation>
209 <xs:documentation>Identifier for the search. If the Id is not specified, one will be generated.</xs:documentation>
210 </xs:annotation>
211 </xs:attribute>
212 <xs:attribute name="Variable" type="xs:string" use="required">
213 <xs:annotation>
214 <xs:documentation>Name of the variable in which to place the result of the search.</xs:documentation>
215 </xs:annotation>
216 </xs:attribute>
217 <xs:attribute name="Condition" type="xs:string">
218 <xs:annotation>
219 <xs:documentation>Condition for evaluating the search. If this evaluates to false, the search is not executed at all.</xs:documentation>
220 </xs:annotation>
221 </xs:attribute>
222 <xs:attribute name="After" type="xs:string">
223 <xs:annotation>
224 <xs:documentation>Id of the search that this one should come after.</xs:documentation>
225 </xs:annotation>
226 </xs:attribute>
227 <xs:attribute name="RuntimeType">
228 <xs:annotation>
229 <xs:documentation>The type of .NET Core runtime to search for.</xs:documentation>
230 </xs:annotation>
231 <xs:simpleType>
232 <xs:restriction base="xs:NMTOKEN">
233 <xs:enumeration value="aspnet">
234 <xs:annotation>
235 <xs:documentation>
236 Attempt to check for an ASP.NET Core type runtime.
237 The ASP.NET Core Runtime enables you to run web/server applications.
238 </xs:documentation>
239 </xs:annotation>
240 </xs:enumeration>
241 <xs:enumeration value="core">
242 <xs:annotation>
243 <xs:documentation>
244 Attempt to check for a .NET type runtime.
245 The .NET Core Runtime contains just the components needed to run a console app.
246 </xs:documentation>
247 </xs:annotation>
248 </xs:enumeration>
249 <xs:enumeration value="desktop">
250 <xs:annotation>
251 <xs:documentation>
252 Attempt to check for a .NET Desktop type runtime.
253 The .NET Desktop Runtime enables you to run Windows desktop applications.
254 </xs:documentation>
255 </xs:annotation>
256 </xs:enumeration>
257 </xs:restriction>
258 </xs:simpleType>
259 </xs:attribute>
260 <xs:attribute name="Platform" type="NetfxPreprocessorPlatformType">
261 <xs:annotation>
262 <xs:documentation>The platform to search for.</xs:documentation>
263 </xs:annotation>
264 </xs:attribute>
265 <xs:attribute name="MajorVersion" type="wxs:Integer">
266 <xs:annotation>
267 <xs:documentation>Major version of .NET. For example, "6".</xs:documentation>
268 </xs:annotation>
269 </xs:attribute>
270 <xs:anyAttribute namespace="##other" processContents="lax">
271 <xs:annotation>
272 <xs:documentation>
273 Extensibility point in the WiX XML Schema. Schema extensions can register additional
274 attributes at this point in the schema.
275 </xs:documentation>
276 </xs:annotation>
277 </xs:anyAttribute>
278 </xs:complexType>
279 </xs:element>
280
281 <xs:element name="DotNetCoreSearchRef">
282 <xs:annotation>
283 <xs:documentation>References a DotNetCoreSearch.</xs:documentation>
284 <xs:appinfo>
285 <xse:parent namespace="http://wixtoolset.org/schemas/v4/wxs" ref="Bundle" />
286 <xse:parent namespace="http://wixtoolset.org/schemas/v4/wxs" ref="Fragment" />
287 </xs:appinfo>
288 </xs:annotation>
289 <xs:complexType>
290 <xs:choice minOccurs="0" maxOccurs="unbounded">
291 <xs:any namespace="##other" processContents="lax">
292 <xs:annotation>
293 <xs:documentation>
294 Extensibility point in the WiX XML Schema. Schema extensions can register additional
295 elements at this point in the schema.
296 </xs:documentation>
297 </xs:annotation>
298 </xs:any>
299 </xs:choice>
300 <xs:attribute name="Id" type="xs:string" use="required" />
301 <xs:anyAttribute namespace="##other" processContents="lax">
302 <xs:annotation>
303 <xs:documentation>
304 Extensibility point in the WiX XML Schema. Schema extensions can register additional
305 attributes at this point in the schema.
306 </xs:documentation>
307 </xs:annotation>
308 </xs:anyAttribute>
309 </xs:complexType>
310 </xs:element>
311
312 <xs:element name="DotNetCoreSdkSearch">
313 <xs:annotation>
314 <xs:documentation>
315 Searches for an installation of .NET Core SDK.
316 The variable gets set to the latest version of the given Platform and Major Version.
317 </xs:documentation>
318 <xs:appinfo>
319 <xse:parent namespace="http://wixtoolset.org/schemas/v4/wxs" ref="Bundle" />
320 <xse:parent namespace="http://wixtoolset.org/schemas/v4/wxs" ref="Fragment" />
321 </xs:appinfo>
322 </xs:annotation>
323 <xs:complexType>
324 <xs:choice minOccurs="0" maxOccurs="unbounded">
325 <xs:any namespace="##other" processContents="lax">
326 <xs:annotation>
327 <xs:documentation>
328 Extensibility point in the WiX XML Schema. Schema extensions can register additional
329 elements at this point in the schema.
330 </xs:documentation>
331 </xs:annotation>
332 </xs:any>
333 </xs:choice>
334 <xs:attribute name="Id" type="xs:string">
335 <xs:annotation>
336 <xs:documentation>Identifier for the search. If the Id is not specified, one will be generated.</xs:documentation>
337 </xs:annotation>
338 </xs:attribute>
339 <xs:attribute name="Variable" type="xs:string" use="required">
340 <xs:annotation>
341 <xs:documentation>Name of the variable in which to place the result of the search.</xs:documentation>
342 </xs:annotation>
343 </xs:attribute>
344 <xs:attribute name="Condition" type="xs:string">
345 <xs:annotation>
346 <xs:documentation>Condition for evaluating the search. If this evaluates to false, the search is not executed at all.</xs:documentation>
347 </xs:annotation>
348 </xs:attribute>
349 <xs:attribute name="After" type="xs:string">
350 <xs:annotation>
351 <xs:documentation>Id of the search that this one should come after.</xs:documentation>
352 </xs:annotation>
353 </xs:attribute>
354 <xs:attribute name="Platform" type="NetfxPreprocessorPlatformType">
355 <xs:annotation>
356 <xs:documentation>The platform to search for.</xs:documentation>
357 </xs:annotation>
358 </xs:attribute>
359 <xs:attribute name="MajorVersion" type="wxs:Integer">
360 <xs:annotation>
361 <xs:documentation>Major version of .NET SDK. For example, "6".</xs:documentation>
362 </xs:annotation>
363 </xs:attribute>
364 <xs:anyAttribute namespace="##other" processContents="lax">
365 <xs:annotation>
366 <xs:documentation>
367 Extensibility point in the WiX XML Schema. Schema extensions can register additional
368 attributes at this point in the schema.
369 </xs:documentation>
370 </xs:annotation>
371 </xs:anyAttribute>
372 </xs:complexType>
373 </xs:element>
374
375 <xs:element name="DotNetCoreSdkSearchRef">
376 <xs:annotation>
377 <xs:documentation>References a DotNetCoreSdkSearch.</xs:documentation>
378 <xs:appinfo>
379 <xse:parent namespace="http://wixtoolset.org/schemas/v4/wxs" ref="Bundle" />
380 <xse:parent namespace="http://wixtoolset.org/schemas/v4/wxs" ref="Fragment" />
381 </xs:appinfo>
382 </xs:annotation>
383 <xs:complexType>
384 <xs:choice minOccurs="0" maxOccurs="unbounded">
385 <xs:any namespace="##other" processContents="lax">
386 <xs:annotation>
387 <xs:documentation>
388 Extensibility point in the WiX XML Schema. Schema extensions can register additional
389 elements at this point in the schema.
390 </xs:documentation>
391 </xs:annotation>
392 </xs:any>
393 </xs:choice>
394 <xs:attribute name="Id" type="xs:string" use="required" />
395 <xs:anyAttribute namespace="##other" processContents="lax">
396 <xs:annotation>
397 <xs:documentation>
398 Extensibility point in the WiX XML Schema. Schema extensions can register additional
399 attributes at this point in the schema.
400 </xs:documentation>
401 </xs:annotation>
402 </xs:anyAttribute>
403 </xs:complexType>
404 </xs:element>
405
406 <xs:element name="DotNetCoreSdkFeatureBandSearch">
407 <xs:annotation>
408 <xs:documentation>
409 Searches for an installation of .NET Core SDK of the given platform.
410 The variable gets set to the latest version of the SDK that is in the feature band specified by Version.
411 </xs:documentation>
412 <xs:appinfo>
413 <xse:parent namespace="http://wixtoolset.org/schemas/v4/wxs" ref="Bundle" />
414 <xse:parent namespace="http://wixtoolset.org/schemas/v4/wxs" ref="Fragment" />
415 </xs:appinfo>
416 </xs:annotation>
417 <xs:complexType>
418 <xs:choice minOccurs="0" maxOccurs="unbounded">
419 <xs:any namespace="##other" processContents="lax">
420 <xs:annotation>
421 <xs:documentation>
422 Extensibility point in the WiX XML Schema. Schema extensions can register additional
423 elements at this point in the schema.
424 </xs:documentation>
425 </xs:annotation>
426 </xs:any>
427 </xs:choice>
428 <xs:attribute name="Id" type="xs:string">
429 <xs:annotation>
430 <xs:documentation>Identifier for the search. If the Id is not specified, one will be generated.</xs:documentation>
431 </xs:annotation>
432 </xs:attribute>
433 <xs:attribute name="Variable" type="xs:string" use="required">
434 <xs:annotation>
435 <xs:documentation>Name of the variable in which to place the result of the search.</xs:documentation>
436 </xs:annotation>
437 </xs:attribute>
438 <xs:attribute name="Condition" type="xs:string">
439 <xs:annotation>
440 <xs:documentation>Condition for evaluating the search. If this evaluates to false, the search is not executed at all.</xs:documentation>
441 </xs:annotation>
442 </xs:attribute>
443 <xs:attribute name="After" type="xs:string">
444 <xs:annotation>
445 <xs:documentation>Id of the search that this one should come after.</xs:documentation>
446 </xs:annotation>
447 </xs:attribute>
448 <xs:attribute name="Platform" type="NetfxPreprocessorPlatformType">
449 <xs:annotation>
450 <xs:documentation>The platform to search for.</xs:documentation>
451 </xs:annotation>
452 </xs:attribute>
453 <xs:attribute name="Version" type="wxs:StrictThreePartVersionType">
454 <xs:annotation>
455 <xs:documentation>
456 A specific .NET Core SDK feature band. For example, "6.0.400".
457 For more information about feature bands, see https://learn.microsoft.com/en-us/dotnet/core/releases-and-support#feature-bands-sdk-only.
458 </xs:documentation>
459 </xs:annotation>
460 </xs:attribute>
461 <xs:anyAttribute namespace="##other" processContents="lax">
462 <xs:annotation>
463 <xs:documentation>
464 Extensibility point in the WiX XML Schema. Schema extensions can register additional
465 attributes at this point in the schema.
466 </xs:documentation>
467 </xs:annotation>
468 </xs:anyAttribute>
469 </xs:complexType>
470 </xs:element>
471
472 <xs:element name="DotNetCoreSdkFeatureBandSearchRef">
473 <xs:annotation>
474 <xs:documentation>References a DotNetCoreSdkFeatureBandSearch.</xs:documentation>
475 <xs:appinfo>
476 <xse:parent namespace="http://wixtoolset.org/schemas/v4/wxs" ref="Bundle" />
477 <xse:parent namespace="http://wixtoolset.org/schemas/v4/wxs" ref="Fragment" />
478 </xs:appinfo>
479 </xs:annotation>
480 <xs:complexType>
481 <xs:choice minOccurs="0" maxOccurs="unbounded">
482 <xs:any namespace="##other" processContents="lax">
483 <xs:annotation>
484 <xs:documentation>
485 Extensibility point in the WiX XML Schema. Schema extensions can register additional
486 elements at this point in the schema.
487 </xs:documentation>
488 </xs:annotation>
489 </xs:any>
490 </xs:choice>
491 <xs:attribute name="Id" type="xs:string" use="required" />
492 <xs:anyAttribute namespace="##other" processContents="lax">
493 <xs:annotation>
494 <xs:documentation>
495 Extensibility point in the WiX XML Schema. Schema extensions can register additional
496 attributes at this point in the schema.
497 </xs:documentation>
498 </xs:annotation>
499 </xs:anyAttribute>
500 </xs:complexType>
501 </xs:element>
502
503 <xs:element name="DotNetCompatibilityCheck">
504 <xs:annotation>
505 <xs:documentation>
506 Validates whether the specified .NET is installed on the computer.
507 </xs:documentation>
508 <xs:appinfo>
509 <xse:parent namespace="http://wixtoolset.org/schemas/v4/wxs" ref="Package" />
510 <xse:parent namespace="http://wixtoolset.org/schemas/v4/wxs" ref="Module" />
511 </xs:appinfo>
512 </xs:annotation>
513 <xs:complexType>
514 <xs:choice minOccurs="0" maxOccurs="unbounded">
515 <xs:any namespace="##other" processContents="lax">
516 <xs:annotation>
517 <xs:documentation>
518 Extensibility point in the WiX XML Schema. Schema extensions can register additional
519 elements at this point in the schema.
520 </xs:documentation>
521 </xs:annotation>
522 </xs:any>
523 </xs:choice>
524 <xs:attribute name="Id" type="xs:string">
525 <xs:annotation>
526 <xs:documentation>Identifier for the compatibility check. If the Id is not specified, one will be generated.</xs:documentation>
527 </xs:annotation>
528 </xs:attribute>
529 <xs:attribute name="Property" type="xs:string" use="required">
530 <xs:annotation>
531 <xs:documentation>
532 Name of the property in which to place the result of the compatibility check. The possible values are:
533 - 0 - Successful compatibility check.
534 - 13 - Requested platform is not compatible with OS. _Introduced in WiX v5.0._
535 - 12289 - No runtime is installed.
536 - 12290 - Required runtime is not installed.
537 - 12291 - Failed to get hostfxr exports.
538 - 12292 - Invalid arguments.
539 - 12293 - Failed to construct temp json file path.
540 - 12294 - Failed to create temp json file.
541 </xs:documentation>
542 </xs:annotation>
543 </xs:attribute>
544 <xs:attribute name="RuntimeType">
545 <xs:annotation>
546 <xs:documentation>The .NET runtime to check against.</xs:documentation>
547 </xs:annotation>
548 <xs:simpleType>
549 <xs:restriction base="xs:NMTOKEN">
550 <xs:enumeration value="aspnet" />
551 <xs:enumeration value="core" />
552 <xs:enumeration value="desktop" />
553 </xs:restriction>
554 </xs:simpleType>
555 </xs:attribute>
556 <xs:attribute name="Platform" type="NetfxPreprocessorPlatformType">
557 <xs:annotation>
558 <xs:documentation>The platform to use to validate.</xs:documentation>
559 </xs:annotation>
560 </xs:attribute>
561 <xs:attribute name="Version" type="wxs:StrictThreePartVersionType">
562 <xs:annotation>
563 <xs:documentation>Version of .NET to check against.</xs:documentation>
564 </xs:annotation>
565 </xs:attribute>
566 <xs:attribute name="RollForward">
567 <xs:annotation>
568 <xs:documentation>The roll forward policy to use while validating.</xs:documentation>
569 </xs:annotation>
570 <xs:simpleType>
571 <xs:restriction base="xs:NMTOKEN">
572 <xs:enumeration value="latestMajor" />
573 <xs:enumeration value="major" />
574 <xs:enumeration value="latestMinor" />
575 <xs:enumeration value="minor" />
576 <xs:enumeration value="latestPatch" />
577 <xs:enumeration value="disable" />
578 </xs:restriction>
579 </xs:simpleType>
580 </xs:attribute>
581 <xs:anyAttribute namespace="##other" processContents="lax">
582 <xs:annotation>
583 <xs:documentation>
584 Extensibility point in the WiX XML Schema. Schema extensions can register additional
585 attributes at this point in the schema.
586 </xs:documentation>
587 </xs:annotation>
588 </xs:anyAttribute>
589 </xs:complexType>
590 </xs:element>
591
592 <xs:element name="DotNetCompatibilityCheckRef">
593 <xs:annotation>
594 <xs:documentation>References a DotNetCompatibilityCheck.</xs:documentation>
595 <xs:appinfo>
596 <xse:parent namespace="http://wixtoolset.org/schemas/v4/wxs" ref="Package" />
597 <xse:parent namespace="http://wixtoolset.org/schemas/v4/wxs" ref="Module" />
598 </xs:appinfo>
599 </xs:annotation>
600 <xs:complexType>
601 <xs:choice minOccurs="0" maxOccurs="unbounded">
602 <xs:any namespace="##other" processContents="lax">
603 <xs:annotation>
604 <xs:documentation>
605 Extensibility point in the WiX XML Schema. Schema extensions can register additional
606 elements at this point in the schema.
607 </xs:documentation>
608 </xs:annotation>
609 </xs:any>
610 </xs:choice>
611 <xs:attribute name="Id" type="xs:string" use="required" />
612 <xs:anyAttribute namespace="##other" processContents="lax">
613 <xs:annotation>
614 <xs:documentation>
615 Extensibility point in the WiX XML Schema. Schema extensions can register additional
616 attributes at this point in the schema.
617 </xs:documentation>
618 </xs:annotation>
619 </xs:anyAttribute>
620 </xs:complexType>
621 </xs:element>
622
623 <xs:simpleType name="NativeImagePlatformType">
624 <xs:restriction base="xs:NMTOKEN">
625 <xs:enumeration value="32bit">
626 <xs:annotation>
627 <xs:documentation>
628 Attempt to generate native images only for the 32-bit version of the .NET Framework
629 on the target machine. If the 32-bit version of the .NET Framework 2.0 or newer is not
630 present on the target machine, native image custom actions will not be scheduled.
631 This is the default value.
632 </xs:documentation>
633 </xs:annotation>
634 </xs:enumeration>
635 <xs:enumeration value="64bit">
636 <xs:annotation>
637 <xs:documentation>
638 Attempt to generate native images only for the 64-bit version of the .NET Framework
639 on the target machine. If a 64-bit version of the .NET Framework 2.0 or newer is not
640 present on the target machine, native image custom actions will not be scheduled.
641 </xs:documentation>
642 </xs:annotation>
643 </xs:enumeration>
644 <xs:enumeration value="all">
645 <xs:annotation>
646 <xs:documentation>
647 Attempt to generate native images for the 32-bit and 64-bit versions of the .NET Framework
648 on the target machine. If a version of the .NET Framework 2.0 or newer is not present on the
649 target machine for a processor architecture, native image custom actions will not be
650 scheduled for that processor architecture.
651 </xs:documentation>
652 </xs:annotation>
653 </xs:enumeration>
654 </xs:restriction>
655 </xs:simpleType>
656
657 <xs:simpleType name="NativeImagePreprocessorPlatformType">
658 <xs:annotation>
659 <xs:documentation>
660 Platform referencing the machine architecture.
661 </xs:documentation>
662 </xs:annotation>
663 <xs:union memberTypes="NativeImagePlatformType wxs:PreprocessorVariables"/>
664 </xs:simpleType>
665
666 <xs:simpleType name="NetfxPlatformType">
667 <xs:annotation>
668 <xs:documentation>
669 Platform referencing the machine architecture.
670 </xs:documentation>
671 </xs:annotation>
672 <xs:restriction base="xs:NMTOKEN">
673 <xs:enumeration value="arm64" />
674 <xs:enumeration value="x64" />
675 <xs:enumeration value="x86" />
676 </xs:restriction>
677 </xs:simpleType>
678
679 <xs:simpleType name="NetfxPreprocessorPlatformType">
680 <xs:annotation>
681 <xs:documentation>
682 Platform referencing the machine architecture.
683 </xs:documentation>
684 </xs:annotation>
685 <xs:union memberTypes="NetfxPlatformType wxs:PreprocessorVariables"/>
686 </xs:simpleType>
687</xs:schema>