From 80960e47f82de385da959e29cc6674031a10f281 Mon Sep 17 00:00:00 2001 From: Zach Wasserman Date: Mon, 31 Jan 2022 16:09:59 -0800 Subject: [PATCH] Allow reinstallation of MSI packages (#3958) Make the necessary changes to the WiX XML to allow the generated MSI installers to be reinstalled. --- changes/reinstall-msi | 1 + orbit/pkg/packaging/windows_templates.go | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 changes/reinstall-msi diff --git a/changes/reinstall-msi b/changes/reinstall-msi new file mode 100644 index 0000000000..7e6278bfd3 --- /dev/null +++ b/changes/reinstall-msi @@ -0,0 +1 @@ +* Allow MSI packages generated by `fleetctl package` to reinstall on Windows without uninstall. diff --git a/orbit/pkg/packaging/windows_templates.go b/orbit/pkg/packaging/windows_templates.go index fd246a3a14..69ac3fedb8 100644 --- a/orbit/pkg/packaging/windows_templates.go +++ b/orbit/pkg/packaging/windows_templates.go @@ -8,7 +8,7 @@ var windowsWixTemplate = template.Must(template.New("").Option("missingkey=error ` + +