aboutsummaryrefslogtreecommitdiff
path: root/src/xsd/bal.xsd
blob: ff4142ad3392b7393ae2264c8184bd185f41b29e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. -->


<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
          xmlns:xse="http://wixtoolset.org/schemas/XmlSchemaExtension"
         xmlns:html="http://www.w3.org/1999/xhtml"
          xmlns:wxs="http://wixtoolset.org/schemas/v4/wxs"
    targetNamespace="http://wixtoolset.org/schemas/v4/wxs/bal"
              xmlns="http://wixtoolset.org/schemas/v4/wxs/bal">
  <xs:annotation>
    <xs:documentation>
      The source code schema for the WiX Toolset Bootstrapper Applications Extension.
    </xs:documentation>
  </xs:annotation>

  <xs:import namespace="http://wixtoolset.org/schemas/v4/wxs" />

  <xs:element name="Condition">
    <xs:annotation>
      <xs:documentation>
        Conditions for a bundle using WixStdBA.
      </xs:documentation>
      <xs:appinfo>
        <xse:parent namespace="http://wixtoolset.org/schemas/v4/wxs" ref="Bundle" />
        <xse:parent namespace="http://wixtoolset.org/schemas/v4/wxs" ref="Fragment" />
      </xs:appinfo>
    </xs:annotation>
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:any namespace="##other" processContents="lax">
          <xs:annotation>
            <xs:documentation>
              Extensibility point in the WiX XML Schema. Schema extensions can register additional
              elements at this point in the schema.
            </xs:documentation>
          </xs:annotation>
        </xs:any>
      </xs:choice>
      <xs:attribute name="Message" type="xs:string" use="required">
        <xs:annotation>
          <xs:documentation>
            Set the value to the text to display when the condition fails and the installation must be terminated.
          </xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attribute name="Condition" type="xs:string" use="required">
        <xs:annotation>
          <xs:documentation>
            The condition that must evaluate to true for the installation to continue.
          </xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:anyAttribute namespace="##other" processContents="lax">
        <xs:annotation>
          <xs:documentation>
            Extensibility point in the WiX XML Schema. Schema extensions can register additional
            attributes at this point in the schema.
          </xs:documentation>
        </xs:annotation>
      </xs:anyAttribute>
    </xs:complexType>
  </xs:element>

  <xs:element name="WixInternalUIBootstrapperApplication">
    <xs:annotation>
      <xs:documentation>
        Uses WixInternalUIBootstrapperApplication as the Bootstrapper Application for a Bundle.
        WixInternalUIBootstrapperApplication has no UI itself, it relies on the splash screen, prereq BA, and MSI UI.

        wixiuiba is not a typical BA because it has very specific requirements for the packages in the chain.
        There can only be one non-permanent package in the chain, and it needs to be the last package.
        The only exception is that multiple non-permanent packages can be specified with bal:PrimaryPackageType with a specific architecture.
        Each primary package must be an MsiPackage that contains UI for install and maintenance.

        If there are permanent packages, then they are always installed through the same prereq BA that is used for the managed BA hosts before executing the primary package.

        Due to Windows limitations, a splash screen should be provided so that the elevation prompt and MSI UI is automatically given focus.
      </xs:documentation>
      <xs:appinfo>
        <xse:parent namespace="http://wixtoolset.org/schemas/v4/wxs" ref="BootstrapperApplication" />
      </xs:appinfo>
    </xs:annotation>
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:any namespace="##other" processContents="lax">
          <xs:annotation>
            <xs:documentation>
              Extensibility point in the WiX XML Schema. Schema extensions can register additional
              elements at this point in the schema.
            </xs:documentation>
          </xs:annotation>
        </xs:any>
      </xs:choice>
      <xs:attribute name="LogoFile" type="xs:string">
        <xs:annotation>
          <xs:documentation>Source file of the logo graphic.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attribute name="ThemeFile" type="xs:string">
        <xs:annotation>
          <xs:documentation>Source file of the theme XML.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attribute name="LocalizationFile" type="xs:string">
        <xs:annotation>
          <xs:documentation>Source file of the theme localization .wxl file.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attribute name="Theme">
        <xs:annotation>
          <xs:documentation>The built-in theme to use.</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction base="xs:NMTOKEN">
            <xs:enumeration value="none" />
            <xs:enumeration value="standard" />
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
      <xs:anyAttribute namespace="##other" processContents="lax">
        <xs:annotation>
          <xs:documentation>
            Extensibility point in the WiX XML Schema. Schema extensions can register additional
            attributes at this point in the schema.
          </xs:documentation>
        </xs:annotation>
      </xs:anyAttribute>
    </xs:complexType>
  </xs:element>

  <xs:element name="WixStandardBootstrapperApplication">
    <xs:annotation>
      <xs:documentation>
        Uses WixStandardBootstrapperApplication as the Bootstrapper Application for a Bundle.
      </xs:documentation>
      <xs:appinfo>
        <xse:parent namespace="http://wixtoolset.org/schemas/v4/wxs" ref="BootstrapperApplication" />
      </xs:appinfo>
    </xs:annotation>
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:any namespace="##other" processContents="lax">
          <xs:annotation>
            <xs:documentation>
              Extensibility point in the WiX XML Schema. Schema extensions can register additional
              elements at this point in the schema.
            </xs:documentation>
          </xs:annotation>
        </xs:any>
      </xs:choice>
      <xs:attribute name="LaunchTarget" type="xs:string">
        <xs:annotation>
          <xs:documentation>
            If set, the success page will show a Launch button the user can use to launch the application being installed.
            The string value can be formatted using Burn variables enclosed in brackets,
            to refer to installation directories and so forth.
          </xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attribute name="LaunchTargetElevatedId" type="xs:string">
        <xs:annotation>
          <xs:documentation>
            Id of the target ApprovedExeForElevation element.
            If set with LaunchTarget, WixStdBA will launch the application through the Engine's LaunchApprovedExe method instead of through ShellExecute.
          </xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attribute name="LaunchArguments" type="xs:string">
        <xs:annotation>
          <xs:documentation>
            If set, WixStdBA will supply these arguments when launching the application specified by the LaunchTarget attribute.
            The string value can be formatted using Burn variables enclosed in brackets,
            to refer to installation directories and so forth.
          </xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attribute name="LaunchHidden" type="wxs:YesNoTypeUnion">
        <xs:annotation>
          <xs:documentation>
            If set to "yes", WixStdBA will launch the application specified by the LaunchTarget attribute with the SW_HIDE flag.
            This attribute is ignored when the LaunchTargetElevatedId attribute is specified.
          </xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attribute name="LaunchWorkingFolder" type="xs:string">
        <xs:annotation>
          <xs:documentation>
            WixStdBA will use this working folder when launching the specified application.
            The string value can be formatted using Burn variables enclosed in brackets,
            to refer to installation directories and so forth.
            This attribute is ignored when the LaunchTargetElevatedId attribute is specified.
          </xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attribute name="LicenseFile" type="xs:string">
        <xs:annotation>
          <xs:documentation>Source file of the RTF license file. Cannot be used simultaneously with LicenseUrl.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attribute name="LicenseUrl" type="xs:string">
        <xs:annotation>
          <xs:documentation>URL target of the license link. Cannot be used simultaneously with LicenseFile. This attribute can be empty to hide the license link completely.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attribute name="LogoFile" type="xs:string">
        <xs:annotation>
          <xs:documentation>Source file of the logo graphic.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attribute name="LogoSideFile" type="xs:string">
        <xs:annotation>
          <xs:documentation>Source file of the side logo graphic.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attribute name="ThemeFile" type="xs:string">
        <xs:annotation>
          <xs:documentation>Source file of the theme XML.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attribute name="LocalizationFile" type="xs:string">
        <xs:annotation>
          <xs:documentation>Source file of the theme localization .wxl file.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attribute name="SuppressOptionsUI" type="wxs:YesNoTypeUnion">
        <xs:annotation>
          <xs:documentation>If set to "yes", the Options button will not be shown and the user will not be able to choose an installation directory.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attribute name="SuppressDowngradeFailure" type="wxs:YesNoTypeUnion">
        <xs:annotation>
          <xs:documentation>
            If set to "yes", attempting to installer a downgraded version of a bundle will be treated as a successful do-nothing operation.
            The default behavior (or when explicitly set to "no") is to treat downgrade attempts as failures.
          </xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attribute name="SuppressRepair" type="wxs:YesNoTypeUnion">
        <xs:annotation>
          <xs:documentation>If set to "yes", the Repair button will not be shown in the maintenance-mode UI.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attribute name="ShowVersion" type="wxs:YesNoTypeUnion">
        <xs:annotation>
          <xs:documentation>If set to "yes", the application version will be displayed on the UI.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attribute name="SupportCacheOnly" type="wxs:YesNoTypeUnion">
        <xs:annotation>
          <xs:documentation>If set to "yes", the bundle can be pre-cached using the /cache command line argument.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attribute name="Theme" use="required">
        <xs:annotation>
          <xs:documentation>The built-in theme to use.</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction base="xs:NMTOKEN">
            <xs:enumeration value="hyperlinkLargeLicense" />
            <xs:enumeration value="hyperlinkLicense" />
            <xs:enumeration value="hyperlinkSidebarLicense" />
            <xs:enumeration value="none" />
            <xs:enumeration value="rtfLargeLicense" />
            <xs:enumeration value="rtfLicense" />
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
      <xs:anyAttribute namespace="##other" processContents="lax">
        <xs:annotation>
          <xs:documentation>
            Extensibility point in the WiX XML Schema. Schema extensions can register additional
            attributes at this point in the schema.
          </xs:documentation>
        </xs:annotation>
      </xs:anyAttribute>
    </xs:complexType>
  </xs:element>

  <xs:element name="WixManagedBootstrapperApplicationHost">
    <xs:annotation>
      <xs:documentation>
        Uses WixManagedBootstrapperApplicationHost as the Bootstrapper Application for a Bundle.

        _Available in WiX v4. Deprecated in WiX v5; use WixPrerequisiteBootstrapperApplication instead._
      </xs:documentation>
      <xs:appinfo>
        <xse:parent namespace="http://wixtoolset.org/schemas/v4/wxs" ref="BootstrapperApplication" />
      </xs:appinfo>
    </xs:annotation>
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:any namespace="##other" processContents="lax">
          <xs:annotation>
            <xs:documentation>
              Extensibility point in the WiX XML Schema. Schema extensions can register additional
              elements at this point in the schema.
            </xs:documentation>
          </xs:annotation>
        </xs:any>
      </xs:choice>
      <xs:attribute name="AlwaysInstallPrereqs" type="xs:string">
        <xs:annotation>
          <xs:documentation>
            When not set or set to "no", the prereq BA is only used when the .NET Framework runtime can't be loaded.
            When set to "yes", the prereq BA will always run before the .NET Framework runtime is attempted to be loaded.
            If set to "yes" and all prereq packages are already installed, then the prereq BA's UI is not shown.
          </xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attribute name="LogoFile" type="xs:string">
        <xs:annotation>
          <xs:documentation>Source file of the logo graphic.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attribute name="ThemeFile" type="xs:string">
        <xs:annotation>
          <xs:documentation>Source file of the theme XML.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attribute name="LocalizationFile" type="xs:string">
        <xs:annotation>
          <xs:documentation>Source file of the theme localization .wxl file.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attribute name="Theme">
        <xs:annotation>
          <xs:documentation>The built-in theme to use. The default is "standard".</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction base="xs:NMTOKEN">
            <xs:enumeration value="none" />
            <xs:enumeration value="standard" />
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
      <xs:anyAttribute namespace="##other" processContents="lax">
        <xs:annotation>
          <xs:documentation>
            Extensibility point in the WiX XML Schema. Schema extensions can register additional
            attributes at this point in the schema.
          </xs:documentation>
        </xs:annotation>
      </xs:anyAttribute>
    </xs:complexType>
  </xs:element>

  <xs:element name="ManagedBootstrapperApplicationPrereqInformation">
    <xs:annotation>
      <xs:documentation>
        Adds license information for a prereq package, should only be used when unable to add the license attributes to the package directly.

        _Available in WiX v4. Deprecated in WiX v5; use BootstrapperApplicationPrerequisiteInformation instead._
      </xs:documentation>
      <xs:appinfo>
        <xse:parent namespace="http://wixtoolset.org/schemas/v4/wxs" ref="Bundle" />
        <xse:parent namespace="http://wixtoolset.org/schemas/v4/wxs" ref="Fragment" />
      </xs:appinfo>
    </xs:annotation>
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:any namespace="##other" processContents="lax">
          <xs:annotation>
            <xs:documentation>
              Extensibility point in the WiX XML Schema. Schema extensions can register additional
              elements at this point in the schema.
            </xs:documentation>
          </xs:annotation>
        </xs:any>
      </xs:choice>
      <xs:attribute name="PackageId" type="xs:string" use="required">
        <xs:annotation>
          <xs:documentation>Id of the target package.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attribute name="LicenseFile" type="xs:string">
        <xs:annotation>
          <xs:documentation>Source file of the license. May not be used with LicenseUrl.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attribute name="LicenseUrl" type="xs:string">
        <xs:annotation>
          <xs:documentation>Source url of the license. May not be used with LicenseFile.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:anyAttribute namespace="##other" processContents="lax">
        <xs:annotation>
          <xs:documentation>
            Extensibility point in the WiX XML Schema. Schema extensions can register additional
            attributes at this point in the schema.
          </xs:documentation>
        </xs:annotation>
      </xs:anyAttribute>
    </xs:complexType>
  </xs:element>

  <xs:element name="WixDotNetCoreBootstrapperApplicationHost">
    <xs:annotation>
      <xs:documentation>
        Uses WixDotNetCoreBootstrapperApplicationHost as the Bootstrapper Application for a Bundle.

        _Available in WiX v4. Deprecated in WiX v5; use WixPrerequisiteBootstrapperApplication instead._
      </xs:documentation>
      <xs:appinfo>
        <xse:parent namespace="http://wixtoolset.org/schemas/v4/wxs" ref="BootstrapperApplication" />
      </xs:appinfo>
    </xs:annotation>
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:any namespace="##other" processContents="lax">
          <xs:annotation>
            <xs:documentation>
              Extensibility point in the WiX XML Schema. Schema extensions can register additional
              elements at this point in the schema.
            </xs:documentation>
          </xs:annotation>
        </xs:any>
      </xs:choice>
      <xs:attribute name="AlwaysInstallPrereqs" type="wxs:YesNoTypeUnion">
        <xs:annotation>
          <xs:documentation>
            When not set or set to "no", the prereq BA is only used when the .NET Core runtime can't be loaded.
            When set to "yes", the prereq BA will always run before the .NET Core runtime is attempted to be loaded.
            If set to "yes" and all prereq packages are already installed, then the prereq BA's UI is not shown.
          </xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attribute name="LogoFile" type="xs:string">
        <xs:annotation>
          <xs:documentation>Source file of the logo graphic.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attribute name="ThemeFile" type="xs:string">
        <xs:annotation>
          <xs:documentation>Source file of the theme XML.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attribute name="LocalizationFile" type="xs:string">
        <xs:annotation>
          <xs:documentation>Source file of the theme localization .wxl file.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attribute name="SelfContainedDeployment" type="wxs:YesNoTypeUnion">
        <xs:annotation>
          <xs:documentation>
            Whether the .NET Core BA was published as self-contained (SCD).
          </xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attribute name="Theme">
        <xs:annotation>
          <xs:documentation>The built-in theme to use. The default value is "standard".</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction base="xs:NMTOKEN">
            <xs:enumeration value="none" />
            <xs:enumeration value="standard" />
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
      <xs:anyAttribute namespace="##other" processContents="lax">
        <xs:annotation>
          <xs:documentation>
            Extensibility point in the WiX XML Schema. Schema extensions can register additional
            attributes at this point in the schema.
          </xs:documentation>
        </xs:annotation>
      </xs:anyAttribute>
    </xs:complexType>
  </xs:element>

  <xs:element name="WixPrerequisiteBootstrapperApplication">
    <xs:annotation>
      <xs:documentation>
        Uses WixPrerequisiteBootstrapperApplication as a secondary Bootstrapper Application for a Bundle,
        to bootstrap the prerequisites needed for a primary bootstrapper application.

        _Available in WiX v5._
      </xs:documentation>
      <xs:appinfo>
        <xse:parent namespace="http://wixtoolset.org/schemas/v4/wxs" ref="BootstrapperApplication" />
      </xs:appinfo>
    </xs:annotation>
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:any namespace="##other" processContents="lax">
          <xs:annotation>
            <xs:documentation>
              Extensibility point in the WiX XML Schema. Schema extensions can register additional
              elements at this point in the schema.
            </xs:documentation>
          </xs:annotation>
        </xs:any>
      </xs:choice>
      <xs:attribute name="LogoFile" type="xs:string">
        <xs:annotation>
          <xs:documentation>Source file of the logo graphic.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attribute name="ThemeFile" type="xs:string">
        <xs:annotation>
          <xs:documentation>Source file of the theme XML.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attribute name="LocalizationFile" type="xs:string">
        <xs:annotation>
          <xs:documentation>Source file of the theme localization .wxl file.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attribute name="Theme">
        <xs:annotation>
          <xs:documentation>The built-in theme to use. The default is "standard".</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction base="xs:NMTOKEN">
            <xs:enumeration value="none" />
            <xs:enumeration value="standard" />
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
      <xs:anyAttribute namespace="##other" processContents="lax">
        <xs:annotation>
          <xs:documentation>
            Extensibility point in the WiX XML Schema. Schema extensions can register additional
            attributes at this point in the schema.
          </xs:documentation>
        </xs:annotation>
      </xs:anyAttribute>
    </xs:complexType>
  </xs:element>

  <xs:element name="BootstrapperApplicationPrerequisiteInformation">
    <xs:annotation>
      <xs:documentation>
        Adds license information for a prereq package, should only be used when unable to add the license attributes to the package directly.

        _Available in WiX v5._
      </xs:documentation>
      <xs:appinfo>
        <xse:parent namespace="http://wixtoolset.org/schemas/v4/wxs" ref="Bundle" />
        <xse:parent namespace="http://wixtoolset.org/schemas/v4/wxs" ref="Fragment" />
      </xs:appinfo>
    </xs:annotation>
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:any namespace="##other" processContents="lax">
          <xs:annotation>
            <xs:documentation>
              Extensibility point in the WiX XML Schema. Schema extensions can register additional
              elements at this point in the schema.
            </xs:documentation>
          </xs:annotation>
        </xs:any>
      </xs:choice>
      <xs:attribute name="PackageId" type="xs:string" use="required">
        <xs:annotation>
          <xs:documentation>Id of the target package.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attribute name="LicenseFile" type="xs:string">
        <xs:annotation>
          <xs:documentation>Source file of the license. May not be used with LicenseUrl.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attribute name="LicenseUrl" type="xs:string">
        <xs:annotation>
          <xs:documentation>Source url of the license. May not be used with LicenseFile.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:anyAttribute namespace="##other" processContents="lax">
        <xs:annotation>
          <xs:documentation>
            Extensibility point in the WiX XML Schema. Schema extensions can register additional
            attributes at this point in the schema.
          </xs:documentation>
        </xs:annotation>
      </xs:anyAttribute>
    </xs:complexType>
  </xs:element>

  <xs:attribute name="BAFactoryAssembly" type="wxs:YesNoTypeUnion">
    <xs:annotation>
      <xs:documentation>
        When set to "yes", WixDotNetCoreBootstrapperApplicationHost will load the DLL and instantiate the type with the BootstrapperApplicationFactoryAttribute.
        The DLL must have been built referencing the WixToolset.Dnc.HostGenerator source generator NuGet package.
        The .NET Core project must have been published, not just built.
        Only one payload may be marked with this attribute set to "yes".

        _Available in WiX v4. Deprecated in WiX v5. Move the Payload/@SourceFile attribute to be the BootstrapperApplication/@SourceFile attribute and remove the Payload element._
      </xs:documentation>
      <xs:appinfo>
        <xse:parent namespace="http://wixtoolset.org/schemas/v4/wxs" ref="Payload" />
      </xs:appinfo>
    </xs:annotation>
  </xs:attribute>

  <xs:attribute name="BAFunctions" type="wxs:YesNoTypeUnion">
    <xs:annotation>
      <xs:documentation>
        When set to "yes", WixStdBA will load the DLL and work with it to handle BA messages.
        Only one payload may be marked with this attribute set to "yes".
      </xs:documentation>
      <xs:appinfo>
        <xse:parent namespace="http://wixtoolset.org/schemas/v4/wxs" ref="Payload" />
      </xs:appinfo>
    </xs:annotation>
  </xs:attribute>

  <xs:attribute name="CommandLineVariables">
    <xs:annotation>
      <xs:documentation>
        This value determines whether case sensitivity is used to match overridable variables specified on the command line. The default is "caseSensitive".
      </xs:documentation>
      <xs:appinfo>
        <xse:parent namespace="http://wixtoolset.org/schemas/v4/wxs" ref="Bundle" />
      </xs:appinfo>
    </xs:annotation>
    <xs:simpleType>
      <xs:restriction base="xs:NMTOKEN">
        <xs:enumeration value="caseSensitive" />
        <xs:enumeration value="caseInsensitive" />
      </xs:restriction>
    </xs:simpleType>
  </xs:attribute>

  <xs:attribute name="DisplayInternalUICondition" type="xs:string">
    <xs:annotation>
      <xs:documentation>
        Specifies whether the bundle will show the UI authored into the msi package. If not specified or the condition evaluates
        to false, all information is routed to the bootstrapper application to provide a unified installation experience.
        Otherwise, the UI authored into the msi package will be displayed on top of any bootstrapper application UI.
        WixStdBA doesn't support EmbeddedUI.
      </xs:documentation>
      <xs:appinfo>
        <xse:parent namespace="http://wixtoolset.org/schemas/v4/wxs" ref="MsiPackage" />
        <xse:parent namespace="http://wixtoolset.org/schemas/v4/wxs" ref="MspPackage" />
      </xs:appinfo>
    </xs:annotation>
  </xs:attribute>

  <xs:attribute name="Overridable" type="wxs:YesNoTypeUnion">
    <xs:annotation>
      <xs:documentation>
        When set to "yes", lets the user override the variable's default value by specifying another value on the command line,
        in the form Variable=Value. Otherwise, WixStdBA won't overwrite the default value and will log
        "Ignoring attempt to set non-overridable variable: 'BAR'."
      </xs:documentation>
      <xs:appinfo>
        <xse:parent namespace="http://wixtoolset.org/schemas/v4/wxs" ref="Variable" />
      </xs:appinfo>
    </xs:annotation>
  </xs:attribute>

  <xs:attribute name="PrereqLicenseFile" type="xs:string">
    <xs:annotation>
      <xs:documentation>
        Source file of the RTF license file.
        There may only be one package in the bundle that has either the PrereqLicenseFile attribute or the PrereqLicenseUrl attribute.
      </xs:documentation>
      <xs:appinfo>
        <xse:parent namespace="http://wixtoolset.org/schemas/v4/wxs" ref="BundlePackage" />
        <xse:parent namespace="http://wixtoolset.org/schemas/v4/wxs" ref="ExePackage" />
        <xse:parent namespace="http://wixtoolset.org/schemas/v4/wxs" ref="MsiPackage" />
        <xse:parent namespace="http://wixtoolset.org/schemas/v4/wxs" ref="MspPackage" />
        <xse:parent namespace="http://wixtoolset.org/schemas/v4/wxs" ref="MsuPackage" />
      </xs:appinfo>
    </xs:annotation>
  </xs:attribute>

  <xs:attribute name="PrereqLicenseUrl" type="xs:string">
    <xs:annotation>
      <xs:documentation>
        URL target of the license link.
        There may only be one package in the bundle that has either the PrereqLicenseFile attribute or the PrereqLicenseUrl attribute.
      </xs:documentation>
      <xs:appinfo>
        <xse:parent namespace="http://wixtoolset.org/schemas/v4/wxs" ref="BundlePackage" />
        <xse:parent namespace="http://wixtoolset.org/schemas/v4/wxs" ref="ExePackage" />
        <xse:parent namespace="http://wixtoolset.org/schemas/v4/wxs" ref="MsiPackage" />
        <xse:parent namespace="http://wixtoolset.org/schemas/v4/wxs" ref="MspPackage" />
        <xse:parent namespace="http://wixtoolset.org/schemas/v4/wxs" ref="MsuPackage" />
      </xs:appinfo>
    </xs:annotation>
  </xs:attribute>

  <xs:attribute name="PrereqPackage" type="wxs:YesNoTypeUnion">
    <xs:annotation>
      <xs:documentation>
        When set to "yes", the Prereq BA will plan the package to be installed if its InstallCondition is "true" or empty.
      </xs:documentation>
      <xs:appinfo>
        <xse:parent namespace="http://wixtoolset.org/schemas/v4/wxs" ref="BundlePackage" />
        <xse:parent namespace="http://wixtoolset.org/schemas/v4/wxs" ref="ExePackage" />
        <xse:parent namespace="http://wixtoolset.org/schemas/v4/wxs" ref="MsiPackage" />
        <xse:parent namespace="http://wixtoolset.org/schemas/v4/wxs" ref="MspPackage" />
        <xse:parent namespace="http://wixtoolset.org/schemas/v4/wxs" ref="MsuPackage" />
      </xs:appinfo>
    </xs:annotation>
  </xs:attribute>

  <xs:attribute name="PrimaryPackageType">
    <xs:annotation>
      <xs:documentation>Used by WixInternalUIBootstrapperApplication to determine which package is the primary package. The default value is "default".</xs:documentation>
      <xs:appinfo>
        <xse:parent namespace="http://wixtoolset.org/schemas/v4/wxs" ref="BundlePackage" />
        <xse:parent namespace="http://wixtoolset.org/schemas/v4/wxs" ref="ExePackage" />
        <xse:parent namespace="http://wixtoolset.org/schemas/v4/wxs" ref="MsiPackage" />
        <xse:parent namespace="http://wixtoolset.org/schemas/v4/wxs" ref="MspPackage" />
        <xse:parent namespace="http://wixtoolset.org/schemas/v4/wxs" ref="MsuPackage" />
      </xs:appinfo>
    </xs:annotation>
    <xs:simpleType>
      <xs:restriction base="xs:NMTOKEN">
        <xs:enumeration value="default">
          <xs:annotation>
            <xs:documentation>
              This package is used unless there is a package for the runtime machine's architecture.
            </xs:documentation>
          </xs:annotation>
        </xs:enumeration>
        <xs:enumeration value="x86">
          <xs:annotation>
            <xs:documentation>
              This package is used when the runtime machine's OS is x86 (IMAGE_FILE_MACHINE_I386).
            </xs:documentation>
          </xs:annotation>
        </xs:enumeration>
        <xs:enumeration value="x64">
          <xs:annotation>
            <xs:documentation>
              This package is used when the runtime machine's OS is x64 (IMAGE_FILE_MACHINE_AMD64).
            </xs:documentation>
          </xs:annotation>
        </xs:enumeration>
        <xs:enumeration value="arm64">
          <xs:annotation>
            <xs:documentation>
              This package is used when the runtime machine's OS is ARM64 (IMAGE_FILE_MACHINE_ARM64).
            </xs:documentation>
          </xs:annotation>
        </xs:enumeration>
      </xs:restriction>
    </xs:simpleType>
  </xs:attribute>
</xs:schema>