View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0013939CMakeCPackpublic2013-02-21 03:552016-06-10 14:31
ReporterUrs Fleisch 
Assigned ToKitware Robot 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionmoved 
PlatformWindowsOSWindowsOS Version7
Product VersionCMake 2.8.10.2 
Target VersionFixed in Version 
Summary0013939: NSIS installer doesn't honor standard user permission
DescriptionWhen installing an NSIS package generated by CMake as a standard user, the installer tries to install the program into the "all users" location, which fails because of permissions. It should install into the user's directory.

The bug seems to have been introduced while fixing 0012923 (commit c4a0bcea775981dea86d527f66161c98f5e05e95). Whereas the first correction from +3 to +4 was correct to enable the recognition of power users, the second change

- StrCmp $1 "Power" 0 +3
+ StrCmp $1 "Power" 0 +4

is wrong. It will jump to "StrCpy $SV_ALLUSERS "AllUsers" instead of "Goto done" for a standard user. This change should be reverted.
Steps To ReproduceUse the NSIS generator, install as a standard user.
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0042230)
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
2013-02-21 03:55 Urs Fleisch New Issue
2016-06-10 14:28 Kitware Robot Note Added: 0042230
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