aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Sadie Powell2022-04-24 15:28:01 +0100
committerGravatar Sadie Powell2022-04-24 15:28:01 +0100
commit77585771207ecfb5c7f8a01af17cb09f2aaefba2 (patch)
treed495c1792d1681eaa2c022534891ef4f1a96f9cc
parentRespect the invite announcement level when announcing knocks. (diff)
Fix building the Windows package on NSIS 3.
-rw-r--r--win/NSIS.template.in4
1 files 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