I just began to test .msi installations on Vista and I know very little. I can double-click a .msi installation written using InstallShield 10.5 and it installs ok. But when I double-click it again or run it using msiexec in order to go into Maintenance Mode I get a security error saying it isn't allowed as I don't have the correct privileges. Yet, I have Administrator privileges which allowed me to install it in the first place. I can only get into Maintenance Mode if I go through the Control Panel. Why can't I get into Maintenance Mode via msiexec or double-clicking the .msi like I can on previous operating systems? Is there a security policy I can change?
Also, will I be able to perform minor updates of the product I installed as I have before when I run the msiexec command with the REINSTALL and REINSTALLMODE parameters?

Windows Installer - Maintenance Mode via msiexec or .msi
I'm still testing our legacy installations and our Vista system has been reloaded and now I can get into Maintenance Mode via msiexec or double-clicking the .msi. I don't know what changed. Supposedly the Vista build was the same - Beta 2 build 5384. If anybody knows what might have caused the previous problematic behavior I'd still like to know.
I still have an issue with performing a minor update using a full .msi. When I enter the following from the Run command or from a VBScript:
msiexec /i "c:\test.msi" REINSTALL=ALL REINSTALLMODE=vomus /qb
I get the following error:
"The system administrator has set policies to prevent this installation"
In order to successfully install the update I figured out I can do one of two things:
1) Enable the AllowLockdownBrowse policy (Enable user to browse for source while elevated). 2) Right-click on the Command Prompt and "Run as Administrator".
Are either of those the methods of accomplishing this task the correct way of doing it? Is one preferred over the other? Is there some code somebody can point me to that I can put in a VBScript that will verify/ask the user for Administrator credentials and then when the script runs msiexec the .msi will inherit the Administrator credentials and install? Is there another way? Is there a Vista bug that should have automatically asked me if I was sure I wanted to perform the update instead of just failing?
Answers to any of my questions will be appreciated.
Thank you, Scott
"Linden" wrote:
I just began to test .msi installations on Vista and I know very little. I can double-click a .msi installation written using InstallShield 10.5 and it installs ok. But when I double-click it again or run it using msiexec in order to go into Maintenance Mode I get a security error saying it isn't allowed as I don't have the correct privileges. Yet, I have Administrator privileges which allowed me to install it in the first place. I can only get into Maintenance Mode if I go through the Control Panel. Why can't I get into Maintenance Mode via msiexec or double-clicking the .msi like I can on previous operating systems? Is there a security policy I can change?
Also, will I be able to perform minor updates of the product I installed as I have before when I run the msiexec command with the REINSTALL and REINSTALLMODE parameters?
Windows Vista
User login
Related topics
- Accidental Format
- Vista 5270 and runaway RACAgent.exe
- Video Thumbnail
- I give it a week....
- VPN again...
- Safe to Remove?
- Get Vista B2 elsewhere then MS and bug reporting
- Yet another dual boot question
- The Upgrade was not sucessful
- Suggestion: tab browsing also in explorer shell
- Using Ghost 10 to "image" a vista drive
- vista5384.4
- 64 or 32 bit version
- ODBC and SQLDMO
- exFAT
- Vista Beta 2 won't install even with driver upgrades
- Unable to install Windows Messenger onto Vista.
- asus P5ND2-SLI and drivers
- DVD/CD Drive Didn't Install
- Bug report options.
- You have received the maximum number of product keys
- 5308: Card Reader/Removable drives support
- Nforce4 and Vista
- Setup Hotmail in Windows Mail
- FYI - F-Prot on 5308
- How to configure Outlook 2007 to sync Pocket Phone in Window
- Explorer wont remember width of Folder pane. Always too smal
- Sound
- Why can't I see my mail folders in WLMDB? (Inbox, Sent, etc.
- Can't file bugs using bug reporting tool
- Vista x86 or x64
- Question about Nvidia FX 3400 and NEC AcuSync LCD 92VX
- Disable Security Centre