This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: launch program as administrator
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 13, 2012
01:59 AM
launch program as administrator
Hello,
I use LaunchAppAndWait and I set before laaw_shallexecuteverb as "runas".
My problem is that, during installation, this produce a trigger a User Account Control (UAC) prompt for consent or credentials. Is there a way to avoid this?
Thank you in advance for your reply
I use LaunchAppAndWait and I set before laaw_shallexecuteverb as "runas".
My problem is that, during installation, this produce a trigger a User Account Control (UAC) prompt for consent or credentials. Is there a way to avoid this?
Thank you in advance for your reply
(4) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 13, 2012
03:43 AM
Are you trying to launch a program from system folder?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 13, 2012
04:02 AM
Thank you J_anitha for your reply.
I launch the program from system folder. Is this the problem?
I launch the program from system folder. Is this the problem?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 17, 2012
12:35 AM
You can try adding the program under HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags, with RUNASADMIN value, just before launching it with LaunchApp API.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 25, 2013
06:05 AM
if the main program, the setup program is launched with admin rights, so will be the child process(without the need to do something extra).