Merge topic 'nsis-correct-jump'

d3bfe0ea44 CPack/NSIS: Fix incorrect jump for standard user

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !8767
This commit is contained in:
Brad King
2023-09-06 15:18:56 +00:00
committed by Kitware Robot

View File

@@ -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"