From 884f66cc4c1787292ab39913a4ed78daa53ecd5f Mon Sep 17 00:00:00 2001 From: Tom Butcher Date: Sun, 2 Aug 2026 13:10:46 +0100 Subject: [PATCH] Refactor Windows MSI installer sequence for improved uninstall handling - Adjusted custom actions in the MSI wrapped configuration to enhance the uninstall sequence for previous installations. - Updated conditions for running the installer and managing previous uninstall commands and directories. - Improved clarity and maintainability of the installer script. --- packaging/windows/msi-wrapped.wxs | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/packaging/windows/msi-wrapped.wxs b/packaging/windows/msi-wrapped.wxs index 3dcc93d..2ec1026 100644 --- a/packaging/windows/msi-wrapped.wxs +++ b/packaging/windows/msi-wrapped.wxs @@ -99,11 +99,12 @@ NOT Installed - NOT Installed - NOT Installed AND PREVIOUS_UNINSTALL_CMD - NOT Installed AND NOT PREVIOUS_UNINSTALL_CMD AND PREVIOUS_INSTALL_DIR - NOT Installed AND (PREVIOUS_UNINSTALL_CMD OR PREVIOUS_INSTALL_DIR) - NOT Installed + NOT Installed + NOT Installed AND PREVIOUS_UNINSTALL_CMD + NOT Installed AND NOT PREVIOUS_UNINSTALL_CMD AND PREVIOUS_INSTALL_DIR + NOT Installed AND (PREVIOUS_UNINSTALL_CMD OR PREVIOUS_INSTALL_DIR) + NOT Installed AND (PREVIOUS_UNINSTALL_CMD OR PREVIOUS_INSTALL_DIR) + NOT Installed AND NOT (PREVIOUS_UNINSTALL_CMD OR PREVIOUS_INSTALL_DIR)