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
- :
- Elevate Chained MSI
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
‎Nov 07, 2008
12:39 PM
Elevate Chained MSI
Is there a way to elevate a chained MSI?
It seems that I am having trouble starting a service in a chained MSI because it appears that the chained MSI is not receiving the proper elevation.
Could there be a way to pass a property or something to the chained MSI to allow it to run elevated?
Thanks.
It seems that I am having trouble starting a service in a chained MSI because it appears that the chained MSI is not receiving the proper elevation.
Could there be a way to pass a property or something to the chained MSI to allow it to run elevated?
Thanks.
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 10, 2008
11:33 AM
I assume you mean to have it pre-elevated, like the setup.exe execution level setting of Administrator does in a single-package project. If so, I believe you can only do this at the outermost level with that same setting. Otherwise Windows Installer will use the limited privileges for all actions which are not deferred in system context.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 14, 2008
11:03 AM
I have a custom action within a chained MSI that requires Admin privileges. If I was installing this MSI on its own, I would just bootstrap the MSI within a setup.exe to get the Admin privileges.
However when I run an Installscript MSI that installs this MSI via chaining as an Admin, this MSI is not getting the proper privileges because it's returning an error that would only occur in Non-Admin mode.
However when I run an Installscript MSI that installs this MSI via chaining as an Admin, this MSI is not getting the proper privileges because it's returning an error that would only occur in Non-Admin mode.