最近一些朋友经常会遇到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.”
ok!最后祝大家顺利解决此类问题:)