From 12cd7bb49fa3de095d0aef51bf6ba1bd27cceb0a Mon Sep 17 00:00:00 2001 From: William Kent Date: Mon, 9 Sep 2019 12:19:17 -0400 Subject: [PATCH] Advertise shortcuts * Change shortcut to advertised Note that I had to remove the ability to not install a Start Menu shortcut, as advertised shortcuts must always be installed. Also note that I had to change the "Core" feature to always be installed (disabling Install-on-Demand) as having that turned on broke the Scheduled Task installer. * Disable ARPNOMODIFY --- .../CustomDialogs/PTInstallDirDlg.wxs | 5 +-- .../CustomDialogs/WixUI_PTInstallDir.wxs | 3 -- installer/PowerToysSetup/Product.wxs | 44 +++++++------------ 3 files changed, 19 insertions(+), 33 deletions(-) diff --git a/installer/PowerToysSetup/CustomDialogs/PTInstallDirDlg.wxs b/installer/PowerToysSetup/CustomDialogs/PTInstallDirDlg.wxs index 3db5407048..6ae6776176 100644 --- a/installer/PowerToysSetup/CustomDialogs/PTInstallDirDlg.wxs +++ b/installer/PowerToysSetup/CustomDialogs/PTInstallDirDlg.wxs @@ -21,9 +21,8 @@ - - - + + diff --git a/installer/PowerToysSetup/CustomDialogs/WixUI_PTInstallDir.wxs b/installer/PowerToysSetup/CustomDialogs/WixUI_PTInstallDir.wxs index af7ae97000..8b035b28be 100644 --- a/installer/PowerToysSetup/CustomDialogs/WixUI_PTInstallDir.wxs +++ b/installer/PowerToysSetup/CustomDialogs/WixUI_PTInstallDir.wxs @@ -62,7 +62,6 @@ Patch dialog sequence: WIXUI_DONTVALIDATEPATH OR WIXUI_INSTALLDIR_VALID="1" 1 1 - NOT Installed Installed AND NOT PATCH Installed AND PATCH @@ -72,8 +71,6 @@ Patch dialog sequence: 1 1 1 - - diff --git a/installer/PowerToysSetup/Product.wxs b/installer/PowerToysSetup/Product.wxs index 37d1941d65..0d63e0aa37 100644 --- a/installer/PowerToysSetup/Product.wxs +++ b/installer/PowerToysSetup/Product.wxs @@ -25,8 +25,9 @@ - - + + @@ -169,7 +170,7 @@ - + @@ -178,7 +179,18 @@ - + + + + + @@ -227,27 +239,6 @@ - - - INSTALLSTARTMENUSHORTCUT - - - - - - - INSTALLDESKTOPSHORTCUT @@ -269,13 +260,12 @@ - + -