View Issue Details [ Jump to Notes ] | [ Print ] |
ID | Project | Category | View Status | Date Submitted | Last Update |
0013939 | CMake | CPack | public | 2013-02-21 03:55 | 2016-06-10 14:31 |
|
Reporter | Urs Fleisch | |
Assigned To | Kitware Robot | |
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | moved | |
Platform | Windows | OS | Windows | OS Version | 7 |
Product Version | CMake 2.8.10.2 | |
Target Version | | Fixed in Version | | |
|
Summary | 0013939: NSIS installer doesn't honor standard user permission |
Description | When 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 Reproduce | Use the NSIS generator, install as a standard user. |
Tags | No tags attached. |
|
Attached Files | |
|