[Fixed] The MSI Failed – VMware Workstation Uninstall, Repair and Update in Windows 7

Today I faced a strange problem on updating VMware workstation to latest 8.0.1, “The MSI failed” error in my Windows 7 host. Later, I fixed the issue and updated successfully, it was due to small Windows OS problem, but took some time to figure it out. So, I decided to share in this small guide how to fix The MSI failed in VMware workstation uninstall, repair and update in Windows 7.

Normally while updating VMware product to latest version, it uninstalls the existing product and starts the upgrade. Therefore, the uninstallation process should go smoothly to start the update.

When I tried to install VMware workstation 8.0.1 top of 8.0.0 in Windows 7 host, while uninstallation process is running I get “The MSI failed” error and installation quit immediately.

The msi failed error

The below Steps did not help me,

1) I thought it could be a problem with installation exe file, so downloaded  and tried again.

2) Uninstalling the existing version from control panel in Windows 7, it returned the same error.

3)  Repairing the existing version from control panel.

4) Repairing the existing version by running the 8.0.0 installation exe file ( which will bring the same options (Repair, Modify and uninstall) as from control panel)

5) Restarting several times between each above steps.

 

So, What is next?

We have Google!.

I found a useful article in VMware official site regarding this issue and it made me to think that I’m not alone with this problem.  The MSI failed problem while installing, updating or uninstalling is there for long time with VMware’s earlier products too.

Windows OS temporary files in your local user profile is the reason for this.  Normally, any installations in Windows OS extract its files to temporary location and then run the installation from there. Some programs leave these temp files and folders after the installation to use in future.

VMware say, “This is not a VMware issue”

The resolution is simple in Windows 7,

1) Go to ‘Temp’ directory which will be located under user (profile folder) who does the installation/uninstallation in your computer.

Type %TEMP% in Run or search field in Windows 7.

2) Make sure none of the VMware installation or uninstallation process is running. Select and Delete all files and folders in this location.

delete temp files

3) Restart the computer and try now. It should work and you should be able to upgrade VMware workstation now.

The original VMware KB article on The MSI failed issue is available here.

You can follow other mentioned steps in above article if only deleting Temp folder contents did not help.

Remember, it is just a Windows OS problem, so do not try anything else in with VMware. Even you can run a full disk cleanup and checkdisk in Windows 7 to fix this issue.

Comments

  1. crazyapple92 says

    I’m using windows 8 dev build and had a similar issue. Silverlight, VMware, and Virtual box were all failing to install. Same issue as in this article.

    I had to do a few things to make it work. I took ownership of the temp folder, and I went up to appdata and saw that it was set as read only (….well some kinks are expected in a dev build but…really?) I took off the read only and applied that to all the sub folders. Then I deleted all the temp data as stated above. And now all those programs install just fine.

    Now this was for windows 8, but perhaps someone is having a similar problem with 7.

  2. Robert says

    Nothing here or anywhere else worked for me, until I tried Revo Uninstaller and chose the “deepest” uninstall option. Now my uninstall of 8.0.3 works and installation of 8.0.4 works!

  3. says

    Same here, nothing worked until I used MS Fixit to uninstall 8.0.3, downloaded the installer for 8.0.4 from the VMware site and ran that.