WINAMP.COM | Forums > Developer Center > NSIS Discussion > administrator check |
Last Thread
Next Thread
|
| Author |
|
|
pengyou Senior Member
Registered: Mar 2003 |
Try the UserInfo plugin which comes with NSIS. There is an example script in the Contrib\UserInfo folder. |
||
|
|
|
JeronimoColon Junior Member
Registered: Sep 2004 |
There is an undocumented Windows API call for this in the shell32.dll. As part of the Microsoft settlement Microsoft was force to expose a portion of them. One I'm referring to is: ordinal# 680 a.k.a. IsUserAnAdmin. |
||
|
|
|
kichik M.I.A. [NSIS Dev, Mod]
Registered: Oct 2001 |
code: __________________ |
||
|
|
|
JeronimoColon Junior Member
Registered: Sep 2004 |
kichik, |
||
|
|
|
drmabuse Junior Member
Registered: Oct 2007 |
code: |
||
|
|
|
fishweasel Junior Member
Registered: Nov 2006 |
I use the following for validation of Administrator user code: Fish |
||
|
|
|
kichik M.I.A. [NSIS Dev, Mod]
Registered: Oct 2001 |
fishweasel, you got this from Examples\UserInfo which is the examples folder for the plug-in written exactly for this purpose. __________________ |
||
|
|
|
Last Thread Next Thread
|
WINAMP.COM | Forums > Developer Center > NSIS Discussion > administrator check |
Forum Rules:
|