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: Basic MSI Silent Install on Vista
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
Sep 27, 2007
12:04 PM
Basic MSI Silent Install on Vista
I have created a Basic MSI installer that will be run in Silent mode. On XP and below all works as expected. But on Vista, the installer will not run. I am getting an Error 1925: Insufficient privileges...
I have tried changing the Requires Administrative Privileges to No, but the msi still will not run.
I have seen that to run in silent mode, the command prompt must be set to Run as Administrator. Is this something I can change or am I correct in thinking that if the end-user has not already pre-set the Command Prompt to run as Administrator, my install can not be run in Silent Mode?
I have tried changing the Requires Administrative Privileges to No, but the msi still will not run.
I have seen that to run in silent mode, the command prompt must be set to Run as Administrator. Is this something I can change or am I correct in thinking that if the end-user has not already pre-set the Command Prompt to run as Administrator, my install can not be run in Silent Mode?
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Sep 28, 2007
05:42 PM
On Vista an MSI can only elevate if it is not silent (or if has already been advertised), so yes, you will need to launch it from an elevated context. If they're launching a setup.exe, you can set the setup.exe to be manifested to request administrator privileges. If they're typing in msiexec /i my.msi /qn it will have to be an already-elevated command prompt, (or after being advertised from an elevated context).