From a83c3a3385bf055b90aa60917a582228119d3242 Mon Sep 17 00:00:00 2001 From: Stephen Birarda Date: Mon, 18 Jan 2016 15:23:51 -0800 Subject: [PATCH] write to registry when sections not selected --- cmake/templates/NSIS.template.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmake/templates/NSIS.template.in b/cmake/templates/NSIS.template.in index 0ebdafa86e..f13862e5cc 100644 --- a/cmake/templates/NSIS.template.in +++ b/cmake/templates/NSIS.template.in @@ -155,8 +155,8 @@ Var AR_RegFlags ; We do not do that here because it would absolutely cause issues with shared dependencies ;!insertmacro "Remove_${${SecName}}" - ;WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\@CPACK_PACKAGE_INSTALL_REGISTRY_KEY@\Components\${SecName}" \ - ; "Installed" 0 + WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\@CPACK_PACKAGE_INSTALL_REGISTRY_KEY@\Components\${SecName}" \ + "Installed" 0 Goto "exit_${SecName}"