View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0012923CMakeCPackpublic2012-01-31 17:262012-09-03 16:02
Reporterhelsing72 
Assigned ToBrad King 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSWindowsOS VersionWindows XP
Product VersionCMake 2.8.7 
Target VersionCMake 2.8.8Fixed in VersionCMake 2.8.8 
Summary0012923: NSIS installer doesn't honor user permission
DescriptionWhen using the NSIS generator from CPack the file NSIS.template.in is used to generate a project.nsi file for NSIS to process. The file consists code in the NSIS scripting language. Among other functions there is an onInit function the initializes the installer. The function (tries to) recognise admin and power users but fails since NSIS scripting language relative includes the jump from the current command so +3 means "run the third command after this one", so a failed check for admin completely skips the check for a power user and goes directly to "done:"
Steps To ReproduceUse the NSIS generator
Additional Informationattached patch fixes issue
TagsNo tags attached.
Attached Filespatch file icon nsis-template.patch [^] (611 bytes) 2012-01-31 17:26 [Show Content]

 Relationships

  Notes
(0028435)
Brad King (manager)
2012-02-01 08:13

It looks like this was introduced here:

  http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=b1b052fd#patch2 [^]

where lines were added without updating the jump length.
(0028436)
Brad King (manager)
2012-02-01 08:23

Applied patch, thanks!

http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=c4a0bcea [^]
(0030879)
David Cole (manager)
2012-09-03 16:02

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

 Issue History
Date Modified Username Field Change
2012-01-31 17:26 helsing72 New Issue
2012-01-31 17:26 helsing72 File Added: nsis-template.patch
2012-02-01 08:13 Brad King Note Added: 0028435
2012-02-01 08:23 Brad King Note Added: 0028436
2012-02-01 08:23 Brad King Status new => resolved
2012-02-01 08:23 Brad King Resolution open => fixed
2012-02-01 08:23 Brad King Assigned To => Brad King
2012-04-19 15:46 David Cole Fixed in Version => CMake 2.8.8
2012-04-19 15:46 David Cole Target Version => CMake 2.8.8
2012-09-03 16:02 David Cole Note Added: 0030879
2012-09-03 16:02 David Cole Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team