[cmake-developers] [CMake 0013455]: CPACK_NSIS_ENABLE_UNINSTALL_BEFORE_INSTALL is broken

Mantis Bug Tracker mantis at public.kitware.com
Fri Aug 3 23:24:31 EDT 2012


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=13455 
====================================================================== 
Reported By:                quaker
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   13455
Category:                   CPack
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2012-08-03 23:24 EDT
Last Modified:              2012-08-03 23:24 EDT
====================================================================== 
Summary:                    CPACK_NSIS_ENABLE_UNINSTALL_BEFORE_INSTALL is broken
Description: 
I stumbled upon this issue:

http://public.kitware.com/Bug/view.php?id=9946

and was quite happy until I found that it doesn't work for me...

It seems that you have to use CPACK_NSIS_PACKAGE_NAME in
Modules/NSIS.template.in instead of CPACK_PACKAGE_NAME to get this feature
working because in registry the package name looks like "PackageName x.y", not
just "PackageName".


====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2012-08-03 23:24 quaker         New Issue                                    
2012-08-03 23:24 quaker         File Added:
fix-nsis-enable-uninstall-before-install.patch                    
======================================================================




More information about the cmake-developers mailing list