I am installing my software (myprog.exe) using inno setup and i would like to force users to launch myprog.exe as adminstrator but i cant figure out!
my exe doesen’t have the uac shield on the icon and it can be launch without “right click” – “run as administrator”
I have set PrivilegesRequired=admin for the installer but i just for the installation phase.
In fact i want to tell to windows “Hey my program is dangerous, allays ask to run it as administrator”
Any ideas?
The application itself (myprog.exe) should be built with a manifest to specify that it needs administrator privileges. See http://msdn.microsoft.com/en-us/library/windows/desktop/bb756929.aspx
Thus the app manifest must contain the following element: