IsUserAdmin
Hello,
I use the script IsUserAdmin from:
http://nsis.sourceforge.net/IsUserAdmin
Now I want to check before uninstalling whether the user has admin rights:
Function un.onInitBut it says:
!insertmacro MUI_UNGETLANGUAGE
Call IsUserAdmin
Pop $R0
${if} $R0 == "0"
Abort
${EndIf}
FunctionEnd
!insertmacro: end of MUI_UNGETLANGUAGEWhat am I doing wrong ?
Call must be used with function names starting with "un." in the uninstall section.
Usage: Call function_name | [:label_name]
Error in script "C:\Documents and Settings\Administrator\Desktop\Setup\Setup.nsi" on line 292 -- aborting creation process
Bye Defcon