diff options
author | Brad King <brad.king@kitware.com> | 2023-09-06 15:18:56 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2023-09-06 15:19:03 (GMT) |
commit | 00a7acb7dac674eeeac3f93fe44f18f2d9285f42 (patch) | |
tree | e13deee7a17d33967cf6dfad5434728879610867 | |
parent | ce4df15c41967df41c3061622f48a22b57674bfc (diff) | |
parent | d3bfe0ea4424c13deb9647358b36432db235386d (diff) | |
download | CMake-00a7acb7dac674eeeac3f93fe44f18f2d9285f42.zip CMake-00a7acb7dac674eeeac3f93fe44f18f2d9285f42.tar.gz CMake-00a7acb7dac674eeeac3f93fe44f18f2d9285f42.tar.bz2 |
Merge topic 'nsis-correct-jump'
d3bfe0ea44 CPack/NSIS: Fix incorrect jump for standard user
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !8767
-rw-r--r-- | Modules/Internal/CPack/NSIS.template.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/Internal/CPack/NSIS.template.in b/Modules/Internal/CPack/NSIS.template.in index 21753af..6349f9d 100644 --- a/Modules/Internal/CPack/NSIS.template.in +++ b/Modules/Internal/CPack/NSIS.template.in @@ -981,7 +981,7 @@ inst: ;MessageBox MB_OK 'User "$0" is in the Admin group' StrCpy $SV_ALLUSERS "AllUsers" Goto done - StrCmp $1 "Power" 0 +4 + StrCmp $1 "Power" 0 +3 SetShellVarContext all ;MessageBox MB_OK 'User "$0" is in the Power Users group' StrCpy $SV_ALLUSERS "AllUsers" |