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: Requesting elevated privileges from 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
‎Mar 23, 2011
12:47 PM
Requesting elevated privileges from msi
Hello,
The Altiris Wise is able to create msi project (not setup exe) to request elevated privileges on Vista and above...
It calls a dll function to create a new process for msiexec with elevated privileges and then it closes the old msiexec process.
Is there any way to achieve it with Installshield? Does anybody know how I should do it?
Thank You
DR
The Altiris Wise is able to create msi project (not setup exe) to request elevated privileges on Vista and above...
It calls a dll function to create a new process for msiexec with elevated privileges and then it closes the old msiexec process.
Is there any way to achieve it with Installshield? Does anybody know how I should do it?
Thank You
DR
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 13, 2011
02:34 AM
Windows Installer runs in two different processes: a client process running the User Interface sequence and a server process running the Execute sequence. When Windows Installer switches from the client to the server process, UAC asks for permission. By default, the "Install" button on the ReadyToInstall dialog should display the UAC shield icon.
If you want elevated privileges from the beginning (this may be needed for custom actions running in user context, even in the Execute sequence...), you have to set these privileges in setup.exe.
In the Releases view of InstallShield, select a release, go to the setup.exe tab, set "Required Execution Level" to "Administrator".
Best regards,
Matthias
If you want elevated privileges from the beginning (this may be needed for custom actions running in user context, even in the Execute sequence...), you have to set these privileges in setup.exe.
In the Releases view of InstallShield, select a release, go to the setup.exe tab, set "Required Execution Level" to "Administrator".
Best regards,
Matthias
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 13, 2011
11:34 PM
droland wrote:You meant it's not happening out of box (for Basic MSI project)? Did you verify it?
Is there any way to achieve it with Installshield? Does anybody know how I should do it?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 14, 2011
09:49 AM
this link might help you.
http://www.installationdeveloper.com/1632/how-to-run-an-msi-with-elevated-privileges/
http://www.installationdeveloper.com/1632/how-to-run-an-msi-with-elevated-privileges/