|
|
#1 |
|
Junior Member
Join Date: May 2001
Posts: 11
|
I need to make sure that the person logged in has administrator access because of other third party drivers I need to install. I only care about this for WinNT/2K/XP. For Win95/98/ME, it can install without checking. How would I go about checking that? Is there some sort of registry setting I can check?
Thanks, Aarif |
|
|
|
|
|
#2 |
|
Member
|
hi,
there is no registry setting you can check as that is handled by advapi32.dll; so that is (AFAIK) not yet possible with nsis. cu yzo |
|
|
|
|
|
#4 |
|
Member
|
hi,
maybe someone could implement this into nsis: code: my c knowledge is not that good to do that cu yzo |
|
|
|
|
|
#5 |
|
Junior Member
Join Date: May 2001
Posts: 11
|
Thanks yazno.
I have modified the source code (probably about 10 lines of code) to implement a new command "IfAdmin" using the code supplied by yazno. The command works like "IfErrors". If anyone is interrested in the changes, let me know, and I will post them here. Thanks again to yazno. Aarif |
|
|
|
|
|
#6 |
|
Member
|
hi,
that is cool, maybe you could send the source/changes to justin, so we could all take advantage of it ![]() cu yzo |
|
|
|
|
|
#7 |
|
Junior Member
Join Date: May 2001
Posts: 11
|
How do I send the changes to Justin?
Aarif |
|
|
|
|
|
#8 |
|
Member
|
hi
just send it to justin@nullsoft.com cu yzo |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|