From 75cc841a99721d6c658424b7af1432b0d020bb28 Mon Sep 17 00:00:00 2001 From: Bryan Berns Date: Tue, 12 Nov 2024 06:38:34 -0500 Subject: [PATCH] Tweak WiX Installer For Conditionals - Be more explicit in WiX variable conditional tests to prevent implicit evaluation from producing unexpected results. --- setup/WinDirStat.wxs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup/WinDirStat.wxs b/setup/WinDirStat.wxs index 680881c7..6fe5ea3c 100644 --- a/setup/WinDirStat.wxs +++ b/setup/WinDirStat.wxs @@ -40,12 +40,12 @@ - "") OR ENABLE_SHORTCUT)]]> + "" AND DESKTOP_SHORTCUT_LOCATE <> "") OR ENABLE_SHORTCUT = 1)]]> - "") OR (NOT WIX_UPGRADE_DETECTED AND NOT DISABLE_CONTEXTMENU)]]> + "" AND CONTEXT_MENU_LOCATE <> "") OR NOT WIX_UPGRADE_DETECTED) AND DISABLE_CONTEXTMENU <> 1]]>