Install VMware Workstation prompts the msi failed solution

  

There is an error when a friend installs VMware Workstation, prompting the msi failed and other information, it turns out that he has previously installed the green version, the optimized version of the VM, but delete the VM after reinstalling There will be such an error message, if you have the same trouble, use the virtual machine installation tutorial to provide you with a solution to solve the problem.

VMware is easy to operate, but the uninstallation is not clean. We only need to clean some of the registry keys to solve the MSI "" failed.... error that occurs during vmware installation.

VMware Workstation Uninstall Cleanup Batch Command:

echo off
cls
echo "flag">>%windir%\\system32\\test.log
if Not exist %windir%\\system32\\test.log (
cls
echo Please right click to run as administrator!!!
pause
exit
)
cls
echo Confirm to clean up?
pause
reg delete "HKEY_LOCAL_MACHINE \\ SOFTWARE \\ VMware, Inc." /f & gt; nul 2 & gt; nul
reg delete "HKEY_CURRENT_USER \\ SOFTWARE \\ VMware, Inc." /f & gt; nul 2 & gt; nul
reg delete "HKCR \\ Installer \\ Products \\ 7A26F0EA2A1AF704F9C48439B99DDAD8" /f & gt; nul 2 & gt; nul
reg delete "HKCR \\ Installer \\ Products \\ 0C6B325AF07E1AF439D3AD4079F106F7" /f & gt; nul 2 & gt; nul
reg delete " HKCR\\Installer\\Products\\A57F49D06AE015943BFA1B54AFE9506C" /f >nul 2>nul
reg delete "HKCR\\Installer\\Features\\7A26F0EA2A1AF704F9C48439B99DDAD8" /f >nul 2>nul
reg delete "HKCR\\Installer\\Features\\ 7A79579133DA8984D9E8376086814B46 "/f & gt; nul 2 & gt; nul
reg delete" HKCR \\ Installer \\ Features \\ A116201D664610145AD115603930CA56 "/f & gt; nul 2 & gt; nul
reg delete" HKCR \\ Installer \\ Features \\ BC78C1BA70810FC44B2CEC1EC481DC4B "/f & gt; Nul 2>nul
reg delete "HKCR\\Installer\\Features\\C3839DFF5D1079849A4534FA95A9DE03" /f >nul 2>nul
reg delete "HKCR\\Installer\\Features\\DBBFB30076C6E9142AD4D0ACCFA32594" /f >nul 2>nul
reg delete "HKCR\\Installer\\Products\\7A79579133DA8984D9E8376086814B46" /f >nul 2>nul
reg delete "HKCR\\Installer\\Products\\A116201D664610145AD115603930CA56" /f >nul 2>nul
reg delete "HKCR \\ Installer \\ Products \\ BC78C1BA70810FC44B2CEC1EC481DC4B" /f & gt; nul 2 & gt; nul
reg delete "HKCR \\ Installer \\ Products \\ C3839DFF5D1079849A4534FA95A9DE03" /f & gt; nul 2 & gt; nul
reg delete "HKCR \\ Installer \\ Products \\ DBBFB30076C6E9142AD4D0ACCFA32594 "/f & gt; nul 2 & gt; nul
reg delete" HKCR \\ Installer \\ Products \\ 7A26F0EA2A1AF704F9C48439B99DDAD8 "/f & gt; nul 2 & gt; nul
reg delete" HKCR \\ Installer \\ Products \\ 7A79579133DA8984D9E8376086814B46 "/f & gt; nul 2 & gt; nul
reg delete "HKCR \\ Installer \\ Products \\ A116201D664610145AD115603930CA56" /f & gt; nul 2 & gt; nul
reg delete "HKCR \\ Installer \\ Products \\ BC78C1BA70810FC44B2CEC1EC481DC4B" /f & gt; nul 2 & gt; Nul
reg delete "HKCR\\Installer\\Products\\C3839DFF5D1079849A4534FA95A9DE03" /f >nul 2>nul
reg delete "HKCR\\Installer\\Products\\DBBFB30076C6 E9142AD4D0ACCFA32594" /f >nul 2>nul
reg delete "HKLM\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Installer\\UserData\\S-1-5-18\\Products\\7A26F0EA2A1AF704F9C48439B99DDAD8" /f >nul 2>nul
reg delete "HKLM\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Installer\\UserData\\S-1-5-18\\Products\\7A79579133DA8984D9E8376086814B46" /f >nul 2>nul
reg delete "HKLM\\SOFTWARE\\ Microsoft\\Windows\\CurrentVersion\\Installer\\UserData\\S-1-5-18\\Products\\A116201D664610145AD115603930CA56" /f >nul 2>nul
reg delete "HKLM\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Installer\\UserData\\ S-1-5-18\\Products\\BC78C1BA70810FC44B2CEC1EC481DC4B" /f >nul 2>nul
reg delete "HKLM\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Installer\\UserData\\S-1-5-18\\Products\\ C3839DFF5D1079849A4534FA95A9DE03" /f >nul 2>nul
reg delete "HKLM\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Installer\\UserData\\S-1-5-18\\Products\\DBBFB30076C6E9142AD4D0ACCFA32594" /f >nul 2>nul
Echo Cleanup is complete!
pause

Create a new txt file, copy the above text into it, save it, change the .txt suffix of the file name to a .bat suffix format file, and run it as an administrator.

Copyright © Windows knowledge All Rights Reserved