Winamp & Shoutcast Forums

Winamp & Shoutcast Forums (http://forums.winamp.com/index.php)
-   NSIS Discussion (http://forums.winamp.com/forumdisplay.php?f=65)
-   -   how to become an administrator? (http://forums.winamp.com/showthread.php?t=147547)

seva_t 29th August 2003 22:39

how to become an administrator?
 
I want to present a dialog box "Run this program as administrator"
typical in recent installers I have seen
if the user doesn't have administrative rights.

Is there a way to do so with NSIS?

Thanks,
-seva

kichik 30th August 2003 11:11

Have you got an example where this can be seen?

Rovastar 30th August 2003 23:35

I thought this was going to be I want to be a moderator threads but going whole hog for Administartor status. :) ....but it wasn't.:(

Sorry for derailing posts in your forum kichik. Here have a cake and soem cookies. You are always hungry I seem to remember. :)

Joost Verburg 31st August 2003 21:03

That's a Windows XP feature, I think it's based on the filename (setup, installer), you should check MSDN.

seva_t 2nd September 2003 18:17

Thanks for info.

Related question:
assuming that the user has administrative rights,
is it possible to start a Windows service in NSIS?

Thanks!

seva_t 2nd September 2003 18:19

P.S.
an example where this can be seen:

create a regular user (PowerUsers group) and log in as that user.
Then run MS Office installer.

kichik 2nd September 2003 20:54

To start Windows services use Sunjammer's services plug-in from the archive's download page. See http://nsis.sf.net/archive

Sunjammer 2nd September 2003 23:10

Or on 2K/XP (& NT?) just use exec the "net" command, e.g. "net start servicename".


All times are GMT. The time now is 18:07.

Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.