Archive: How to make my installed application run as admin automatic


How to make my installed application run as admin automatic
Hi,
I need some help. I wrote an application with VC++ and made a NSIS installer to install my app on the same PC for test (vista os). I meet two problems:
1. My application created by VC++ can run in vista correctly. But the installed application can not run without admin right. I have to run it as admin. I don’t know what happened for my application in the installer. I just copy files from EXECDIR to INSTDIR.
2. If I have to run my installed application with admin right, how can I tag run as admin automatically? If I create shortcut, what should I do for this purpose?


add a manifest to your exe


It works. Thank you very much