sandrakim90
13th February 2009 14:09 UTC
How can NSIS set "run this program as administrator"
Hi,
On Vista, I need the installer to set "run this program as administrator" on some of the files being installed by the installer. I could not find the answer in the NSIS documentation. Does anyone know how to do this?
Thank you in advance!
MSG
13th February 2009 16:07 UTC
Do you want NSIS to run those files as admin (once), or do you want those files to always pop up an admin request when they are run by the user?
Anders
13th February 2009 16:17 UTC
first hit when searching for "shortcut admin": http://forums.winamp.com/showthread....57#post2254657 (the flag you want is SLDF_RUNAS_USER)
sandrakim90
13th February 2009 16:25 UTC
> Do you want NSIS to run those files as admin (once)
No
> or do you want those files to always pop up an admin
> request when they are run by the user?
Yes
Thank you.