Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I make the installer Run as admin

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...

like image 762
JijeshKV Avatar asked Feb 22 '12 19:02

JijeshKV


People also ask

How do I install Windows installer as administrator?

First Option Open elevated Command Prompt. To do so, type "CMD" in Start menu or Start screen search box, and then simultaneously press Ctrl+Shift+Enter keys. Click Yes button when you see the UAC prompt. In the Command Prompt, navigate to the directory that the install file is located in and run the install file.


1 Answers

With InstallShield 2008 (14.0) go to Media -> Releases then select tab Setup.exe and change the item Required Execution Level to Administrator

enter image description here

like image 60
emmanuel Avatar answered Sep 21 '22 20:09

emmanuel