[精华]■■■关于windows installer出错的解决方案■■■

[精华]■■■关于windows installer出错的解决方案■■■

[被屏蔽广告]最近一些朋友经常会遇到windows installer出错的情况,现象如下:
一、所有使用installer安装的程序,均不能正常安装,提示:“不能访问windows installer 服务。可能你在安全模式下运行 windows ,或者windows installer 没有正确的安装。请和你的支持人员联系以获得帮助”
二、察看windows installer服务,一般为停用。如果试图在service中启用,有时会发现,
被系统禁用,再启动,提示:“指定的服务已标记为删除”
三、如果试图重新安装InstMsiW.exe,提示:“指定的服务已存在”

这个问题也搞的我非常头疼,偶然一次在Windows & .NET Magazine Network英文版闲逛,看到了一个帖子,按照他的办法搞定了。地址如下:
http://www.winnetmag.com/Forums/messageview.cfm?catid=37&threadid=27388

我具体步骤如下:
一、先用msiexec /unregserver 停掉windows installer服务。
二、下载InstMsiW.exe,用winrar解压开。进入目录。
三、右击msi.inf ,点击安装,右击mspatcha.inf ,点击安装。
四、再用msiexec.exe /regserver 启用服务。



帖子原作者是Prev. Forum Poster,下面我转录一段原话
“The MSI Installer can be a real pain. It may be that one of the files required
 by it is corrupt. Here's what you do. Run msiexec /unregserver again. Then 
delete msiexec.exe from the system32 directory. Potentially, you could rerun the
 install at this point but for some reason this doesn't always work. Instead, 
download a fresh copy of the windows installer, use an unzipping tool to extract
 it, go into the folder and manually install from the inf files. To do this, 
right click on it and select install. Make sure you do msi.inf first, and then 
mspatcha.inf or you get a missing file error (likely because msiexec.exe is 
missing). After all this run msiexec.exe /regserver to recreate the service. 

Hope this helps.”

gnaw0725注:
这里需要注意一点,如果您使用office自带的InstMsiW.exe,那么是不会包含这两个inf文件的,您需要自行下载这个文件的完整安装包。
在download.microsoft.com搜索installer,就可以找到installer2.0的下载

Windows Installer 2.0 Redistributable for Windows 95, 98, and Me

http://download.microsoft.com/download/WindowsInstaller/Install/2.0/W9XMe/EN-US/IntMsiA.exe

Windows Installer 2.0 Redistributable for Windows NT 4.0 and 2000

http://download.microsoft.com/download/WindowsInstaller/Install/2.0/NT45/EN-US/InstMsiW.exe

同时,您也可以参考这个kb http://support.microsoft.com/default.aspx?scid=kb;en-us;555175
ok!最后祝大家顺利解决此类问题:)
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值