baldus
23rd December 2002 08:52 UTC
Checking
Hello
I just tried NIS and managed to have a working installer/uninstaller
in a just over an hour with. Just what I needed simple, easy and
powerful enough.
I have a question in order to make my installer robust enough:
how to check for admin privilege ?
(point me to the relevant manual/faq/forum if I missed the info)
thanks
christophe
sdbarker
23rd December 2002 09:11 UTC
Just search the forum.
-Scott
baldus
23rd December 2002 09:34 UTC
OK I found the solution based on a DLL
and the one by trying to write to the
registry (that was my current design).
I suggest to add an entry about this topic
in the appendix B of the manual
(useful function) in some future
thanks again !
christophe
kichik
23rd December 2002 14:54 UTC
It's in the FAQ (the third post in this forum, sticky):
How can I make sure the user installing my software has admin rights?
Use the IsAdmin DLL to find out.
If you are using version b0 or above you can use UserInfo.dll in your contrib folder.