From 54b883397c9b82b70c1d0af61ef8bedcf2a22b32 Mon Sep 17 00:00:00 2001 From: William Kent Date: Mon, 9 Sep 2019 12:38:04 -0400 Subject: [PATCH] Use PTLicenseDlg in lieu of the standard license dialog --- .../CustomDialogs/PTLicenseDlg.wxs | 29 +++++++++++++++++++ .../CustomDialogs/WixUI_PTInstallDir.wxs | 8 ++--- .../PowerToysSetup/PowerToysSetup.wixproj | 1 + 3 files changed, 34 insertions(+), 4 deletions(-) create mode 100644 installer/PowerToysSetup/CustomDialogs/PTLicenseDlg.wxs diff --git a/installer/PowerToysSetup/CustomDialogs/PTLicenseDlg.wxs b/installer/PowerToysSetup/CustomDialogs/PTLicenseDlg.wxs new file mode 100644 index 0000000000..ee7b752591 --- /dev/null +++ b/installer/PowerToysSetup/CustomDialogs/PTLicenseDlg.wxs @@ -0,0 +1,29 @@ + + + + + + + + + + + + + + 1 + + + + !(wix.WixUICostingPopupOptOut) OR CostingComplete = 1 + + + 1 + + + + + + + + \ No newline at end of file diff --git a/installer/PowerToysSetup/CustomDialogs/WixUI_PTInstallDir.wxs b/installer/PowerToysSetup/CustomDialogs/WixUI_PTInstallDir.wxs index 8b035b28be..a06d1ed278 100644 --- a/installer/PowerToysSetup/CustomDialogs/WixUI_PTInstallDir.wxs +++ b/installer/PowerToysSetup/CustomDialogs/WixUI_PTInstallDir.wxs @@ -49,13 +49,13 @@ Patch dialog sequence: 1 - NOT Installed + NOT Installed Installed AND PATCH - 1 - LicenseAccepted = "1" + 1 + 1 - 1 + 1 1 NOT WIXUI_DONTVALIDATEPATH "1"]]> diff --git a/installer/PowerToysSetup/PowerToysSetup.wixproj b/installer/PowerToysSetup/PowerToysSetup.wixproj index ccbffd912d..484e051119 100644 --- a/installer/PowerToysSetup/PowerToysSetup.wixproj +++ b/installer/PowerToysSetup/PowerToysSetup.wixproj @@ -20,6 +20,7 @@ +