View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0010728CMakeCPackpublic2010-05-18 05:172016-06-10 14:31
ReporterA. Saratow 
Assigned ToKitware Robot 
PrioritynormalSeverityfeatureReproducibilityalways
StatusclosedResolutionmoved 
PlatformOSOS Version
Product VersionCMake-2-8 
Target VersionFixed in Version 
Summary0010728: Make NSIS uninstaller filename (Uninstall.exe) customizable.
DescriptionWe have to generate two different setup packages from the same project (a application package and a data one) but to install them into the same location on the target system.

The later installed package would overwrite the 'Uninstall.exe' of the first one, so the deinstallation would only remove the files of the second installed package.

A simple resolution to this problem would be to make the uninstaller name customizable.
Additional InformationSee attached patch.

Uninstaller name may be customized by entering e.g.
> set( CPACK_UNINSTALL_NAME "My Custom Uninstaller Name" )

before
> include( CPack )

This will set the name of the uninstaller application ('Uninstall.exe') as well as the name of the start menu link ('Uninstall.lnk')
If no custom uninstall name was specified, the old 'Uninstall' will be used as a default value.
TagsNSIS, patch
Attached Filespatch file icon cmake-2.8.1.patch [^] (2,664 bytes) 2010-05-18 05:17 [Show Content]
patch file icon 0001-Make-NSIS-uninstaller-filename-Uninstall.exe-customi.patch [^] (3,605 bytes) 2012-12-26 03:35 [Show Content]
patch file icon 0002-Make-NSIS-uninstaller-filename-Uninstall.exe-customi.patch [^] (3,729 bytes) 2013-11-19 09:50 [Show Content]

 Relationships

  Notes
(0031941)
Kolan Sh (reporter)
2012-12-26 03:34

I vote with both hands for this patch!
I changed it a bit for the new version of CMake.
(0034131)
Kolan Sh (reporter)
2013-10-16 06:38

It is a very useful patch and it can be applied without any conflicts on the current Git-version. Dear CMake developers, please, pay attention!
(0041701)
Kitware Robot (administrator)
2016-06-10 14:28

Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page.

 Issue History
Date Modified Username Field Change
2010-05-18 05:17 A. Saratow New Issue
2010-05-18 05:17 A. Saratow File Added: cmake-2.8.1.patch
2010-12-14 18:37 David Cole Assigned To => David Cole
2010-12-14 18:37 David Cole Status new => assigned
2011-10-25 22:25 David Cole Status assigned => backlog
2011-10-25 22:27 David Cole Assigned To David Cole =>
2012-12-26 03:34 Kolan Sh Note Added: 0031941
2012-12-26 03:35 Kolan Sh File Added: 0001-Make-NSIS-uninstaller-filename-Uninstall.exe-customi.patch
2012-12-26 03:35 Kolan Sh Tag Attached: NSIS
2012-12-26 03:35 Kolan Sh Tag Attached: patch
2013-10-16 06:38 Kolan Sh Note Added: 0034131
2013-11-19 09:50 Kolan Sh File Added: 0002-Make-NSIS-uninstaller-filename-Uninstall.exe-customi.patch
2016-06-10 14:28 Kitware Robot Note Added: 0041701
2016-06-10 14:28 Kitware Robot Status backlog => resolved
2016-06-10 14:28 Kitware Robot Resolution open => moved
2016-06-10 14:28 Kitware Robot Assigned To => Kitware Robot
2016-06-10 14:31 Kitware Robot Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team