View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0013455CMakeCPackpublic2012-08-03 23:242013-03-04 08:38
Reporterszx 
Assigned ToDavid Cole 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product VersionCMake 2.8.8 
Target VersionCMake 2.8.10Fixed in VersionCMake 2.8.10 
Summary0013455: CPACK_NSIS_ENABLE_UNINSTALL_BEFORE_INSTALL is broken
DescriptionI 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".

TagsNSIS
Attached Filespatch file icon fix-nsis-enable-uninstall-before-install.patch [^] (666 bytes) 2012-08-03 23:24 [Show Content]

 Relationships
related to 0013578closedDavid Cole NSIS template incorrectly uses CPACK_PACKAGE_NAME instead of CPACK_PACKAGE_INSTALL_REGISTRY_KEY 

  Notes
(0031329)
David Cole (manager)
2012-10-25 12:50

Same fix as made for the related bug 0013578
(0032490)
Robert Maynard (manager)
2013-03-04 08:38

Closing resolved issues that have not been updated in more than 4 months.

 Issue History
Date Modified Username Field Change
2012-08-03 23:24 szx New Issue
2012-08-03 23:24 szx File Added: fix-nsis-enable-uninstall-before-install.patch
2012-08-03 23:39 szx Tag Attached: NSIS
2012-08-07 17:28 David Cole Assigned To => David Cole
2012-08-07 17:28 David Cole Status new => assigned
2012-10-25 12:50 David Cole Note Added: 0031329
2012-10-25 12:50 David Cole Status assigned => resolved
2012-10-25 12:50 David Cole Fixed in Version => CMake 2.8.10
2012-10-25 12:50 David Cole Resolution open => fixed
2012-10-25 12:51 David Cole Relationship added related to 0013578
2012-10-25 12:51 David Cole Target Version => CMake 2.8.10
2013-03-04 08:38 Robert Maynard Note Added: 0032490
2013-03-04 08:38 Robert Maynard Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team