From 77585771207ecfb5c7f8a01af17cb09f2aaefba2 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Sun, 24 Apr 2022 15:28:01 +0100 Subject: Fix building the Windows package on NSIS 3. --- win/NSIS.template.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/win/NSIS.template.in b/win/NSIS.template.in index e9446092a..4b4ea4d91 100644 --- a/win/NSIS.template.in +++ b/win/NSIS.template.in @@ -119,7 +119,7 @@ Var AR_RegFlags "exit_${SecName}:" !macroend -!macro RemoveSection SecName +!macro RemoveSection_CPack SecName ; This macro is used to call section's Remove_... macro ;from the uninstaller. ;Input: section index constant name specified in Section command. @@ -847,7 +847,7 @@ Section "Uninstall" DeleteRegKey SHCTX "Software\@CPACK_PACKAGE_VENDOR@\@CPACK_PACKAGE_INSTALL_REGISTRY_KEY@" ; Removes all optional components - !insertmacro SectionList "RemoveSection" + !insertmacro SectionList "RemoveSection_CPack" !insertmacro MUI_STARTMENU_GETFOLDER Application $MUI_TEMP -- cgit v1.3.1-10-gc9f91