From e90cbc7d2415fa8aa57735d1a4f16ca543338f4d Mon Sep 17 00:00:00 2001 From: Richard Maw Date: Sat, 1 Feb 2025 20:59:23 +0000 Subject: [PATCH 1/3] Check-in wix config as a basis for changes overrides.wxi can be overridden for some changes but I don't know of a way to extend the product and feature config without altering those elements directly. --- package/windows/main.wxs | 135 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 135 insertions(+) create mode 100644 package/windows/main.wxs diff --git a/package/windows/main.wxs b/package/windows/main.wxs new file mode 100644 index 0000000000..b884e0829b --- /dev/null +++ b/package/windows/main.wxs @@ -0,0 +1,135 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Not Installed + Not Installed + Not Installed + Not Installed + + Not Installed + + + Not Installed + + + Not Installed + + + + JP_UPGRADABLE_FOUND + + + JP_DOWNGRADABLE_FOUND + + + + + + + + + + + From cf52e7bb46bb15a05926192133c95e76ad166346 Mon Sep 17 00:00:00 2001 From: Richard Maw Date: Sat, 1 Feb 2025 21:03:21 +0000 Subject: [PATCH 2/3] Add Windows URI install config This adds config to add registry entries for the rptools-maptool URIs. Unfortunately this only works for the HKCR registry root and not HKCU so only works for system-wide installs, so this config is gated behind the system-wide config. --- package/windows/main.wxs | 45 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/package/windows/main.wxs b/package/windows/main.wxs index b884e0829b..e0dc3d5cfe 100644 --- a/package/windows/main.wxs +++ b/package/windows/main.wxs @@ -76,6 +76,7 @@ + @@ -131,5 +132,49 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + From 754584e3d32a5a80e54ab356e959e4f71fdc5d81 Mon Sep 17 00:00:00 2001 From: Richard Maw Date: Sat, 1 Feb 2025 21:08:46 +0000 Subject: [PATCH 3/3] Build a system-wide installer for Windows Unforunately URI handlers must be installed system-wide so to enable this feature MapTool needs to be built as a system app. --- build.gradle | 1 - 1 file changed, 1 deletion(-) diff --git a/build.gradle b/build.gradle index 613c886fac..05db3db17b 100644 --- a/build.gradle +++ b/build.gradle @@ -284,7 +284,6 @@ runtime { imageOptions += ['--icon', 'package/windows/' + project.name + developerRelease + '.ico'] installerOptions += [ '--win-dir-chooser', - '--win-per-user-install', '--win-shortcut', '--win-menu', '--win-menu-group', vendor,