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
- :
- Running Install Script with Elevated Privileges
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
Sep 12, 2014
03:35 AM
Running Install Script with Elevated Privileges
We're trying to get our installation to run with UAC turned on. Our install script contains several calls to regasm and ngen executables. It therefore needs to run with elevated privileges. Setting the Required Execution Level works for the Setup.exe, but I can't do the same for installation using the .msi file.
I've set "Require Administrative Privileges" to "Yes" in the Summary Information Stream, but the installation runs without calling regasm and the .tlb files we require are not created.
I'm a user with Admin rights, running InstallShield 2011 on Windows 7. What else do I need to do?
I've set "Require Administrative Privileges" to "Yes" in the Summary Information Stream, but the installation runs without calling regasm and the .tlb files we require are not created.
I'm a user with Admin rights, running InstallShield 2011 on Windows 7. What else do I need to do?
(1) Reply
Nov 07, 2014
04:07 PM
rojomoke wrote:
We're trying to get our installation to run with UAC turned on. Our install script contains several calls to regasm and ngen executables. It therefore needs to run with elevated privileges. Setting the Required Execution Level works for the Setup.exe, but I can't do the same for installation using the .msi file.
I've set "Require Administrative Privileges" to "Yes" in the Summary Information Stream, but the installation runs without calling regasm and the .tlb files we require are not created.
I'm a user with Admin rights, running InstallShield 2011 on Windows 7. What else do I need to do?
Suggest trying to launch command prompt as Administrator then run
msiexec /i software_to_be_installed.msi