fixed compile error when check for administrator or power user privileges is included
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5488 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
1ee934b1f9
commit
23e1474468
1 changed files with 3 additions and 3 deletions
|
@ -154,7 +154,7 @@ Installer/uninstaller initialization
|
|||
|
||||
*/
|
||||
|
||||
!macro MULTIUSER_INIT_QUIT
|
||||
!macro MULTIUSER_INIT_QUIT UNINSTALLER_FUNCPREFIX
|
||||
|
||||
!ifdef MULTIUSER_INIT_${UNINSTALLER_FUNCPREFIX}FUNCTIONQUIT
|
||||
Call "${MULTIUSER_INIT_${UNINSTALLER_FUNCPREFIX}FUCTIONQUIT}
|
||||
|
@ -193,7 +193,7 @@ Installer/uninstaller initialization
|
|||
|
||||
${if} $MultiUser.Privileges != "Admin"
|
||||
MessageBox MB_OK|MB_ICONSTOP "${MULTIUSER_INIT_TEXT_ADMINREQUIRED}"
|
||||
!insertmacro MULTIUSER_INIT_QUIT ${UNINSTALLER_FUNCPREFIX}
|
||||
!insertmacro MULTIUSER_INIT_QUIT "${UNINSTALLER_FUNCPREFIX}"
|
||||
${endif}
|
||||
|
||||
!else if "${MULTIUSER_EXECUTIONLEVEL}" == Power
|
||||
|
@ -205,7 +205,7 @@ Installer/uninstaller initialization
|
|||
${else}
|
||||
MessageBox MB_OK|MB_ICONSTOP "${MULTIUSER_INIT_TEXT_ADMINREQUIRED}"
|
||||
${endif}
|
||||
!insertmacro MULTIUSER_INIT_QUIT ${UNINSTALLER_FUNCPREFIX}
|
||||
!insertmacro MULTIUSER_INIT_QUIT "${UNINSTALLER_FUNCPREFIX}"
|
||||
${endif}
|
||||
|
||||
!endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue