安装VMware Workstation提示the msi failed错误

  如果以前安装过VMware Workstation的话,就算重装了系统,以前安装所留下的文件也会残留。在安装的时候会出现以下画面,提示MSI错误:

msi-error

  处理方法可以是进入注册表删除关于VMware的表项,但是这里提供一种更简单更有效的方法:

  将以下代码保存为文本文件,改后缀为.bat然后以管理员身份执行,命令会自动清理以前残留的VMware注册表项。

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


 
 » 除非注明,本博客文章均为挨踢小茶原创,转载请以链接形式标明本文地址
该日志由 挨踢小茶 于2012年01月03日发表在 虚拟机技术 分类下, 你可以发表评论,并在保留原文地址及作者的情况下引用到你的网站或博客。
原创文章转载请注明: 安装VMware Workstation提示the msi failed错误 | 挨踢茶馆
关键字: ,

安装VMware Workstation提示the msi failed错误:目前有8 条留言

  1. 收藏了。感谢!

    2013-08-30 下午 7:07 [回复]
  2. 5楼
    123:

    给力哈,好了!强大!

    2013-08-30 下午 7:07 [回复]
  3. 4楼
    空间阿斯蒂芬:

    😎 非常感谢!!!成功了。。有用

    2013-05-27 下午 8:56 [回复]
  4. 地板
    tunpishuang:

    试了你的方法,还是 msi failed. 管理员权限清理的。。。。 😎

    2012-08-30 下午 11:37 [回复]
    • No:

      不行咯。

      2013-12-13 下午 11:10 [回复]
  5. 板凳
    丰胸:

    希望2012年坚持写博客的人们身心健康!

    2012-01-03 上午 2:27 [回复]
  6. 沙发
    很太吧:

    祝博主2012新年快乐,不断进步!

    2012-01-03 上午 1:31 [回复]

发表评论



快捷键:Ctrl+Enter

无觅相关文章插件,快速提升流量