Skip to content

Commit 07795dd

Browse files
committed
Add back UI sequences
1 parent 421206d commit 07795dd

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

build/windows/installer/InstallDirUi.wxs

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs">
2+
<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"
3+
xmlns:ui="http://wixtoolset.org/schemas/v4/wxs/ui">
34
<!-- Copied from https://github.com/wixtoolset/wix4/blob/6f2511f58f60e63a15357a2fe37f83343dea3090/src/ext/UI/wixlib/WixUI_InstallDir.wxs#L9
45
but with the license dialog disabled.
56
See: https://wixtoolset.org/docs/v3/wixui/wixui_customizations/#changing-the-ui-sequence-of-a-built-in-dialog-set. -->
@@ -45,6 +46,18 @@
4546
<Publish Dialog="MaintenanceTypeDlg" Control="Back" Event="NewDialog" Value="MaintenanceWelcomeDlg" />
4647

4748
<Property Id="ARPNOMODIFY" Value="1" />
49+
50+
<InstallUISequence>
51+
<Show Dialog="FatalError" OnExit="error" />
52+
<Show Dialog="UserExit" OnExit="cancel" />
53+
<Show Dialog="ExitDialog" OnExit="success" />
54+
</InstallUISequence>
55+
56+
<AdminUISequence>
57+
<Show Dialog="FatalError" OnExit="error" />
58+
<Show Dialog="UserExit" OnExit="cancel" />
59+
<Show Dialog="ExitDialog" OnExit="success" />
60+
</AdminUISequence>
4861
</UI>
4962

5063
<UIRef Id="WixUI_Common" />

0 commit comments

Comments
 (0)