Hello,

First of all, you should not set the "Run as administrator" compatibility mode. Don't do this! If your application really needs administrator execution level privileges (and in fact, it should not) then you have to embed an UAC-aware manifest into your application.

See "#embed UAC manifest..." compiler directive in SetupBuilder.

BTW, why does this application needs administrator execution level privileges? By default, it should only run non-elevated.

Okay, but to answer your question <g>: "Run as administrator" is not a Windows Shortcut function. You have to set this via "compatibility mode". The "Set App Compatibility Mode..." script function can handle this for you. But again, it is not recommended to do this at all! #1 priority should be to convert this .exe into an UAC-aware Windows 7/8 compliant application. Compatibility mode (and non-UAC-aware legacy applications in general) will result in a support nightmare sooner or later.

Does this help?

Friedrich

Friedrich Linder
Lindersoft
www.lindersoft.com
+1.954.252.3910

SetupBuilder is Windows installation -- "point. click. ship"

-- Official Comodo Code Signing and SSL Certificate Partner