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
- :
- Question answered
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
May 09, 2011
05:12 PM
Executable won't run from install unless install is “Run from Administrator”
I am running Windows 7 with Administrator privileges. I would like my Basic MSI install to launch an executable without having to right click on the install and then click on “Run as Administrator”. If I “Run as Administrator” the install, I get a prompt asking, “Would you like to install this device software” (my executable installs a driver), and when I click the “Install” button, the driver is installed. However, if I launch the install just by double clicking in Windows Explorer, I get an error dialog box from the install: Error 1721…A program required for this install to complete could not be run…”.
Evidently the executable cannot proceed without the permission it gets when the install is “Run as Administrator.” Is there some way to make that happen with the install so the user doesn’t have to Run as Administrator? Remember, I’m talking about a user with Administrator privileges.
Thanks for any reply,
Gary
Evidently the executable cannot proceed without the permission it gets when the install is “Run as Administrator.” Is there some way to make that happen with the install so the user doesn’t have to Run as Administrator? Remember, I’m talking about a user with Administrator privileges.
Thanks for any reply,
Gary
(4) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
May 10, 2011
09:43 AM
Hello,
Have you embedded the 'administrator' manifest to the setup.exe?
(That is if you're using a setup.exe to loanch the msi file)
Have you embedded the 'administrator' manifest to the setup.exe?
(That is if you're using a setup.exe to loanch the msi file)
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Mar 02, 2012
06:21 PM
Thanks for your answer. I'm a little late in replying but my problem is that I don't know how to do that. Is there a setting in InstallShield? On the General Information page I made the "Install condition" "Admin User", but that didn't seem to help.
Gary
Gary
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Mar 05, 2012
11:13 AM
I would like to make it so that the install runs only if "Run as administrator". How do I do that? On the General Information page I made the "Install condition" "Admin User", but that didn't seem to be effective.
Thanks,
GF
Thanks,
GF
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Mar 05, 2012
11:56 AM
Now I see that I can set the execution level from Media->Releases->Release 1->Setup.exe->Required Execution Level.
![](/skins/images/8CE4FAD0DE6F3A6F9D0567434D2D2DAE/responsive_peak/images/icon_anonymous_message.png)