i want to execute some commands using NSIS script , but for the commands to work i have to open command prompt using “run as administrator” from the right click menu . How do it do it using NSIS script .
I am using
RequestExecutionLevel admin
along with the exec command but this does not seem to work .
RequestExecutionLevelonly works on Vista+ when UAC is on so you should also check at run-time to cover the other cases: