Go Back   Winamp Forums > Developer Center > NSIS Discussion

Reply
Thread Tools Search this Thread Display Modes
Old 17th July 2008, 14:36   #1
dhesmer
Junior Member
 
Join Date: Feb 2008
Location: Germany
Posts: 12
How to check if a user has admin rights

I want to check before the Directory_Page_Setting if the user has admin rights or not. Depending on the result, I would put as target drive for admins "C:\Program Folder\MyApp" and for normal users "C:\MyApp" to the screen.
How I can find out, if the user has admin rights?

Thanks for your help
regards
Diedrich
dhesmer is offline   Reply With Quote
Old 17th July 2008, 19:19   #2
Anders
Moderator
 
Anders's Avatar
 
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 2,781
the userinfo plugin

IntOp $PostCount $PostCount + 1
Anders is offline   Reply With Quote
Reply
Go Back   Winamp Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump