Windows XP Windows 7 Windows 2003 Windows Vista Windows教程綜合 Linux 系統教程
Windows 10 Windows 8 Windows 2008 Windows NT Windows Server 電腦軟件教程
 Windows教程網 >> 電腦軟件教程 >> 系統工具 >> 安裝VMware Workstation提示the msi failed的解決

安裝VMware Workstation提示the msi failed的解決

日期:2017/2/8 9:04:32      編輯:系統工具

有朋友安裝VMware Workstation時出現報錯,提示the msi failed等信息,原來他以前安裝過綠色版、優化版的VM,但刪掉後重裝VM就會有這樣的報錯提示,如果你也遇到了相同的困擾,使用本虛擬機安裝教程為你提供的解決辦法即可解決問題。

VMware易於操作,但是就是卸載不干淨,我們只要清理部分注冊表項,就能解決 vmware 安裝時出現的 The MSI “” failed....錯誤。

VMware Workstation卸載清理批處理命令

echo off
cls
echo "flag">>%windir%\system32\test.log
if not exist %windir%\system32\test.log (
 cls
 echo 請右鍵使用管理員身份運行!!!
 pause
 exit
)
cls
echo. 確認進行清理?
pause
reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\VMware, Inc." /f >nul 2>nul
reg delete "HKEY_CURRENT_USER\SOFTWARE\VMware, Inc." /f >nul 2>nul
reg delete "HKCR\Installer\Products\7A26F0EA2A1AF704F9C48439B99DDAD8" /f  >nul 2>nul
reg delete "HKCR\Installer\Products\0C6B325AF07E1AF439D3AD4079F106F7" /f  >nul 2>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  >nul 2>nul
reg delete "HKCR\Installer\Features\A116201D664610145AD115603930CA56" /f  >nul 2>nul
reg delete "HKCR\Installer\Features\BC78C1BA70810FC44B2CEC1EC481DC4B" /f  >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  >nul 2>nul
reg delete "HKCR\Installer\Products\C3839DFF5D1079849A4534FA95A9DE03" /f  >nul 2>nul
reg delete "HKCR\Installer\Products\DBBFB30076C6E9142AD4D0ACCFA32594" /f  >nul 2>nul
reg delete "HKCR\Installer\Products\7A26F0EA2A1AF704F9C48439B99DDAD8" /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  >nul 2>nul
reg delete "HKCR\Installer\Products\C3839DFF5D1079849A4534FA95A9DE03" /f  >nul 2>nul
reg delete "HKCR\Installer\Products\DBBFB30076C6E9142AD4D0ACCFA32594" /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 清理完成!
pause

新建txt文檔,把上面的文字內容復制進去,保存,把文件名稱的 .txt後綴 改成 .bat 後綴格式的文件,用管理員身份運行即可。

Copyright © Windows教程網 All Rights Reserved