[msitools: 5/11] wixl: install dialog templates for the user interface




commit afe0fa7de3ab25ac02ab3ee9c2974bcd52c8329c
Author: Brendon Jones <brendon jones gmail com>
Date:   Sun Sep 19 21:48:05 2021 +1200

    wixl: install dialog templates for the user interface

 copyright                             |  78 +++++++++++++++++++++++++++
 data/ext/ui/CancelDlg.wxs             |  19 +++++++
 data/ext/ui/Common.wxs                |  22 ++++++++
 data/ext/ui/ErrorDlg.wxs              |  36 +++++++++++++
 data/ext/ui/ExitDialog.wxs            |  28 ++++++++++
 data/ext/ui/FatalError.wxs            |  28 ++++++++++
 data/ext/ui/FilesInUse.wxs            |  27 ++++++++++
 data/ext/ui/LICENSE.txt               |  28 ++++++++++
 data/ext/ui/MaintenanceTypeDlg.wxs    |  58 ++++++++++++++++++++
 data/ext/ui/MaintenanceWelcomeDlg.wxs |  26 +++++++++
 data/ext/ui/MsiRMFilesInUse.wxs       |  34 ++++++++++++
 data/ext/ui/OutOfDiskDlg.wxs          |  22 ++++++++
 data/ext/ui/OutOfRbDiskDlg.wxs        |  25 +++++++++
 data/ext/ui/PrepareDlg.wxs            |  30 +++++++++++
 data/ext/ui/ProgressDlg.wxs           |  41 ++++++++++++++
 data/ext/ui/ResumeDlg.wxs             |  40 ++++++++++++++
 data/ext/ui/UserExit.wxs              |  28 ++++++++++
 data/ext/ui/VerifyReadyDlg.wxs        |  97 ++++++++++++++++++++++++++++++++++
 data/ext/ui/WaitForCostingDlg.wxs     |  16 ++++++
 data/ext/ui/WelcomeDlg.wxs            |  28 ++++++++++
 data/ext/ui/WelcomeEulaDlg.wxs        |  42 +++++++++++++++
 data/ext/ui/WixUI_Minimal.wxs         |  63 ++++++++++++++++++++++
 data/ext/ui/bitmaps/New.ico           | Bin 0 -> 318 bytes
 data/ext/ui/bitmaps/Up.ico            | Bin 0 -> 318 bytes
 data/ext/ui/bitmaps/bannrbmp.bmp      | Bin 0 -> 2746 bytes
 data/ext/ui/bitmaps/dlgbmp.bmp        | Bin 0 -> 68468 bytes
 data/ext/ui/bitmaps/exclamic.ico      | Bin 0 -> 766 bytes
 data/ext/ui/bitmaps/info.ico          | Bin 0 -> 1078 bytes
 data/meson.build                      |   4 ++
 29 files changed, 820 insertions(+)
