Winamp & Shoutcast Forums

Winamp & Shoutcast Forums (http://forums.winamp.com/index.php)
-   NSIS Discussion (http://forums.winamp.com/forumdisplay.php?f=65)
-   -   Help! problem abou install on vista (http://forums.winamp.com/showthread.php?t=262046)

kinki kids 19th December 2006 00:31

Help! problem abou install on vista
 
My program need a dirver to run, so it must run as a administrator, but how can i set my program "run this program as a administrator"?

Does NSIS support this function?

ths

onad 19th December 2006 10:02

Make sure you use NSIS version v2.22 or higher and then add the line blow to your script...

RequestExecutionLevel admin

For the rest, see your own quote ;)

kinki kids 20th December 2006 00:21

thanks a lot

kinki kids 28th December 2006 09:00

RequestExecutionLevel admin

using this command can elevate setup.exe's privileges really, but can't elevate my program.

After installed, it can't run unless manually enable the option of "Run as a administrator".

kichik 29th December 2006 09:35

Embed a manifest in your program as well. For more details, see MSDN.

http://msdn.microsoft.com/library/en...asp?frame=true

o_owd 30th December 2006 14:56

Just to be sure,

If I use "RequestExecutionLevel admin" I do not need the .manifest file anymore ? I am talking about the setup file made in NSIS, not the program it installs.

Thanks.

kichik 30th December 2006 15:44

That's correct. That command adds the manifest.


All times are GMT. The time now is 04:35.

Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.