diff options
author | David Cole <david.cole@kitware.com> | 2012-10-17 20:44:33 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2012-10-17 20:44:33 (GMT) |
commit | e8b1c1ffc0a9eb3a224fbdb205627096ea6453c0 (patch) | |
tree | d5b39892371052df0b4555f750f3ed23054bccc2 | |
parent | 0ef55608e6a38ece428b81fb3911d38ce1c4c107 (diff) | |
parent | 12c092cf67b39e8519b3672afad05fdc5d8f1d5c (diff) | |
download | CMake-e8b1c1ffc0a9eb3a224fbdb205627096ea6453c0.zip CMake-e8b1c1ffc0a9eb3a224fbdb205627096ea6453c0.tar.gz CMake-e8b1c1ffc0a9eb3a224fbdb205627096ea6453c0.tar.bz2 |
Merge topic 'fix-13578-wrong-reg-key'
12c092c NSIS: Fix incorrect uninstall registry key name (#13578)
-rw-r--r-- | Modules/NSIS.template.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/NSIS.template.in b/Modules/NSIS.template.in index 9e8a6d9..ffc425e 100644 --- a/Modules/NSIS.template.in +++ b/Modules/NSIS.template.in @@ -902,7 +902,7 @@ SectionEnd Function .onInit StrCmp "@CPACK_NSIS_ENABLE_UNINSTALL_BEFORE_INSTALL@" "ON" 0 inst - ReadRegStr $0 HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\@CPACK_PACKAGE_NAME@" "UninstallString" + ReadRegStr $0 HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\@CPACK_PACKAGE_INSTALL_REGISTRY_KEY@" "UninstallString" StrCmp $0 "" inst MessageBox MB_YESNOCANCEL|MB_ICONEXCLAMATION \ |