求助:关于windows安装服务

xieskyeagle 2004-09-07 02:42:29
当打开扩展名为msi的文件是,会有一个消息框出现,内容如下:“不能访问windows installer服务。可能你在安全模式下运行windows,或者windows installer没有正确的安装。”
在添加/删除程序里,当卸载软件是,出现消息框,内容如下:“无法访问windows安装服务。请确认windows安装服务是否注册正确。”
在计算机管理中服务选项卡里可以看到windows installer服务在运行,请各位大虾指教这是什么问题,怎么可以解决
...全文
589 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
leo_s_man 2004-09-07
  • 打赏
  • 举报
回复


一、所有使用installer安装的程序,均不能正常安装,提示:“不能访问windows installer 服务。可能你在安全模式下运行 windows ,或者windows installer 没有正确的安装。请和你的支持人员联系以获得帮助”

二、察看windows installer服务,一般为停用。如果试图在service中启用,有时会发现,被系统禁用,再启动,提示:“指定的服务已标记为删除”

三、如果试图重新安装InstMsiW.exe,提示:“指定的服务已存在”

resolution:
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.

一、先用msiexec /unregserver 停掉windows installer服务。

二、下载InstMsiW.exe,用winrar解压开。进入目录。

三、右击msi.inf ,点击安装,右击mspatcha.inf ,点击安装。

四、再用msiexec.exe /regserver 启用服务。

问题二:

以上的问题解决后,在我安装vpc的时候,又碰到这个问题:Error -1607: Unable to Install InstallShield Scripting Run Time

查了相关的资料后,发现我安装的系统里没有ISScript.exe.

所以我下载并更新了IkernelUpdate.exe and IsScript7x.zip...问题就解决了。

当然很多时候出错的原因不一定相同,解决的方法也不一定一样,我只是把我的解决方法拿出来,算是一个参考。
猪儿滚滚 2004-09-07
  • 打赏
  • 举报
回复
重新装WINDOWS INSTALLER试试

6,872

社区成员

发帖
与我相关
我的任务
社区描述
Windows 2016/2012/2008/2003/2000/NT
社区管理员
  • Windows Server社区
  • qishine
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