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
Help! problem abou install on vista
7 posts
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 😉
RequestExecutionLevel admin
For the rest, see your own quote 😉
thanks a lot
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".
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".
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.
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.
That's correct. That command adds the manifest.