---
diff --git a/copyright b/copyright
index fe63699..2060ea0 100644
--- a/copyright
+++ b/copyright
@@ -85,3 +85,81 @@ License:   GPL-3+
  .
  On Debian systems, the complete text of the GNU General Public License
  Version 3 can be found in `/usr/share/common-licenses/GPL-3'.
+
+Files:     data/ext/ui/*
+Copyright: .NET Foundation and contributors. All rights reserved.
+License:   MS-RL
+ This license governs use of the accompanying software. If you use the
+ software, you accept this license. If you do not accept the license, do not
+ use the software.
+ .
+ 1. Definitions
+ The terms "reproduce," "reproduction," "derivative works," and "distribution"
+ have the same meaning here as under U.S. copyright law.
+ A "contribution" is the original software, or any additions or changes to the
+ software.
+ A "contributor" is any person that distributes its contribution under this
+ license.
+ "Licensed patents" are a contributor's patent claims that read directly on its
+ contribution.
+ .
+ 2. Grant of Rights
+ (A) Copyright Grant- Subject to the terms of this license, including the
+ license conditions and limitations in section 3, each contributor grants you a
+ non-exclusive, worldwide, royalty-free copyright license to reproduce its
+ contribution, prepare derivative works of its contribution, and distribute its
+ contribution or any derivative works that you create.
+ (B) Patent Grant- Subject to the terms of this license, including the license
+ conditions and limitations in section 3, each contributor grants you a
+ non-exclusive, worldwide, royalty-free license under its licensed patents to
+ make, have made, use, sell, offer for sale, import, and/or otherwise dispose
+ of its contribution in the software or derivative works of the contribution in
+ the software.
+ .
+ 3. Conditions and Limitations
+ (A) Reciprocal Grants- For any file you distribute that contains code from the
+ software (in source code or binary format), you must provide recipients the
+ source code to that file along with a copy of this license, which license will
+ govern that file. You may license other files that are entirely your own work
+ and do not contain code from the software under any terms you choose.
+ (B) No Trademark License- This license does not grant you rights to use any
+ contributors' name, logo, or trademarks.
+ (C) If you bring a patent claim against any contributor over patents that you
+ claim are infringed by the software, your patent license from such contributor
+ to the software ends automatically.
+ (D) If you distribute any portion of the software, you must retain all
+ copyright, patent, trademark, and attribution notices that are present in the
+ software.
+ (E) If you distribute any portion of the software in source code form, you may
+ do so only under this license by including a complete copy of this license
+ with your distribution. If you distribute any portion of the software in
+ compiled or object code form, you may only do so under a license that complies
+ with this license.
+ (F) The software is licensed "as-is." You bear the risk of using it. The
+ contributors give no express warranties, guarantees or conditions. You may
+ have additional consumer rights under your local laws which this license
+ cannot change. To the extent permitted under your local laws, the contributors
+ exclude the implied warranties of merchantability, fitness for a particular
+ purpose and non-infringement.
+Comment:
+ Note on license compatibility from Paolo Bonzini:
+ the MS-RL-licensed .wxs files are only ever compiled by wixl, and never
+ mix with C or Vala sources in a single derivative binary.  Therefore,
+ MS-RL's GPL- and LGPL-incompatibility is not an issue for the purpose
+ of distributing msitools itself.
+ .
+ MS-RL derivatives may end up in the same .msi files as
+ incompatibly-licensed binaries provided by the end user of msitools, but
+ that should not be a problem either: the GPLed binaries are essentially
+ data as far as the installer is concerned, and the installer tables are
+ not used by the GPLed binaries either.  Therefore, this should count
+ as mere aggregation, and mere aggregation in the same file shouldn't be
+ a problem because the structure of the OLE compound document keeps the
+ parts separate.  It's basically the same that happens when you download
+ an ISO full of RPM packages, since the OLE compound document can be
+ considered a file system just as much as ISO9660 can.
+ .
+ However, we will have to be careful if msitools grows more XML sources
+ that will be compiled by wixl.  Such files may not be licensed under GPL
+ or LGPL.  This is not a problem; for such files it does make sense to
+ use the MIT license or the MS-RL to facilitate interoperability with WIX.
diff --git a/data/ext/ui/CancelDlg.wxs b/data/ext/ui/CancelDlg.wxs
new file mode 100644
index 0000000..c1d0815
--- /dev/null
+++ b/data/ext/ui/CancelDlg.wxs
@@ -0,0 +1,19 @@
+<!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft 
Reciprocal License. See LICENSE.txt file in this directory for full license information. -->
+
+
+<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs";>
+    <Fragment>
+        <UI>
+            <Dialog Id="CancelDlg" Width="260" Height="85" Title="[ProductName] Setup">
+                <Control Id="No" Type="PushButton" X="132" Y="57" Width="56" Height="17" Default="yes" 
Cancel="yes" Text="No">
+                    <Publish Event="EndDialog" Value="Return" />
+                </Control>
+                <Control Id="Yes" Type="PushButton" X="72" Y="57" Width="56" Height="17" Text="Yes">
+                    <Publish Event="EndDialog" Value="Exit" />
+                </Control>
+                <Control Id="Text" Type="Text" X="48" Y="15" Width="194" Height="30" NoPrefix="yes" 
Text="Are you sure you want to cancel [ProductName] installation?" />
+                <Control Id="Icon" Type="Icon" X="15" Y="15" Width="24" Height="24" ToolTip="yes" 
FixedSize="yes" IconSize="32" Text="WixUI_Ico_Info" />
+            </Dialog>
+        </UI>
+    </Fragment>
+</Wix>
diff --git a/data/ext/ui/Common.wxs b/data/ext/ui/Common.wxs
new file mode 100644
index 0000000..0338a7a
--- /dev/null
+++ b/data/ext/ui/Common.wxs
@@ -0,0 +1,22 @@
+<!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft 
Reciprocal License. See LICENSE.txt file in this directory for full license information. -->
+
+
+<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs";>
+    <Fragment>
+        <Binary Id="WixUI_Bmp_Banner" SourceFile="ui/bitmaps/bannrbmp.bmp" />
+        <Binary Id="WixUI_Bmp_Dialog" SourceFile="ui/bitmaps/dlgbmp.bmp" />
+        <Binary Id="WixUI_Ico_Exclam" SourceFile="ui/bitmaps/exclamic.ico" />
+        <Binary Id="WixUI_Ico_Info" SourceFile="ui/bitmaps/info.ico" />
+        <Binary Id="WixUI_Bmp_New" SourceFile="ui/bitmaps/New.ico" />
+        <Binary Id="WixUI_Bmp_Up" SourceFile="ui/bitmaps/Up.ico" />
+
+        <UI Id="WixUI_Common">
+            <!-- ui text -->
+            <UIText Id="AbsentPath" />
+            <UIText Id="bytes" Value="bytes" />
+            <UIText Id="GB" Value="GB" />
+            <UIText Id="KB" Value="KB" />
+            <UIText Id="MB" Value="MB" />
+        </UI>
+    </Fragment>
+</Wix>
diff --git a/data/ext/ui/ErrorDlg.wxs b/data/ext/ui/ErrorDlg.wxs
new file mode 100644
index 0000000..5c1af69
--- /dev/null
+++ b/data/ext/ui/ErrorDlg.wxs
@@ -0,0 +1,36 @@
+<!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft 
Reciprocal License. See LICENSE.txt file in this directory for full license information. -->
+
+
+<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs";>
+    <Fragment>
+        <UI>
+            <Dialog Id="ErrorDlg" Width="270" Height="105" Title="[ProductName] Setup" ErrorDialog="yes">
+                <Control Id="ErrorText" Type="Text" X="48" Y="15" Width="205" Height="60" TabSkip="no" 
NoPrefix="yes" Text="Information text" />
+                <Control Id="Y" Type="PushButton" X="100" Y="80" Width="56" Height="17" TabSkip="yes" 
Text="Yes">
+                    <Publish Event="EndDialog" Value="ErrorYes" />
+                </Control>
+                <Control Id="A" Type="PushButton" X="100" Y="80" Width="56" Height="17" TabSkip="yes" 
Text="Cancel">
+                    <Publish Event="EndDialog" Value="ErrorAbort" />
+                </Control>
+                <Control Id="C" Type="PushButton" X="100" Y="80" Width="56" Height="17" TabSkip="yes" 
Text="Cancel">
+                    <Publish Event="EndDialog" Value="ErrorCancel" />
+                </Control>
+                <Control Id="ErrorIcon" Type="Icon" X="15" Y="15" Width="24" Height="24" ToolTip="yes" 
FixedSize="yes" IconSize="32" Text="WixUI_Ico_Info" />
+                <Control Id="I" Type="PushButton" X="100" Y="80" Width="56" Height="17" TabSkip="yes" 
Text="Ignore">
+                    <Publish Event="EndDialog" Value="ErrorIgnore" />
+                </Control>
+                <Control Id="N" Type="PushButton" X="100" Y="80" Width="56" Height="17" TabSkip="yes" 
Text="No">
+                    <Publish Event="EndDialog" Value="ErrorNo" />
+                </Control>
+                <Control Id="O" Type="PushButton" X="100" Y="80" Width="56" Height="17" TabSkip="yes" 
Text="OK">
+                    <Publish Event="EndDialog" Value="ErrorOk" />
+                </Control>
+                <Control Id="R" Type="PushButton" X="100" Y="80" Width="56" Height="17" TabSkip="yes" 
Text="Retry">
+                    <Publish Event="EndDialog" Value="ErrorRetry" />
+                </Control>
+            </Dialog>
+
+            <Property Id="ErrorDialog" Value="ErrorDlg" />
+        </UI>
+    </Fragment>
+</Wix>
diff --git a/data/ext/ui/ExitDialog.wxs b/data/ext/ui/ExitDialog.wxs
new file mode 100644
index 0000000..98af122
--- /dev/null
+++ b/data/ext/ui/ExitDialog.wxs
@@ -0,0 +1,28 @@
+<!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft 
Reciprocal License. See LICENSE.txt file in this directory for full license information. -->
+
+
+<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs";>
+    <Fragment>
+        <UI>
+            <Dialog Id="ExitDialog" Width="370" Height="270" Title="[ProductName] Setup">
+                <Control Id="Finish" Type="PushButton" X="236" Y="243" Width="56" Height="17" Default="yes" 
Cancel="yes" Text="Finish" />
+                <Control Id="Cancel" Type="PushButton" X="304" Y="243" Width="56" Height="17" Disabled="yes" 
Text="Cancel" />
+                <Control Id="Bitmap" Type="Bitmap" X="0" Y="0" Width="370" Height="234" TabSkip="no" 
Text="WixUI_Bmp_Dialog" />
+                <Control Id="Back" Type="PushButton" X="180" Y="243" Width="56" Height="17" Disabled="yes" 
Text="Back" />
+                <Control Id="BottomLine" Type="Line" X="0" Y="234" Width="370" Height="0" />
+                <Control Id="Description" Type="Text" X="135" Y="70" Width="220" Height="40" 
Transparent="yes" NoPrefix="yes" Text="Click the Finish button to exit the Setup Wizard." />
+                <Control Id="Title" Type="Text" X="135" Y="20" Width="220" Height="60" Transparent="yes" 
NoPrefix="yes" Text="{\WixUI_Font_Bigger}Completed the [ProductName] Setup Wizard" />
+                <Control Id="OptionalText" Type="Text" X="135" Y="110" Width="220" Height="80" 
Transparent="yes" NoPrefix="yes" Hidden="yes" Text="[WIXUI_EXITDIALOGOPTIONALTEXT]" 
ShowCondition="WIXUI_EXITDIALOGOPTIONALTEXT AND NOT Installed" />
+                <Control Id="OptionalCheckBox" Type="CheckBox" X="135" Y="190" Width="220" Height="40" 
Hidden="yes" Property="WIXUI_EXITDIALOGOPTIONALCHECKBOX" CheckBoxValue="1" 
Text="[WIXUI_EXITDIALOGOPTIONALCHECKBOXTEXT]" ShowCondition="WIXUI_EXITDIALOGOPTIONALCHECKBOXTEXT AND NOT 
Installed" />
+            </Dialog>
+
+            <InstallUISequence>
+                <Show Dialog="ExitDialog" OnExit="success" Overridable="yes" />
+            </InstallUISequence>
+
+            <AdminUISequence>
+                <Show Dialog="ExitDialog" OnExit="success" Overridable="yes" />
+            </AdminUISequence>
+        </UI>
+    </Fragment>
+</Wix>
diff --git a/data/ext/ui/FatalError.wxs b/data/ext/ui/FatalError.wxs
new file mode 100644
index 0000000..180ded2
--- /dev/null
+++ b/data/ext/ui/FatalError.wxs
@@ -0,0 +1,28 @@
+<!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft 
Reciprocal License. See LICENSE.txt file in this directory for full license information. -->
+
+
+<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs";>
+    <Fragment>
+        <UI>
+            <Dialog Id="FatalError" Width="370" Height="270" Title="[ProductName] Setup">
+                <Control Id="Finish" Type="PushButton" X="236" Y="243" Width="56" Height="17" Default="yes" 
Cancel="yes" Text="Finish">
+                    <Publish Event="EndDialog" Value="Exit" />
+                </Control>
+                <Control Id="Cancel" Type="PushButton" X="304" Y="243" Width="56" Height="17" Disabled="yes" 
Text="Cancel" />
+                <Control Id="Bitmap" Type="Bitmap" X="0" Y="0" Width="370" Height="234" TabSkip="no" 
Text="WixUI_Bmp_Dialog" />
+                <Control Id="Back" Type="PushButton" X="180" Y="243" Width="56" Height="17" Disabled="yes" 
Text="Back" />
+                <Control Id="BottomLine" Type="Line" X="0" Y="234" Width="370" Height="0" />
+                <Control Id="Title" Type="Text" X="135" Y="20" Width="220" Height="60" Transparent="yes" 
NoPrefix="yes" Text="{\WixUI_Font_Bigger}[ProductName] Setup Wizard ended prematurely" />
+                <Control Id="Description" Type="Text" X="135" Y="70" Width="220" Height="80" 
Transparent="yes" NoPrefix="yes" Text="[ProductName] Setup Wizard ended prematurely because of an error. Your 
system has not been modified. To install this program at a later time, run Setup Wizard again. Click the 
Finish button to exit the Setup Wizard." />
+            </Dialog>
+
+            <InstallUISequence>
+                <Show Dialog="FatalError" OnExit="error" Overridable="yes" />
+            </InstallUISequence>
+
+            <AdminUISequence>
+                <Show Dialog="FatalError" OnExit="error" Overridable="yes" />
+            </AdminUISequence>
+        </UI>
+    </Fragment>
+</Wix>
diff --git a/data/ext/ui/FilesInUse.wxs b/data/ext/ui/FilesInUse.wxs
new file mode 100644
index 0000000..c3d1c86
--- /dev/null
+++ b/data/ext/ui/FilesInUse.wxs
@@ -0,0 +1,27 @@
+<!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft 
Reciprocal License. See LICENSE.txt file in this directory for full license information. -->
+
+
+<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs";>
+    <Fragment>
+        <UI>
+            <Dialog Id="FilesInUse" Width="370" Height="270" Title="[ProductName] Setup" KeepModeless="yes">
+                <Control Id="Retry" Type="PushButton" X="304" Y="243" Width="56" Height="17" Default="yes" 
Cancel="yes" Text="Retry">
+                    <Publish Event="EndDialog" Value="Retry" />
+                </Control>
+                <Control Id="Ignore" Type="PushButton" X="235" Y="243" Width="56" Height="17" Text="Ignore">
+                    <Publish Event="EndDialog" Value="Ignore" />
+                </Control>
+                <Control Id="Exit" Type="PushButton" X="166" Y="243" Width="56" Height="17" Text="Exit">
+                    <Publish Event="EndDialog" Value="Exit" />
+                </Control>
+                <Control Id="BannerBitmap" Type="Bitmap" X="0" Y="0" Width="370" Height="44" TabSkip="no" 
Text="WixUI_Bmp_Banner" />
+                <Control Id="Text" Type="Text" X="20" Y="55" Width="330" Height="30" Text="The following 
applications are using files that need to be updated by this setup. Close these applications and then click 
Retry to continue setup or Exit to exit it." />
+                <Control Id="BannerLine" Type="Line" X="0" Y="44" Width="370" Height="0" />
+                <Control Id="BottomLine" Type="Line" X="0" Y="234" Width="370" Height="0" />
+                <Control Id="Description" Type="Text" X="20" Y="23" Width="280" Height="20" 
Transparent="yes" NoPrefix="yes" Text="Some files that need to be updated are currently in use." />
+                <Control Id="Title" Type="Text" X="15" Y="6" Width="200" Height="15" Transparent="yes" 
NoPrefix="yes" Text="{\WixUI_Font_Title}Files in Use" />
+                <Control Id="List" Type="ListBox" X="20" Y="87" Width="330" Height="130" 
Property="FileInUseProcess" Sunken="yes" TabSkip="yes" />
+            </Dialog>
+        </UI>
+    </Fragment>
+</Wix>
diff --git a/data/ext/ui/LICENSE.txt b/data/ext/ui/LICENSE.txt
new file mode 100644
index 0000000..d4d316e
--- /dev/null
+++ b/data/ext/ui/LICENSE.txt
@@ -0,0 +1,28 @@
+Copyright (c) .NET Foundation and contributors.
+This software is released under the Microsoft Reciprocal License (MS-RL) (the "License"); you may not use 
the software except in compliance with the License.
+
+The text of the Microsoft Reciprocal License (MS-RL) can be found online at:
+ http://opensource.org/licenses/ms-rl
+
+
+Microsoft Reciprocal License (MS-RL)
+
+This license governs use of the accompanying software. If you use the software, you accept this license. If 
you do not accept the license, do not use the software.
+
+1. Definitions
+ The terms "reproduce," "reproduction," "derivative works," and "distribution" have the same meaning here as 
under U.S. copyright law.
+ A "contribution" is the original software, or any additions or changes to the software.
+ A "contributor" is any person that distributes its contribution under this license.
+ "Licensed patents" are a contributor's patent claims that read directly on its contribution.
+
+2. Grant of Rights
+ (A) Copyright Grant- Subject to the terms of this license, including the license conditions and limitations 
in section 3, each contributor grants you a non-exclusive, worldwide, royalty-free copyright license to 
reproduce its contribution, prepare derivative works of its contribution, and distribute its contribution or 
any derivative works that you create.
+ (B) Patent Grant- Subject to the terms of this license, including the license conditions and limitations in 
section 3, each contributor grants you a non-exclusive, worldwide, royalty-free license under its licensed 
patents to make, have made, use, sell, offer for sale, import, and/or otherwise dispose of its contribution 
in the software or derivative works of the contribution in the software.
+
+3. Conditions and Limitations
+ (A) Reciprocal Grants- For any file you distribute that contains code from the software (in source code or 
binary format), you must provide recipients the source code to that file along with a copy of this license, 
which license will govern that file. You may license other files that are entirely your own work and do not 
contain code from the software under any terms you choose.
+ (B) No Trademark License- This license does not grant you rights to use any contributors' name, logo, or 
trademarks.
+ (C) If you bring a patent claim against any contributor over patents that you claim are infringed by the 
software, your patent license from such contributor to the software ends automatically.
+ (D) If you distribute any portion of the software, you must retain all copyright, patent, trademark, and 
attribution notices that are present in the software.
+ (E) If you distribute any portion of the software in source code form, you may do so only under this 
license by including a complete copy of this license with your distribution. If you distribute any portion of 
the software in compiled or object code form, you may only do so under a license that complies with this 
license.
+ (F) The software is licensed "as-is." You bear the risk of using it. The contributors give no express 
warranties, guarantees or conditions. You may have additional consumer rights under your local laws which 
this license cannot change. To the extent permitted under your local laws, the contributors exclude the 
implied warranties of merchantability, fitness for a particular purpose and non-infringement.
diff --git a/data/ext/ui/MaintenanceTypeDlg.wxs b/data/ext/ui/MaintenanceTypeDlg.wxs
new file mode 100644
index 0000000..98d7790
--- /dev/null
+++ b/data/ext/ui/MaintenanceTypeDlg.wxs
@@ -0,0 +1,58 @@
+<!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft 
Reciprocal License. See LICENSE.txt file in this directory for full license information. -->
+
+
+<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs";>
+    <Fragment>
+        <UI>
+            <Property Id="BURNMSIMODIFY" Secure="yes" />
+            <Property Id="BURNMSIREPAIR" Secure="yes" />
+            <Property Id="BURNMSIUNINSTALL" Secure="yes" />
+
+            <Dialog Id="MaintenanceTypeDlg" Width="370" Height="270" Title="[ProductName] Setup">
+
+                <Control Id="ChangeButton" Type="PushButton" X="40" Y="65" Width="80" Height="17" 
ToolTip="yes" Default="yes" Text="Change"
+                    DisableCondition="ARPNOMODIFY OR BURNMSIREPAIR OR BURNMSIUNINSTALL">
+                    <Publish Property="WixUI_InstallMode" Value="Change" />
+                </Control>
+                <Control Id="ChangeText" Type="Text" X="60" Y="85" Width="280" Height="20" Text="Lets you 
change the way features are installed."
+                    HideCondition="ARPNOMODIFY OR BURNMSIREPAIR OR BURNMSIUNINSTALL"
+                    />
+                <Control Id="ChangeDisabledText" Type="Text" X="60" Y="85" Width="280" Height="20" 
NoPrefix="yes" Text="[ProductName] has no independently selectable features."
+                    Hidden="yes" ShowCondition="ARPNOMODIFY OR BURNMSIREPAIR OR BURNMSIUNINSTALL"
+                    />
+
+                <Control Id="RepairButton" Type="PushButton" X="40" Y="118" Width="80" Height="17" 
ToolTip="yes" Text="Repair"
+                    DisableCondition="ARPNOREPAIR OR BURNMSIMODIFY OR BURNMSIUNINSTALL">
+                    <Publish Property="WixUI_InstallMode" Value="Repair" />
+                </Control>
+                <Control Id="RepairText" Type="Text" X="60" Y="138" Width="280" Height="30" Text="Repairs 
errors in the most recent installation by fixing missing and corrupt files, shortcuts, and registry entries."
+                    HideCondition="ARPNOREPAIR OR BURNMSIMODIFY OR BURNMSIUNINSTALL"
+                    />
+                <Control Id="RepairDisabledText" Type="Text" X="60" Y="138" Width="280" Height="30" 
NoPrefix="yes" Text="[ProductName] cannot be repaired."
+                    Hidden="yes" ShowCondition="ARPNOREPAIR OR BURNMSIMODIFY OR BURNMSIUNINSTALL" />
+
+                <Control Id="RemoveButton" Type="PushButton" X="40" Y="171" Width="80" Height="17" 
ToolTip="yes" Text="Remove"
+                    DisableCondition="ARPNOREMOVE OR BURNMSIREPAIR OR BURNMSIMODIFY">
+                    <Publish Property="WixUI_InstallMode" Value="Remove" />
+                </Control>
+                <Control Id="RemoveText" Type="Text" X="60" Y="191" Width="280" Height="20" NoPrefix="yes" 
Text="Removes [ProductName] from your computer."
+                    HideCondition="ARPNOREMOVE OR BURNMSIREPAIR OR BURNMSIMODIFY"
+                    />
+                <Control Id="RemoveDisabledText" Type="Text" X="60" Y="191" Width="280" Height="20" 
NoPrefix="yes" Text="[ProductName] cannot be removed." Hidden="yes"
+                    ShowCondition="ARPNOREMOVE OR BURNMSIREPAIR OR BURNMSIMODIFY"
+                    />
+
+                <Control Id="Back" Type="PushButton" X="180" Y="243" Width="56" Height="17" Text="Back" />
+                <Control Id="Next" Type="PushButton" X="236" Y="243" Width="56" Height="17" Disabled="yes" 
Text="Next" />
+                <Control Id="Cancel" Type="PushButton" X="304" Y="243" Width="56" Height="17" Cancel="yes" 
Text="Cancel">
+                    <Publish Event="SpawnDialog" Value="CancelDlg" />
+                </Control>
+                <Control Id="BannerBitmap" Type="Bitmap" X="0" Y="0" Width="370" Height="44" TabSkip="no" 
Text="WixUI_Bmp_Banner" />
+                <Control Id="BannerLine" Type="Line" X="0" Y="44" Width="370" Height="0" />
+                <Control Id="BottomLine" Type="Line" X="0" Y="234" Width="370" Height="0" />
+                <Control Id="Title" Type="Text" X="15" Y="6" Width="340" Height="15" Transparent="yes" 
NoPrefix="yes" Text="{\WixUI_Font_Title}Change, repair, or remove installation" />
+                <Control Id="Description" Type="Text" X="25" Y="23" Width="340" Height="20" 
Transparent="yes" NoPrefix="yes" Text="Select the operation you wish to perform." />
+            </Dialog>
+        </UI>
+    </Fragment>
+</Wix>
diff --git a/data/ext/ui/MaintenanceWelcomeDlg.wxs b/data/ext/ui/MaintenanceWelcomeDlg.wxs
new file mode 100644
index 0000000..a05e954
--- /dev/null
+++ b/data/ext/ui/MaintenanceWelcomeDlg.wxs
@@ -0,0 +1,26 @@
+<!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft 
Reciprocal License. See LICENSE.txt file in this directory for full license information. -->
+
+
+<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs";>
+    <Fragment>
+        <UI>
+            <Dialog Id="MaintenanceWelcomeDlg" Width="370" Height="270" Title="[ProductName] Setup">
+                <Control Id="Next" Type="PushButton" X="236" Y="243" Width="56" Height="17" Default="yes" 
Text="Next">
+                    <Publish Event="SpawnWaitDialog" Value="WaitForCostingDlg" Condition="1 OR 
CostingComplete = 1" />
+                </Control>
+                <Control Id="Cancel" Type="PushButton" X="304" Y="243" Width="56" Height="17" Cancel="yes" 
Text="Cancel">
+                    <Publish Event="SpawnDialog" Value="CancelDlg" />
+                </Control>
+                <Control Id="Bitmap" Type="Bitmap" X="0" Y="0" Width="370" Height="234" TabSkip="no" 
Text="WixUI_Bmp_Dialog" />
+                <Control Id="Back" Type="PushButton" X="180" Y="243" Width="56" Height="17" Disabled="yes" 
Text="Back" />
+                <Control Id="BottomLine" Type="Line" X="0" Y="234" Width="370" Height="0" />
+                <Control Id="Title" Type="Text" X="135" Y="20" Width="220" Height="60" Transparent="yes" 
NoPrefix="yes" Text="{\WixUI_Font_Bigger}Welcome to the [ProductName] Setup Wizard" />
+                <Control Id="Description" Type="Text" X="135" Y="70" Width="220" Height="60" 
Transparent="yes" NoPrefix="yes" Text="The Setup Wizard allows you to change the way [ProductName] features 
are installed on your computer or to remove it from your computer. Click Next to continue or Cancel to exit 
the Setup Wizard." />
+            </Dialog>
+
+            <InstallUISequence>
+                <Show Dialog="MaintenanceWelcomeDlg" Before="ProgressDlg" Overridable="yes" 
Condition="Installed AND NOT RESUME AND NOT Preselected AND NOT PATCH" />
+            </InstallUISequence>
+        </UI>
+    </Fragment>
+</Wix>
diff --git a/data/ext/ui/MsiRMFilesInUse.wxs b/data/ext/ui/MsiRMFilesInUse.wxs
new file mode 100644
index 0000000..26449da
--- /dev/null
+++ b/data/ext/ui/MsiRMFilesInUse.wxs
@@ -0,0 +1,34 @@
+<!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft 
Reciprocal License. See LICENSE.txt file in this directory for full license information. -->
+
+
+<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs";>
+    <Fragment>
+        <UI>
+            <Property Id="WixUIRMOption" Value="UseRM" />
+            <Dialog Id="MsiRMFilesInUse" Width="370" Height="270" Title="[ProductName] Setup" 
KeepModeless="yes">
+                <Control Id="OK" Type="PushButton" X="240" Y="243" Width="56" Height="17" Default="yes" 
Text="OK">
+                    <Publish Event="EndDialog" Value="Return" />
+                    <Publish Event="RMShutdownAndRestart" Value="0" 
Condition="WixUIRMOption~=&quot;UseRM&quot;" />
+                </Control>
+                <Control Id="Cancel" Type="PushButton" X="304" Y="243" Width="56" Height="17" Cancel="yes" 
Text="Cancel">
+                    <Publish Event="EndDialog" Value="Exit" />
+                </Control>
+
+                <Control Id="ShutdownOption" Type="RadioButtonGroup" X="26" Y="190" Width="305" Height="45" 
Property="WixUIRMOption">
+                    <RadioButtonGroup Property="WixUIRMOption">
+                        <RadioButton Value="UseRM" X="0" Y="0" Width="295" Height="16" Text="Close the 
applications and attempt to restart them." />
+                        <RadioButton Value="DontUseRM" X="0" Y="20" Width="295" Height="16" Text="Do not 
close applications. A reboot will be required." />
+                    </RadioButtonGroup>
+                </Control>
+
+                <Control Id="List" Type="ListBox" X="20" Y="100" Width="330" Height="80" 
Property="FileInUseProcess" Sunken="yes" TabSkip="yes" />
+                <Control Id="BannerBitmap" Type="Bitmap" X="0" Y="0" Width="370" Height="44" TabSkip="no" 
Text="WixUI_Bmp_Banner" />
+                <Control Id="Text" Type="Text" X="20" Y="55" Width="330" Height="45" Text="The following 
applications are using files that need to be updated by this setup. You can let Setup Wizard close them and 
attempt to restart them or reboot the machine later." />
+                <Control Id="BannerLine" Type="Line" X="0" Y="44" Width="370" Height="0" />
+                <Control Id="BottomLine" Type="Line" X="0" Y="234" Width="370" Height="0" />
+                <Control Id="Description" Type="Text" X="20" Y="23" Width="280" Height="20" 
Transparent="yes" NoPrefix="yes" Text="Some files that need to be updated are currently in use." />
+                <Control Id="Title" Type="Text" X="15" Y="6" Width="200" Height="15" Transparent="yes" 
NoPrefix="yes" Text="{\WixUI_Font_Title}Files in Use" />
+            </Dialog>
+        </UI>
+    </Fragment>
+</Wix>
diff --git a/data/ext/ui/OutOfDiskDlg.wxs b/data/ext/ui/OutOfDiskDlg.wxs
new file mode 100644
index 0000000..8b831ec
--- /dev/null
+++ b/data/ext/ui/OutOfDiskDlg.wxs
@@ -0,0 +1,22 @@
+<!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft 
Reciprocal License. See LICENSE.txt file in this directory for full license information. -->
+
+
+<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs";>
+    <Fragment>
+        <UI>
+            <Dialog Id="OutOfDiskDlg" Width="370" Height="270" Title="[ProductName] Setup">
+                <Control Id="OK" Type="PushButton" X="304" Y="243" Width="56" Height="17" Default="yes" 
Cancel="yes" Text="OK">
+                    <Publish Event="EndDialog" Value="Return" />
+                </Control>
+                <Control Id="BannerBitmap" Type="Bitmap" X="0" Y="0" Width="370" Height="44" TabSkip="no" 
Text="WixUI_Bmp_Banner" />
+                <Control Id="Text" Type="Text" X="20" Y="53" Width="330" Height="60" Text="The highlighted 
volumes do not have enough disk space available for the currently selected features. You can remove some 
files from
+                 the highlighted volumes, install fewer features, or select a different destination drive." 
/>
+                <Control Id="BannerLine" Type="Line" X="0" Y="44" Width="370" Height="0" />
+                <Control Id="BottomLine" Type="Line" X="0" Y="234" Width="370" Height="0" />
+                <Control Id="Description" Type="Text" X="20" Y="20" Width="280" Height="20" 
Transparent="yes" NoPrefix="yes" Text="Disk space required for the installation exceeds available disk 
space." />
+                <Control Id="Title" Type="Text" X="15" Y="6" Width="200" Height="15" Transparent="yes" 
NoPrefix="yes" Text="{\WixUI_Font_Title}Out of Disk Space" />
+                <Control Id="VolumeList" Type="VolumeCostList" X="20" Y="120" Width="330" Height="100" 
Sunken="yes" Fixed="yes" Remote="yes" Text="{120}{70}{70}{70}{70}" />
+            </Dialog>
+        </UI>
+    </Fragment>
+</Wix>
diff --git a/data/ext/ui/OutOfRbDiskDlg.wxs b/data/ext/ui/OutOfRbDiskDlg.wxs
new file mode 100644
index 0000000..e061c39
--- /dev/null
+++ b/data/ext/ui/OutOfRbDiskDlg.wxs
@@ -0,0 +1,25 @@
+<!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft 
Reciprocal License. See LICENSE.txt file in this directory for full license information. -->
+
+
+<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs";>
+    <Fragment>
+        <UI>
+            <Dialog Id="OutOfRbDiskDlg" Width="370" Height="270" Title="[ProductName] Setup">
+                <Control Id="No" Type="PushButton" X="304" Y="243" Width="56" Height="17" Default="yes" 
Cancel="yes" Text="No">
+                    <Publish Event="EndDialog" Value="Return" />
+                </Control>
+                <Control Id="Yes" Type="PushButton" X="240" Y="243" Width="56" Height="17" Text="Yes">
+                    <Publish Event="EnableRollback" Value="False" />
+                    <Publish Event="EndDialog" Value="Return" />
+                </Control>
+                <Control Id="BannerBitmap" Type="Bitmap" X="0" Y="0" Width="370" Height="44" TabSkip="no" 
Text="WixUI_Bmp_Banner" />
+                <Control Id="Text" Type="Text" X="20" Y="53" Width="330" Height="90" Text="The highlighted 
volumes do not have enough disk space available for the currently selected features. You can remove some 
files from the highlighted volumes, install fewer features, or select a different destination drive. 
Alternatively, you may choose to disable the installer's rollback functionality. Disabling rollback prevents 
the installer from restoring your computer's original state should the installation be interrupted in any 
way. Click Yes if you wish to take the risk of disabling rollback." />
+                <Control Id="BannerLine" Type="Line" X="0" Y="44" Width="370" Height="0" />
+                <Control Id="BottomLine" Type="Line" X="0" Y="234" Width="370" Height="0" />
+                <Control Id="Description" Type="Text" X="20" Y="20" Width="280" Height="20" 
Transparent="yes" NoPrefix="yes" Text="Disk space required for the installation exceeds available disk 
space." />
+                <Control Id="Title" Type="Text" X="15" Y="6" Width="200" Height="15" Transparent="yes" 
NoPrefix="yes" Text="{\WixUI_Font_Title}Out of Disk Space" />
+                <Control Id="VolumeList" Type="VolumeCostList" X="20" Y="150" Width="330" Height="70" 
Sunken="yes" Fixed="yes" Remote="yes" ShowRollbackCost="yes" Text="{120}{70}{70}{70}{70}" />
+            </Dialog>
+        </UI>
+    </Fragment>
+</Wix>
diff --git a/data/ext/ui/PrepareDlg.wxs b/data/ext/ui/PrepareDlg.wxs
new file mode 100644
index 0000000..fd11b47
--- /dev/null
+++ b/data/ext/ui/PrepareDlg.wxs
@@ -0,0 +1,30 @@
+<!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft 
Reciprocal License. See LICENSE.txt file in this directory for full license information. -->
+
+
+<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs";>
+    <Fragment>
+        <UI>
+            <Dialog Id="PrepareDlg" Width="370" Height="270" Title="[ProductName] Setup" Modeless="yes">
+                <Control Id="Cancel" Type="PushButton" X="304" Y="243" Width="56" Height="17" Default="yes" 
Cancel="yes" Text="Cancel">
+                    <Publish Event="SpawnDialog" Value="CancelDlg" />
+                </Control>
+                <Control Id="Bitmap" Type="Bitmap" X="0" Y="0" Width="370" Height="234" TabSkip="no" 
Text="WixUI_Bmp_Dialog" />
+                <Control Id="BottomLine" Type="Line" X="0" Y="234" Width="370" Height="0" />
+                <Control Id="Description" Type="Text" X="135" Y="70" Width="220" Height="20" 
Transparent="yes" NoPrefix="yes" Text="Please wait while the Setup Wizard prepares to guide you through the 
installation." />
+                <Control Id="Title" Type="Text" X="135" Y="20" Width="220" Height="60" Transparent="yes" 
NoPrefix="yes" Text="{\WixUI_Font_Bigger}Welcome to the [ProductName] Setup Wizard" />
+                <Control Id="Back" Type="PushButton" X="180" Y="243" Width="56" Height="17" Disabled="yes" 
TabSkip="yes" Text="Back" />
+                <Control Id="Next" Type="PushButton" X="236" Y="243" Width="56" Height="17" Disabled="yes" 
TabSkip="yes" Text="Next" />
+                <Control Id="ActionData" Type="Text" X="135" Y="125" Width="220" Height="30" 
Transparent="yes" NoPrefix="yes">
+                    <Subscribe Event="ActionData" Attribute="Text" />
+                </Control>
+                <Control Id="ActionText" Type="Text" X="135" Y="100" Width="220" Height="20" 
Transparent="yes" NoPrefix="yes">
+                    <Subscribe Event="ActionText" Attribute="Text" />
+                </Control>
+            </Dialog>
+
+            <InstallUISequence>
+                <Show Dialog="PrepareDlg" Before="AppSearch" Overridable="yes" />
+            </InstallUISequence>
+        </UI>
+    </Fragment>
+</Wix>
diff --git a/data/ext/ui/ProgressDlg.wxs b/data/ext/ui/ProgressDlg.wxs
new file mode 100644
index 0000000..2f138d2
--- /dev/null
+++ b/data/ext/ui/ProgressDlg.wxs
@@ -0,0 +1,41 @@
+<!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft 
Reciprocal License. See LICENSE.txt file in this directory for full license information. -->
+
+
+<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs";>
+    <Fragment>
+        <UI>
+            <Dialog Id="ProgressDlg" Width="370" Height="270" Title="[ProductName] Setup" Modeless="yes">
+                <Control Id="Cancel" Type="PushButton" X="304" Y="243" Width="56" Height="17" Default="yes" 
Cancel="yes" Text="Cancel">
+                    <Publish Event="SpawnDialog" Value="CancelDlg" />
+                </Control>
+                <Control Id="BannerBitmap" Type="Bitmap" X="0" Y="0" Width="370" Height="44" TabSkip="no" 
Text="WixUI_Bmp_Banner" />
+                <Control Id="Back" Type="PushButton" X="180" Y="243" Width="56" Height="17" Disabled="yes" 
Text="Back" />
+                <Control Id="Next" Type="PushButton" X="236" Y="243" Width="56" Height="17" Disabled="yes" 
Text="Next" />
+                <Control Id="BannerLine" Type="Line" X="0" Y="44" Width="370" Height="0" />
+                <Control Id="BottomLine" Type="Line" X="0" Y="234" Width="370" Height="0" />
+                <!-- mutually exclusive title and description strings overlap  -->
+                <Control Id="TextInstalling" Type="Text" X="20" Y="65" Width="330" Height="35" Hidden="yes" 
NoPrefix="yes" Text="Please wait while the Setup Wizard installs [ProductName]." ShowCondition="NOT Installed 
OR (Installed AND (RESUME OR Preselected) AND NOT PATCH)" />
+                <Control Id="TitleInstalling" Type="Text" X="20" Y="15" Width="330" Height="15" 
Transparent="yes" NoPrefix="yes" Hidden="yes" Text="{\WixUI_Font_Title}Installing [ProductName]" 
ShowCondition="NOT Installed OR (Installed AND (RESUME OR Preselected) AND NOT PATCH)" />
+                <Control Id="TextChanging" Type="Text" X="20" Y="65" Width="330" Height="35" Hidden="yes" 
NoPrefix="yes" Text="Please wait while the Setup Wizard changes [ProductName]." 
ShowCondition="WixUI_InstallMode = &quot;Change&quot;" />
+                <Control Id="TitleChanging" Type="Text" X="20" Y="15" Width="330" Height="15" 
Transparent="yes" NoPrefix="yes" Hidden="yes" Text="{\WixUI_Font_Title}Changing [ProductName]" 
ShowCondition="WixUI_InstallMode = &quot;Change&quot;" />
+                <Control Id="TextRepairing" Type="Text" X="20" Y="65" Width="330" Height="35" Hidden="yes" 
NoPrefix="yes" Text="Please wait while the Setup Wizard repairs [ProductName]." 
ShowCondition="WixUI_InstallMode = &quot;Repair&quot;" />
+                <Control Id="TitleRepairing" Type="Text" X="20" Y="15" Width="330" Height="15" 
Transparent="yes" NoPrefix="yes" Hidden="yes" Text="{\WixUI_Font_Title}Repairing [ProductName]" 
ShowCondition="WixUI_InstallMode = &quot;Repair&quot;" />
+                <Control Id="TextRemoving" Type="Text" X="20" Y="65" Width="330" Height="35" Hidden="yes" 
NoPrefix="yes" Text="Please wait while the Setup Wizard removes [ProductName]." 
ShowCondition="WixUI_InstallMode = &quot;Remove&quot;" />
+                <Control Id="TitleRemoving" Type="Text" X="20" Y="15" Width="330" Height="15" 
Transparent="yes" NoPrefix="yes" Hidden="yes" Text="{\WixUI_Font_Title}Removing [ProductName]" 
ShowCondition="WixUI_InstallMode = &quot;Remove&quot;" />
+                <Control Id="TextUpdating" Type="Text" X="20" Y="65" Width="330" Height="35" Hidden="yes" 
NoPrefix="yes" Text="Please wait while the Setup Wizard updates [ProductName]." 
ShowCondition="WixUI_InstallMode = &quot;Update&quot;" />
+                <Control Id="TitleUpdating" Type="Text" X="20" Y="15" Width="330" Height="15" 
Transparent="yes" NoPrefix="yes" Hidden="yes" Text="{\WixUI_Font_Title}Updating [ProductName]" 
ShowCondition="WixUI_InstallMode = &quot;Update&quot;" />
+                <Control Id="ActionText" Type="Text" X="70" Y="100" Width="285" Height="10">
+                    <Subscribe Event="ActionText" Attribute="Text" />
+                </Control>
+                <Control Id="ProgressBar" Type="ProgressBar" X="20" Y="115" Width="330" Height="10" 
ProgressBlocks="yes" Text="Progress">
+                    <Subscribe Event="SetProgress" Attribute="Progress" />
+                </Control>
+                <Control Id="StatusLabel" Type="Text" X="20" Y="100" Width="50" Height="10" Text="Status:" />
+            </Dialog>
+
+            <InstallUISequence>
+                <Show Dialog="ProgressDlg" Before="ExecuteAction" Overridable="yes" />
+            </InstallUISequence>
+        </UI>
+    </Fragment>
+</Wix>
diff --git a/data/ext/ui/ResumeDlg.wxs b/data/ext/ui/ResumeDlg.wxs
new file mode 100644
index 0000000..52d19fa
--- /dev/null
+++ b/data/ext/ui/ResumeDlg.wxs
@@ -0,0 +1,40 @@
+<!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft 
Reciprocal License. See LICENSE.txt file in this directory for full license information. -->
+
+
+<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs";>
+    <Fragment>
+        <UI>
+            <Dialog Id="ResumeDlg" Width="370" Height="270" Title="[ProductName] Setup">
+                <Control Id="Install" Type="PushButton" ElevationShield="yes" X="212" Y="243" Width="80" 
Height="17" Default="yes" Text="Install" Hidden="yes" ShowCondition="ALLUSERS">
+                    <Publish Event="SpawnWaitDialog" Value="WaitForCostingDlg" Condition="1 OR 
CostingComplete = 1" />
+                    <Publish Event="EndDialog" Value="Return" Condition="OutOfDiskSpace &lt;&gt; 1" />
+                    <Publish Event="SpawnDialog" Value="OutOfRbDiskDlg" Condition="OutOfDiskSpace = 1 AND 
OutOfNoRbDiskSpace = 0 AND (PROMPTROLLBACKCOST=&quot;P&quot; OR NOT PROMPTROLLBACKCOST)" />
+                    <Publish Event="EndDialog" Value="Return" Condition="OutOfDiskSpace = 1 AND 
OutOfNoRbDiskSpace = 0 AND PROMPTROLLBACKCOST=&quot;D&quot;" />
+                    <Publish Event="EnableRollback" Value="False" Condition="OutOfDiskSpace = 1 AND 
OutOfNoRbDiskSpace = 0 AND PROMPTROLLBACKCOST=&quot;D&quot;" />
+                    <Publish Event="SpawnDialog" Value="OutOfDiskDlg" Condition="(OutOfDiskSpace = 1 AND 
OutOfNoRbDiskSpace = 1) OR (OutOfDiskSpace = 1 AND PROMPTROLLBACKCOST=&quot;F&quot;)" />
+                </Control>
+                <Control Id="InstallNoShield" Type="PushButton" ElevationShield="no" X="212" Y="243" 
Width="80" Height="17" Default="yes" Text="Install" Hidden="yes" ShowCondition="NOT ALLUSERS">
+                    <Publish Event="SpawnWaitDialog" Value="WaitForCostingDlg" Condition="1 OR 
CostingComplete = 1" />
+                    <Publish Event="EndDialog" Value="Return" Condition="OutOfDiskSpace &lt;&gt; 1" />
+                    <Publish Event="SpawnDialog" Value="OutOfRbDiskDlg" Condition="OutOfDiskSpace = 1 AND 
OutOfNoRbDiskSpace = 0 AND (PROMPTROLLBACKCOST=&quot;P&quot; OR NOT PROMPTROLLBACKCOST)" />
+                    <Publish Event="EndDialog" Value="Return" Condition="OutOfDiskSpace = 1 AND 
OutOfNoRbDiskSpace = 0 AND PROMPTROLLBACKCOST=&quot;D&quot;" />
+                    <Publish Event="EnableRollback" Value="False" Condition="OutOfDiskSpace = 1 AND 
OutOfNoRbDiskSpace = 0 AND PROMPTROLLBACKCOST=&quot;D&quot;" />
+                    <Publish Event="SpawnDialog" Value="OutOfDiskDlg" Condition="(OutOfDiskSpace = 1 AND 
OutOfNoRbDiskSpace = 1) OR (OutOfDiskSpace = 1 AND PROMPTROLLBACKCOST=&quot;F&quot;)" />
+                </Control>
+                <Control Id="Cancel" Type="PushButton" X="304" Y="243" Width="56" Height="17" Cancel="yes" 
Text="Cancel">
+                    <Publish Event="SpawnDialog" Value="CancelDlg" />
+                </Control>
+                <Control Id="Bitmap" Type="Bitmap" X="0" Y="0" Width="370" Height="234" TabSkip="no" 
Text="WixUI_Bmp_Dialog" />
+                <Control Id="Back" Type="PushButton" X="156" Y="243" Width="56" Height="17" Disabled="yes" 
Text="Back" />
+                <Control Id="BottomLine" Type="Line" X="0" Y="234" Width="370" Height="0" />
+                <Control Id="Description" Type="Text" X="135" Y="80" Width="220" Height="60" 
Transparent="yes" NoPrefix="yes" Text="The Setup Wizard will complete the installation of [ProductName] on 
your computer. Click Install to continue or Cancel to e
+                xit the Setup Wizard." />
+                <Control Id="Title" Type="Text" X="135" Y="20" Width="220" Height="60" Transparent="yes" 
NoPrefix="yes" Text="{\WixUI_Font_Bigger}Resuming the [ProductName] Setup Wizard" />
+            </Dialog>
+
+            <InstallUISequence>
+                <Show Dialog="ResumeDlg" Before="ProgressDlg" Overridable="yes" Condition="Installed AND 
(RESUME OR Preselected)" />
+            </InstallUISequence>
+        </UI>
+    </Fragment>
+</Wix>
diff --git a/data/ext/ui/UserExit.wxs b/data/ext/ui/UserExit.wxs
new file mode 100644
index 0000000..cb89770
--- /dev/null
+++ b/data/ext/ui/UserExit.wxs
@@ -0,0 +1,28 @@
+<!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft 
Reciprocal License. See LICENSE.txt file in this directory for full license information. -->
+
+
+<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs";>
+    <Fragment>
+        <UI>
+            <Dialog Id="UserExit" Width="370" Height="270" Title="[ProductName] Setup">
+                <Control Id="Finish" Type="PushButton" X="236" Y="243" Width="56" Height="17" Default="yes" 
Cancel="yes" Text="Finish">
+                    <Publish Event="EndDialog" Value="Exit" />
+                </Control>
+                <Control Id="Cancel" Type="PushButton" X="304" Y="243" Width="56" Height="17" Disabled="yes" 
Text="Cancel" />
+                <Control Id="Bitmap" Type="Bitmap" X="0" Y="0" Width="370" Height="234" TabSkip="no" 
Text="WixUI_Bmp_Dialog" />
+                <Control Id="Back" Type="PushButton" X="180" Y="243" Width="56" Height="17" Disabled="yes" 
Text="Back" />
+                <Control Id="BottomLine" Type="Line" X="0" Y="234" Width="370" Height="0" />
+                <Control Id="Title" Type="Text" X="135" Y="20" Width="220" Height="60" Transparent="yes" 
NoPrefix="yes" Text="{\WixUI_Font_Bigger}[ProductName] Setup Wizard was interrupted" />
+                <Control Id="Description" Type="Text" X="135" Y="80" Width="220" Height="80" 
Transparent="yes" NoPrefix="yes" Text="[ProductName] setup was interrupted. Your system has not been 
modified. To install this program at a later time, please run the installation again. Click the Finish button 
to exit the Setup Wizard." />
+            </Dialog>
+
+            <InstallUISequence>
+                <Show Dialog="UserExit" OnExit="cancel" Overridable="yes" />
+            </InstallUISequence>
+
+            <AdminUISequence>
+                <Show Dialog="UserExit" OnExit="cancel" Overridable="yes" />
+            </AdminUISequence>
+        </UI>
+    </Fragment>
+</Wix>
diff --git a/data/ext/ui/VerifyReadyDlg.wxs b/data/ext/ui/VerifyReadyDlg.wxs
new file mode 100644
index 0000000..4de457c
--- /dev/null
+++ b/data/ext/ui/VerifyReadyDlg.wxs
@@ -0,0 +1,97 @@
+<!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft 
Reciprocal License. See LICENSE.txt file in this directory for full license information. -->
+
+
+<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs";>
+    <Fragment>
+        <UI>
+            <Dialog Id="VerifyReadyDlg" Width="370" Height="270" Title="[ProductName] Setup" 
TrackDiskSpace="yes">
+                <Control Id="Install" Type="PushButton" ElevationShield="yes" X="212" Y="243" Width="80" 
Height="17" Default="yes" Hidden="yes" Disabled="yes" Text="Install" ShowCondition="NOT Installed AND 
ALLUSERS" EnableCondition="NOT Installed" DefaultCondition="NOT Installed">
+                    <Publish Event="EndDialog" Value="Return" Condition="OutOfDiskSpace &lt;&gt; 1" />
+                    <Publish Event="SpawnDialog" Value="OutOfRbDiskDlg" Condition="OutOfDiskSpace = 1 AND 
OutOfNoRbDiskSpace = 0 AND (PROMPTROLLBACKCOST=&quot;P&quot; OR NOT PROMPTROLLBACKCOST)" />
+                    <Publish Event="EndDialog" Value="Return" Condition="OutOfDiskSpace = 1 AND 
OutOfNoRbDiskSpace = 0 AND PROMPTROLLBACKCOST=&quot;D&quot;" />
+                    <Publish Event="EnableRollback" Value="False" Condition="OutOfDiskSpace = 1 AND 
OutOfNoRbDiskSpace = 0 AND PROMPTROLLBACKCOST=&quot;D&quot;" />
+                    <Publish Event="SpawnDialog" Value="OutOfDiskDlg" Condition="(OutOfDiskSpace = 1 AND 
OutOfNoRbDiskSpace = 1) OR (OutOfDiskSpace = 1 AND PROMPTROLLBACKCOST=&quot;F&quot;)" />
+                </Control>
+                <Control Id="InstallNoShield" Type="PushButton" ElevationShield="no" X="212" Y="243" 
Width="80" Height="17" Default="yes" Hidden="yes" Disabled="yes" Text="Install" ShowCondition="NOT Installed 
AND NOT ALLUSERS" EnableCondition="NOT Installed" DefaultCondition="NOT Installed">
+                    <Publish Event="EndDialog" Value="Return" Condition="OutOfDiskSpace &lt;&gt; 1" />
+                    <Publish Event="SpawnDialog" Value="OutOfRbDiskDlg" Condition="OutOfDiskSpace = 1 AND 
OutOfNoRbDiskSpace = 0 AND (PROMPTROLLBACKCOST=&quot;P&quot; OR NOT PROMPTROLLBACKCOST)" />
+                    <Publish Event="EndDialog" Value="Return" Condition="OutOfDiskSpace = 1 AND 
OutOfNoRbDiskSpace = 0 AND PROMPTROLLBACKCOST=&quot;D&quot;" />
+                    <Publish Event="EnableRollback" Value="False" Condition="OutOfDiskSpace = 1 AND 
OutOfNoRbDiskSpace = 0 AND PROMPTROLLBACKCOST=&quot;D&quot;" />
+                    <Publish Event="SpawnDialog" Value="OutOfDiskDlg" Condition="(OutOfDiskSpace = 1 AND 
OutOfNoRbDiskSpace = 1) OR (OutOfDiskSpace = 1 AND PROMPTROLLBACKCOST=&quot;F&quot;)" />
+                </Control>
+                <Control Id="Change" Type="PushButton" ElevationShield="yes" X="212" Y="243" Width="80" 
Height="17" Default="yes" Hidden="yes" Disabled="yes" Text="Change" ShowCondition="WixUI_InstallMode = 
&quot;Change&quot; AND ALLUSERS AND (ADDLOCAL OR REMOVE)" EnableCondition="WixUI_InstallMode = 
&quot;Change&quot;" DefaultCondition="WixUI_InstallMode = &quot;Change&quot;">
+                    <Publish Event="EndDialog" Value="Return" Condition="OutOfDiskSpace &lt;&gt; 1" />
+                    <Publish Event="SpawnDialog" Value="OutOfRbDiskDlg" Condition="OutOfDiskSpace = 1 AND 
OutOfNoRbDiskSpace = 0 AND (PROMPTROLLBACKCOST=&quot;P&quot; OR NOT PROMPTROLLBACKCOST)" />
+                    <Publish Event="EndDialog" Value="Return" Condition="OutOfDiskSpace = 1 AND 
OutOfNoRbDiskSpace = 0 AND PROMPTROLLBACKCOST=&quot;D&quot;" />
+                    <Publish Event="EnableRollback" Value="False" Condition="OutOfDiskSpace = 1 AND 
OutOfNoRbDiskSpace = 0 AND PROMPTROLLBACKCOST=&quot;D&quot;" />
+                    <Publish Event="SpawnDialog" Value="OutOfDiskDlg" Condition="(OutOfDiskSpace = 1 AND 
OutOfNoRbDiskSpace = 1) OR (OutOfDiskSpace = 1 AND PROMPTROLLBACKCOST=&quot;F&quot;)" />
+                </Control>
+                <Control Id="ChangeNoShield" Type="PushButton" ElevationShield="no" X="212" Y="243" 
Width="80" Height="17" Default="yes" Hidden="yes" Disabled="yes" Text="Change" 
ShowCondition="WixUI_InstallMode = &quot;Change&quot; AND (NOT ALLUSERS OR (NOT ADDLOCAL AND NOT REMOVE))" 
EnableCondition="WixUI_InstallMode = &quot;Change&quot;" DefaultCondition="WixUI_InstallMode = 
&quot;Change&quot;">
+                    <Publish Event="EndDialog" Value="Return" Condition="OutOfDiskSpace &lt;&gt; 1" />
+                    <Publish Event="SpawnDialog" Value="OutOfRbDiskDlg" Condition="OutOfDiskSpace = 1 AND 
OutOfNoRbDiskSpace = 0 AND (PROMPTROLLBACKCOST=&quot;P&quot; OR NOT PROMPTROLLBACKCOST)" />
+                    <Publish Event="EndDialog" Value="Return" Condition="OutOfDiskSpace = 1 AND 
OutOfNoRbDiskSpace = 0 AND PROMPTROLLBACKCOST=&quot;D&quot;" />
+                    <Publish Event="EnableRollback" Value="False" Condition="OutOfDiskSpace = 1 AND 
OutOfNoRbDiskSpace = 0 AND PROMPTROLLBACKCOST=&quot;D&quot;" />
+                    <Publish Event="SpawnDialog" Value="OutOfDiskDlg" Condition="(OutOfDiskSpace = 1 AND 
OutOfNoRbDiskSpace = 1) OR (OutOfDiskSpace = 1 AND PROMPTROLLBACKCOST=&quot;F&quot;)" />
+                </Control>
+                <Control Id="Repair" Type="PushButton" X="212" Y="243" Width="80" Height="17" Default="yes" 
Hidden="yes" Disabled="yes" Text="Repair" ShowCondition="WixUI_InstallMode = &quot;Repair&quot;" 
EnableCondition="WixUI_InstallMode = &quot;Repair&quot;" DefaultCondition="WixUI_InstallMode = 
&quot;Repair&quot;">
+                    <Publish Event="ReinstallMode" Value="ecmus" Condition="OutOfDiskSpace &lt;&gt; 1" />
+                    <Publish Event="Reinstall" Value="All" Condition="OutOfDiskSpace &lt;&gt; 1" />
+                    <Publish Event="EndDialog" Value="Return" Condition="OutOfDiskSpace &lt;&gt; 1" />
+                    <Publish Event="SpawnDialog" Value="OutOfRbDiskDlg" Condition="OutOfDiskSpace = 1 AND 
OutOfNoRbDiskSpace = 0 AND (PROMPTROLLBACKCOST=&quot;P&quot; OR NOT PROMPTROLLBACKCOST)" />
+                    <Publish Event="EndDialog" Value="Return" Condition="OutOfDiskSpace = 1 AND 
OutOfNoRbDiskSpace = 0 AND PROMPTROLLBACKCOST=&quot;D&quot;" />
+                    <Publish Event="EnableRollback" Value="False" Condition="OutOfDiskSpace = 1 AND 
OutOfNoRbDiskSpace = 0 AND PROMPTROLLBACKCOST=&quot;D&quot;" />
+                    <Publish Event="SpawnDialog" Value="OutOfDiskDlg" Condition="(OutOfDiskSpace = 1 AND 
OutOfNoRbDiskSpace = 1) OR (OutOfDiskSpace = 1 AND PROMPTROLLBACKCOST=&quot;F&quot;)" />
+                </Control>
+                <Control Id="Remove" Type="PushButton" ElevationShield="yes" X="212" Y="243" Width="80" 
Height="17" Hidden="yes" Disabled="yes" Text="Remove" ShowCondition="WixUI_InstallMode = &quot;Remove&quot; 
AND ALLUSERS" EnableCondition="WixUI_InstallMode = &quot;Remove&quot;">
+                    <Publish Event="Remove" Value="All" Condition="OutOfDiskSpace &lt;&gt; 1" />
+                    <Publish Event="EndDialog" Value="Return" Condition="OutOfDiskSpace &lt;&gt; 1" />
+                    <Publish Event="SpawnDialog" Value="OutOfRbDiskDlg" Condition="OutOfDiskSpace = 1 AND 
OutOfNoRbDiskSpace = 0 AND (PROMPTROLLBACKCOST=&quot;P&quot; OR NOT PROMPTROLLBACKCOST)" />
+                    <Publish Event="EndDialog" Value="Return" Condition="OutOfDiskSpace = 1 AND 
OutOfNoRbDiskSpace = 0 AND PROMPTROLLBACKCOST=&quot;D&quot;" />
+                    <Publish Event="EnableRollback" Value="False" Condition="OutOfDiskSpace = 1 AND 
OutOfNoRbDiskSpace = 0 AND PROMPTROLLBACKCOST=&quot;D&quot;" />
+                    <Publish Event="SpawnDialog" Value="OutOfDiskDlg" Condition="(OutOfDiskSpace = 1 AND 
OutOfNoRbDiskSpace = 1) OR (OutOfDiskSpace = 1 AND PROMPTROLLBACKCOST=&quot;F&quot;)" />
+                </Control>
+                <Control Id="RemoveNoShield" Type="PushButton" ElevationShield="no" X="212" Y="243" 
Width="80" Height="17" Hidden="yes" Disabled="yes" Text="Remove" ShowCondition="WixUI_InstallMode = 
&quot;Remove&quot; AND NOT ALLUSERS" EnableCondition="WixUI_InstallMode = &quot;Remove&quot;">
+                    <Publish Event="Remove" Value="All" Condition="OutOfDiskSpace &lt;&gt; 1" />
+                    <Publish Event="EndDialog" Value="Return" Condition="OutOfDiskSpace &lt;&gt; 1" />
+                    <Publish Event="SpawnDialog" Value="OutOfRbDiskDlg" Condition="OutOfDiskSpace = 1 AND 
OutOfNoRbDiskSpace = 0 AND (PROMPTROLLBACKCOST=&quot;P&quot; OR NOT PROMPTROLLBACKCOST)" />
+                    <Publish Event="EndDialog" Value="Return" Condition="OutOfDiskSpace = 1 AND 
OutOfNoRbDiskSpace = 0 AND PROMPTROLLBACKCOST=&quot;D&quot;" />
+                    <Publish Event="EnableRollback" Value="False" Condition="OutOfDiskSpace = 1 AND 
OutOfNoRbDiskSpace = 0 AND PROMPTROLLBACKCOST=&quot;D&quot;" />
+                    <Publish Event="SpawnDialog" Value="OutOfDiskDlg" Condition="(OutOfDiskSpace = 1 AND 
OutOfNoRbDiskSpace = 1) OR (OutOfDiskSpace = 1 AND PROMPTROLLBACKCOST=&quot;F&quot;)" />
+                </Control>
+                <Control Id="Update" Type="PushButton" ElevationShield="yes" X="212" Y="243" Width="80" 
Height="17" Hidden="yes" Disabled="yes" Text="Update" ShowCondition="WixUI_InstallMode = &quot;Update&quot; 
AND ALLUSERS" EnableCondition="WixUI_InstallMode = &quot;Update&quot;">
+                    <Publish Event="EndDialog" Value="Return" Condition="OutOfDiskSpace &lt;&gt; 1" />
+                    <Publish Event="SpawnDialog" Value="OutOfRbDiskDlg" Condition="OutOfDiskSpace = 1 AND 
OutOfNoRbDiskSpace = 0 AND (PROMPTROLLBACKCOST=&quot;P&quot; OR NOT PROMPTROLLBACKCOST)" />
+                    <Publish Event="EndDialog" Value="Return" Condition="OutOfDiskSpace = 1 AND 
OutOfNoRbDiskSpace = 0 AND PROMPTROLLBACKCOST=&quot;D&quot;" />
+                    <Publish Event="EnableRollback" Value="False" Condition="OutOfDiskSpace = 1 AND 
OutOfNoRbDiskSpace = 0 AND PROMPTROLLBACKCOST=&quot;D&quot;" />
+                    <Publish Event="SpawnDialog" Value="OutOfDiskDlg" Condition="(OutOfDiskSpace = 1 AND 
OutOfNoRbDiskSpace = 1) OR (OutOfDiskSpace = 1 AND PROMPTROLLBACKCOST=&quot;F&quot;)" />
+                </Control>
+                <Control Id="UpdateNoShield" Type="PushButton" ElevationShield="no" X="212" Y="243" 
Width="80" Height="17" Hidden="yes" Disabled="yes" Text="Update" ShowCondition="WixUI_InstallMode = 
&quot;Update&quot; AND NOT ALLUSERS" EnableCondition="WixUI_InstallMode = &quot;Update&quot;">
+                    <Publish Event="EndDialog" Value="Return" Condition="OutOfDiskSpace &lt;&gt; 1" />
+                    <Publish Event="SpawnDialog" Value="OutOfRbDiskDlg" Condition="OutOfDiskSpace = 1 AND 
OutOfNoRbDiskSpace = 0 AND (PROMPTROLLBACKCOST=&quot;P&quot; OR NOT PROMPTROLLBACKCOST)" />
+                    <Publish Event="EndDialog" Value="Return" Condition="OutOfDiskSpace = 1 AND 
OutOfNoRbDiskSpace = 0 AND PROMPTROLLBACKCOST=&quot;D&quot;" />
+                    <Publish Event="EnableRollback" Value="False" Condition="OutOfDiskSpace = 1 AND 
OutOfNoRbDiskSpace = 0 AND PROMPTROLLBACKCOST=&quot;D&quot;" />
+                    <Publish Event="SpawnDialog" Value="OutOfDiskDlg" Condition="(OutOfDiskSpace = 1 AND 
OutOfNoRbDiskSpace = 1) OR (OutOfDiskSpace = 1 AND PROMPTROLLBACKCOST=&quot;F&quot;)" />
+                </Control>
+
+                <Control Id="InstallTitle" Type="Text" X="15" Y="15" Width="300" Height="15" 
Transparent="yes" NoPrefix="yes" Hidden="yes" Text="{\WixUI_Font_Title}Ready to install [ProductName]" 
ShowCondition="NOT Installed" />
+                <Control Id="InstallText" Type="Text" X="25" Y="70" Width="320" Height="80" Hidden="yes" 
Text="Click Install to begin the installation. Click Back to review or change any of your installation 
settings. Click Cancel to exit the wizard." ShowCondition="NOT Installed" />
+                <Control Id="ChangeTitle" Type="Text" X="15" Y="15" Width="300" Height="15" 
Transparent="yes" NoPrefix="yes" Hidden="yes" Text="{\WixUI_Font_Title}Ready to change [ProductName]" 
ShowCondition="WixUI_InstallMode = &quot;Change&quot;" />
+                <Control Id="ChangeText" Type="Text" X="25" Y="70" Width="320" Height="80" Hidden="yes" 
Text="Click Change to begin the installation. Click Back to review or change any of your installation 
settings. Click Cancel to exit the wizard." ShowCondition="WixUI_InstallMode = &quot;Change&quot;" />
+                <Control Id="RepairTitle" Type="Text" X="15" Y="15" Width="300" Height="15" 
Transparent="yes" NoPrefix="yes" Hidden="yes" Text="{\WixUI_Font_Title}Ready to repair [ProductName]" 
ShowCondition="WixUI_InstallMode = &quot;Repair&quot;" />
+                <Control Id="RepairText" Type="Text" X="25" Y="70" Width="320" Height="80" Hidden="yes" 
NoPrefix="yes" Text="Click Repair to repair the installation of [ProductName]. Click Back to review or change 
any of your installation settings. Click Cancel to exit the wizard." ShowCondition="WixUI_InstallMode = 
&quot;Repair&quot;" />
+                <Control Id="RemoveTitle" Type="Text" X="15" Y="15" Width="300" Height="15" 
Transparent="yes" NoPrefix="yes" Hidden="yes" Text="{\WixUI_Font_Title}Ready to remove [ProductName]" 
ShowCondition="WixUI_InstallMode = &quot;Remove&quot;" />
+                <Control Id="RemoveText" Type="Text" X="25" Y="70" Width="320" Height="80" Hidden="yes" 
NoPrefix="yes" Text="Click Remove to remove [ProductName] from your computer. Click Back to review or change 
any of your installation settings. Click Cancel to exit the wizard." ShowCondition="WixUI_InstallMode = 
&quot;Remove&quot;" />
+                <Control Id="UpdateTitle" Type="Text" X="15" Y="15" Width="300" Height="15" 
Transparent="yes" NoPrefix="yes" Hidden="yes" Text="{\WixUI_Font_Title}Ready to update [ProductName]" 
ShowCondition="WixUI_InstallMode = &quot;Update&quot;" />
+                <Control Id="UpdateText" Type="Text" X="25" Y="70" Width="320" Height="80" Hidden="yes" 
NoPrefix="yes" Text="Click Update to update [ProductName] from your computer. Click Back to review or change 
any of your installation settings. Click Cancel to exit the wizard." ShowCondition="WixUI_InstallMode = 
&quot;Update&quot;" />
+
+                <Control Id="Cancel" Type="PushButton" X="304" Y="243" Width="56" Height="17" Cancel="yes" 
Text="Cancel">
+                    <Publish Event="SpawnDialog" Value="CancelDlg" />
+                </Control>
+                <Control Id="Back" Type="PushButton" X="156" Y="243" Width="56" Height="17" Text="Back" 
DefaultCondition="WixUI_InstallMode = &quot;Remove&quot;" />
+                <Control Id="BannerBitmap" Type="Bitmap" X="0" Y="0" Width="370" Height="44" TabSkip="no" 
Text="WixUI_Bmp_Banner" />
+                <Control Id="BannerLine" Type="Line" X="0" Y="44" Width="370" Height="0" />
+                <Control Id="BottomLine" Type="Line" X="0" Y="234" Width="370" Height="0" />
+            </Dialog>
+        </UI>
+    </Fragment>
+</Wix>
diff --git a/data/ext/ui/WaitForCostingDlg.wxs b/data/ext/ui/WaitForCostingDlg.wxs
new file mode 100644
index 0000000..f6ce089
--- /dev/null
+++ b/data/ext/ui/WaitForCostingDlg.wxs
@@ -0,0 +1,16 @@
+<!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft 
Reciprocal License. See LICENSE.txt file in this directory for full license information. -->
+
+
+<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs";>
+    <Fragment>
+        <UI>
+            <Dialog Id="WaitForCostingDlg" Width="260" Height="85" Title="[ProductName] Setup">
+                <Control Id="Return" Type="PushButton" X="102" Y="57" Width="56" Height="17" Default="yes" 
Cancel="yes" Text="Return">
+                    <Publish Event="EndDialog" Value="Exit" />
+                </Control>
+                <Control Id="Text" Type="Text" X="48" Y="15" Width="194" Height="30" Text="Please wait while 
the installer finishes determining your disk space requirements." />
+                <Control Id="Icon" Type="Icon" X="15" Y="15" Width="24" Height="24" ToolTip="yes" 
FixedSize="yes" IconSize="32" Text="WixUI_Ico_Exclam" />
+            </Dialog>
+        </UI>
+    </Fragment>
+</Wix>
diff --git a/data/ext/ui/WelcomeDlg.wxs b/data/ext/ui/WelcomeDlg.wxs
new file mode 100644
index 0000000..d41ab7c
--- /dev/null
+++ b/data/ext/ui/WelcomeDlg.wxs
@@ -0,0 +1,28 @@
+<!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft 
Reciprocal License. See LICENSE.txt file in this directory for full license information. -->
+
+
+<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs";>
+    <Fragment>
+        <UI>
+            <Dialog Id="WelcomeDlg" Width="370" Height="270" Title="[ProductName] Setup">
+                <Control Id="Next" Type="PushButton" X="236" Y="243" Width="56" Height="17" Default="yes" 
Text="Next">
+                    <Publish Property="WixUI_InstallMode" Value="Update" Condition="Installed AND PATCH" />
+                </Control>
+                <Control Id="Cancel" Type="PushButton" X="304" Y="243" Width="56" Height="17" Cancel="yes" 
Text="Cancel">
+                    <Publish Event="SpawnDialog" Value="CancelDlg" />
+                </Control>
+                <Control Id="Bitmap" Type="Bitmap" X="0" Y="0" Width="370" Height="234" TabSkip="no" 
Text="WixUI_Bmp_Dialog" />
+                <Control Id="Back" Type="PushButton" X="180" Y="243" Width="56" Height="17" Disabled="yes" 
Text="Back" />
+                <Control Id="BottomLine" Type="Line" X="0" Y="234" Width="370" Height="0" />
+                <Control Id="Description" Type="Text" X="135" Y="80" Width="220" Height="60" 
Transparent="yes" NoPrefix="yes" Text="The Setup Wizard will install [ProductName] on your computer. Click 
Next to continue or Cancel to exit the Setup Wizard." ShowCondition="NOT Installed OR NOT PATCH" 
HideCondition="Installed AND PATCH" />
+                <Control Id="PatchDescription" Type="Text" X="135" Y="80" Width="220" Height="60" 
Transparent="yes" NoPrefix="yes" Text="The Setup Wizard will update [ProductName] on your computer. Click 
Next to continue or Cancel to exit the Setup Wiz
+                ard." ShowCondition="Installed AND PATCH" HideCondition="NOT Installed OR NOT PATCH" />
+                <Control Id="Title" Type="Text" X="135" Y="20" Width="220" Height="60" Transparent="yes" 
NoPrefix="yes" Text="{\WixUI_Font_Bigger}Welcome to the [ProductName] Setup Wizard" />
+            </Dialog>
+
+            <InstallUISequence>
+                <Show Dialog="WelcomeDlg" Before="ProgressDlg" Overridable="yes" Condition="NOT Installed OR 
PATCH" />
+            </InstallUISequence>
+        </UI>
+    </Fragment>
+</Wix>
diff --git a/data/ext/ui/WelcomeEulaDlg.wxs b/data/ext/ui/WelcomeEulaDlg.wxs
new file mode 100644
index 0000000..665c0dc
--- /dev/null
+++ b/data/ext/ui/WelcomeEulaDlg.wxs
@@ -0,0 +1,42 @@
+<!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft 
Reciprocal License. See LICENSE.txt file in this directory for full license information. -->
+
+
+<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs";>
+    <Fragment>
+        <UI>
+            <Dialog Id="WelcomeEulaDlg" Width="370" Height="270" Title="[ProductName] Setup">
+                <Control Id="Bitmap" Type="Bitmap" X="0" Y="0" Width="370" Height="234" TabSkip="no" 
Text="WixUI_Bmp_Dialog" />
+                <Control Id="Title" Type="Text" X="130" Y="6" Width="225" Height="30" Transparent="yes" 
NoPrefix="yes" Text="{\WixUI_Font_Title}Please read the [ProductName] License Agreement" />
+                <Control Id="BottomLine" Type="Line" X="0" Y="234" Width="370" Height="0" />
+                <Control Id="LicenseAcceptedCheckBox" Type="CheckBox" X="130" Y="207" Width="226" 
Height="18" CheckBoxValue="1" Property="LicenseAccepted" Text="I accept the terms in the License Agreement" />
+                <Control Id="Back" Type="PushButton" X="156" Y="243" Width="56" Height="17" Disabled="yes" 
Text="Back" />
+                <Control Id="Install" Type="PushButton" ElevationShield="yes" X="212" Y="243" Width="80" 
Height="17" Default="yes" Text="Install" Hidden="yes" DisableCondition="LicenseAccepted &lt;&gt; 
&quot;1&quot;" EnableCondition="LicenseAccepted = &quot;1&quot;" ShowCondition="ALLUSERS">
+                    <Publish Event="SpawnWaitDialog" Value="WaitForCostingDlg" Condition="1 OR 
CostingComplete = 1" />
+                    <Publish Event="EndDialog" Value="Return" Condition="OutOfDiskSpace &lt;&gt; 1" />
+                    <Publish Event="SpawnDialog" Value="OutOfRbDiskDlg" Condition="OutOfDiskSpace = 1 AND 
OutOfNoRbDiskSpace = 0 AND (PROMPTROLLBACKCOST=&quot;P&quot; OR NOT PROMPTROLLBACKCOST)" />
+                    <Publish Event="EndDialog" Value="Return" Condition="OutOfDiskSpace = 1 AND 
OutOfNoRbDiskSpace = 0 AND PROMPTROLLBACKCOST=&quot;D&quot;" />
+                    <Publish Event="EnableRollback" Value="False" Condition="OutOfDiskSpace = 1 AND 
OutOfNoRbDiskSpace = 0 AND PROMPTROLLBACKCOST=&quot;D&quot;" />
+                    <Publish Event="SpawnDialog" Value="OutOfDiskDlg" Condition="(OutOfDiskSpace = 1 AND 
OutOfNoRbDiskSpace = 1) OR (OutOfDiskSpace = 1 AND PROMPTROLLBACKCOST=&quot;F&quot;)" />
+                </Control>
+                <Control Id="InstallNoShield" Type="PushButton" ElevationShield="no" X="212" Y="243" 
Width="80" Height="17" Default="yes" Text="Install" Hidden="yes" DisableCondition="LicenseAccepted &lt;&gt; 
&quot;1&quot;" EnableCondition="LicenseAccepted = &quot;1&quot;" ShowCondition="NOT ALLUSERS">
+                    <Publish Event="SpawnWaitDialog" Value="WaitForCostingDlg" Condition="1 OR 
CostingComplete = 1" />
+                    <Publish Event="EndDialog" Value="Return" Condition="OutOfDiskSpace &lt;&gt; 1" />
+                    <Publish Event="SpawnDialog" Value="OutOfRbDiskDlg" Condition="OutOfDiskSpace = 1 AND 
OutOfNoRbDiskSpace = 0 AND (PROMPTROLLBACKCOST=&quot;P&quot; OR NOT PROMPTROLLBACKCOST)" />
+                    <Publish Event="EndDialog" Value="Return" Condition="OutOfDiskSpace = 1 AND 
OutOfNoRbDiskSpace = 0 AND PROMPTROLLBACKCOST=&quot;D&quot;" />
+                    <Publish Event="EnableRollback" Value="False" Condition="OutOfDiskSpace = 1 AND 
OutOfNoRbDiskSpace = 0 AND PROMPTROLLBACKCOST=&quot;D&quot;" />
+                    <Publish Event="SpawnDialog" Value="OutOfDiskDlg" Condition="(OutOfDiskSpace = 1 AND 
OutOfNoRbDiskSpace = 1) OR (OutOfDiskSpace = 1 AND PROMPTROLLBACKCOST=&quot;F&quot;)" />
+                </Control>
+                <Control Id="Cancel" Type="PushButton" X="304" Y="243" Width="56" Height="17" Cancel="yes" 
Text="Cancel">
+                    <Publish Event="SpawnDialog" Value="CancelDlg" />
+                </Control>
+                <Control Id="LicenseText" Type="ScrollableText" X="130" Y="36" Width="226" Height="162" 
Sunken="yes" TabSkip="no">
+                    <Text SourceFile="License.rtf" />
+                </Control>
+            </Dialog>
+        </UI>
+
+        <InstallUISequence>
+            <Show Dialog="WelcomeEulaDlg" Before="ProgressDlg" Overridable="yes" Condition="NOT Installed" />
+        </InstallUISequence>
+    </Fragment>
+</Wix>
diff --git a/data/ext/ui/WixUI_Minimal.wxs b/data/ext/ui/WixUI_Minimal.wxs
new file mode 100644
index 0000000..8a31ddd
--- /dev/null
+++ b/data/ext/ui/WixUI_Minimal.wxs
@@ -0,0 +1,63 @@
+<!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft 
Reciprocal License. See LICENSE.txt file in this directory for full license information. -->
+
+
+
+<!--
+First-time install dialog sequence:
+ - WixUI_WelcomeEulaDlg
+
+Maintenance dialog sequence:
+ WixUI_MaintenanceWelcomeDlg
+ - WixUI_MaintenanceTypeDlg
+ - WixUI_VerifyReadyDlg
+
+Patch dialog sequence:
+ - WixUI_WelcomeDlg
+ - WixUI_VerifyReadyDlg
+-->
+
+<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs";>
+    <Fragment>
+        <UI Id="WixUI_Minimal">
+            <TextStyle Id="WixUI_Font_Normal" FaceName="Tahoma" Size="8" />
+            <TextStyle Id="WixUI_Font_Bigger" FaceName="Tahoma" Size="12" />
+            <TextStyle Id="WixUI_Font_Title" FaceName="Tahoma" Size="9" Bold="yes" />
+
+            <Property Id="DefaultUIFont" Value="WixUI_Font_Normal" />
+            <Property Id="WixUI_Mode" Value="Minimal" />
+
+            <DialogRef Id="ErrorDlg" />
+            <DialogRef Id="FatalError" />
+            <DialogRef Id="FilesInUse" />
+            <DialogRef Id="MsiRMFilesInUse" />
+            <DialogRef Id="PrepareDlg" />
+            <DialogRef Id="ProgressDlg" />
+            <DialogRef Id="ResumeDlg" />
+            <DialogRef Id="UserExit" />
+            <DialogRef Id="WelcomeDlg" />
+            <DialogRef Id="WelcomeEulaDlg" />
+
+            <Publish Dialog="ExitDialog" Control="Finish" Event="EndDialog" Value="Return" Order="999" />
+
+            <Publish Dialog="VerifyReadyDlg" Control="Back" Event="NewDialog" Value="MaintenanceTypeDlg" />
+
+            <Publish Dialog="MaintenanceWelcomeDlg" Control="Next" Event="NewDialog" 
Value="MaintenanceTypeDlg" />
+
+            <Publish Dialog="MaintenanceTypeDlg" Control="RepairButton" Event="NewDialog" 
Value="VerifyReadyDlg" />
+            <Publish Dialog="MaintenanceTypeDlg" Control="RemoveButton" Event="NewDialog" 
Value="VerifyReadyDlg" />
+            <Publish Dialog="MaintenanceTypeDlg" Control="Back" Event="NewDialog" 
Value="MaintenanceWelcomeDlg" />
+
+            <Publish Dialog="WelcomeDlg" Control="Next" Event="NewDialog" Value="VerifyReadyDlg" 
Condition="Installed AND PATCH" />
+            <Publish Dialog="VerifyReadyDlg" Control="Back" Event="NewDialog" Value="WelcomeDlg" Order="2" 
Condition="Installed AND PATCH" />
+
+            <InstallUISequence>
+                <Show Dialog="WelcomeDlg" Before="WelcomeEulaDlg" Condition="Installed AND PATCH" />
+                <Show Dialog="WelcomeEulaDlg" Before="ProgressDlg" Condition="NOT Installed" />
+            </InstallUISequence>
+
+            <Property Id="ARPNOMODIFY" Value="1" />
+        </UI>
+
+        <UIRef Id="WixUI_Common" />
+    </Fragment>
+</Wix>
diff --git a/data/ext/ui/bitmaps/New.ico b/data/ext/ui/bitmaps/New.ico
new file mode 100644
index 0000000..27881df
Binary files /dev/null and b/data/ext/ui/bitmaps/New.ico differ
diff --git a/data/ext/ui/bitmaps/Up.ico b/data/ext/ui/bitmaps/Up.ico
new file mode 100644
index 0000000..86f6b5a
Binary files /dev/null and b/data/ext/ui/bitmaps/Up.ico differ
diff --git a/data/ext/ui/bitmaps/bannrbmp.bmp b/data/ext/ui/bitmaps/bannrbmp.bmp
new file mode 100644
index 0000000..7401a39
Binary files /dev/null and b/data/ext/ui/bitmaps/bannrbmp.bmp differ
diff --git a/data/ext/ui/bitmaps/dlgbmp.bmp b/data/ext/ui/bitmaps/dlgbmp.bmp
new file mode 100644
index 0000000..4bfa09d
Binary files /dev/null and b/data/ext/ui/bitmaps/dlgbmp.bmp differ
diff --git a/data/ext/ui/bitmaps/exclamic.ico b/data/ext/ui/bitmaps/exclamic.ico
new file mode 100644
index 0000000..906ce32
Binary files /dev/null and b/data/ext/ui/bitmaps/exclamic.ico differ
diff --git a/data/ext/ui/bitmaps/info.ico b/data/ext/ui/bitmaps/info.ico
new file mode 100644
index 0000000..7e0ff7f
Binary files /dev/null and b/data/ext/ui/bitmaps/info.ico differ
diff --git a/data/meson.build b/data/meson.build
index d6eebdc..0fc6622 100644
--- a/data/meson.build
+++ b/data/meson.build
@@ -88,6 +88,10 @@ install_data(wxi_data,
   install_dir: get_option('datadir') / 'wixl-' + meson.project_version() / 'include'
 )
 
+install_subdir('ext/',
+  install_dir: get_option('datadir') / 'wixl-' + meson.project_version()
+)
+
 if get_option('validate-wxi')
   wxi_validate = find_program('wxi-validate.pl')
   foreach file: wxi_data


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]