The following issue has been SUBMITTED.
======================================================================
http://public.kitware.com/Bug/view.php?id=13578
======================================================================
Reported By: Alexander
Assigned To:
======================================================================
Project: CMake
Issue ID: 13578
Category: CPack
Reproducibility: always
Severity: minor
Priority: normal
Status: new
======================================================================
Date Submitted: 2012-10-08 15:31 EDT
Last Modified: 2012-10-08 15:31 EDT
======================================================================
Summary: NSIS template incorrectly uses CPACK_PACKAGE_NAME
instead of CPACK_PACKAGE_INSTALL_REGISTRY_KEY
Description:
On line 905 of NSIS.template.in there is this code:
ReadRegStr $0 HKLM
"Software\Microsoft\Windows\CurrentVersion\Uninstall\@CPACK_PACKAGE_NAME@"
"UninstallString"
@CPACK_PACKAGE_NAME@ should read @CPACK_PACKAGE_INSTALL_REGISTRY_KEY@, since
that's what's used across the rest of the file, e.g. on line 77:
ReadRegDWORD $AR_RegFlags HKLM
"Software\Microsoft\Windows\CurrentVersion\Uninstall\@CPACK_PACKAGE_INSTALL_REGISTRY_KEY@\Components\${SecName}"
"Installed"
Because of this bug the CPACK_NSIS_ENABLE_UNINSTALL_BEFORE_INSTALL option
doesn't really work.
Thanks,
Alexander
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2012-10-08 15:31 Alexander New Issue
======================================================================
--
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers