View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0013525CMake(No Category)public2012-09-10 15:152016-06-10 14:31
Reporterdanoushh 
Assigned ToKitware Robot 
PrioritynormalSeveritytweakReproducibilityN/A
StatusclosedResolutionmoved 
PlatformallOSWindowsOS VersionALL
Product VersionCMake 2.8.9 
Target VersionFixed in Version 
Summary0013525: Add silent flag to NSIS auto uninstall require
DescriptionIn issue ID 0009946 the CPACK NSIS template was modified with the CPACK_NSIS_ENABLE_UNINSTALL_BEFORE_INSTALL flag. This is great but it would be nice to also have an optional flag that performs the uninstall silently.

Steps To ReproduceIn CPACK using NSIS generator set CPACK_NSIS_ENABLE_UNINSTALL_BEFORE_INSTALL to ON
TagsNo tags attached.
Attached Files? file icon NSIS.template.in [^] (29,649 bytes) 2014-04-24 15:20
? file icon NSIS.template.in.2 [^] (29,649 bytes) 2014-04-25 10:30

 Relationships

  Notes
(0030987)
danoushh (reporter)
2012-09-10 16:00

A silent uninstall should only be performed immediately before the new installation begin - i.e. after the user has accepted the terms, had a change to go through the wizard and clicked the "install" button.
(0035774)
danoushh (reporter)
2014-04-24 15:23
edited on: 2014-04-24 15:24

Added a small patch for silent uninstall in NSIS.template.in

The patch works by checking for:
CPACK_NSIS_ENABLE_UNINSTALL_BEFORE_INSTALL_SILENTLY

When CPACK_NSIS_ENABLE_UNINSTALL_BEFORE_INSTALL_SILENTLY is "ON", NSIS silent uninstall is performed and UI dialogs are not shown.


TODO:
 - ensure that uninstall is not performed until the user has accepted all terms and proceeded to install the new package

(0035775)
danoushh (reporter)
2014-04-24 15:29

Update NSIS.tempalte.in.2 so that CPACK_NSIS_ENABLE_UNINSTALL_BEFORE_INSTALL_SILENTLY works independent of CPACK_NSIS_ENABLE_UNINSTALL_BEFORE_INSTALL
(0042118)
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
2012-09-10 15:15 danoushh New Issue
2012-09-10 16:00 danoushh Note Added: 0030987
2014-04-24 15:20 danoushh File Added: NSIS.template.in
2014-04-24 15:23 danoushh Note Added: 0035774
2014-04-24 15:24 danoushh Note Edited: 0035774
2014-04-24 15:29 danoushh Note Added: 0035775
2014-04-25 10:30 danoushh File Added: NSIS.template.in.2
2016-06-10 14:28 Kitware Robot Note Added: 0042118
2016-06-10 14:28 Kitware Robot Status new => 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