My application has an installer built in installshield. But for proper working of installation process in vista Win 7 etc. the installer should be run as administrator. (Even though the user has admin previlege he should select the 'Run as Administrator' option in the menu on rightclicking the installer exe)
How can I make my installer to prompt that it should be always run as administrator.
Thanks in advance...
You need to set the execution level to "Require Administrator" from the project options. This option will be stored in the manifest file included in your setup package and it will make the installer to act as it was launched with the option "Run as administrator" on machines that run on Vista or a newer OS. Older versions of Windows will ignore the manifest file.
With InstallShield 2008 (14.0) go to Media -> Releases then select tab Setup.exe and change the item Required Execution Level to Administrator
来源:https://stackoverflow.com/questions/9401525/how-can-i-make-the-installer-run-as-admin