情况(一)
1、所有使用windows installer服务安装的MSI格式程序均不能正常安装,并且系统提示“不能访问windows installer 服务,可能你在安全模式下运行 windows ,或者windows installer 没有正确的安装,请和你的支持人员联系以获得帮助”。
2、察看“windows installer服务”的状态,一般为停用,当你试图启用此服务,会发现此服务已被系统禁用,或则windows installer服务已被标记为删除。
3、如果你重新安装windows installer服务,系统提示“指定的服务已存在”。
当出现了以上现象,是非常令人头疼的,而且问题难以解决,后来经自己研究发现一些非常好的解决方法。
笔者以Windows2000和Windows Xp系统为例,根据它们出现的不同问题分别介绍一下解决过程:
一、Windows2000解决过程:
在Windows2000系统中3种现象都是经常出现的。
第一步:点击”开始-->运行“,输入”CMD“命令,在弹出的”CMD命令提示符“窗口中输入”msiexec /unregserver“命令,这样就停掉windows installer服务。
第二步:下载windows installer服务安装程序包,Windows2000/NT系统的安装程序包为”InstMsiW.exe“,Windows98/ME安装程序包为'InstMsiA.exe',Windows Xp系统则集成了最新版本的Windows Installer v2.0。
下载”InstMsiW.exe“安装程序包后,将其用winrar解压开,然后进入到此目录中。
第三步:右键单击”msi.inf“文件,点击”安装“选项,接着右键单击” mspatcha.inf “文件,点击”安装“。
第四步:在CMD命令提示符下输入”msiexec /regserver“命令,这样就启动了windows installer服务,重新启动Windows2000系统后,问题就得到解决。
注意:在安装两个inf文件的过程中,不要重新启动系统,全部操作完成后才能重启,另外,如果系统安装了”瑞星病毒防火墙”和“瑞星网络防火墙”,建议在操作过程中关闭瑞星防火墙。
二、Windows Xp解决过程:
Windows Xp集成了最新版本的Windows Installer v2.0,但在Windows Xp里安装MSI程序也会经常出现”找不到windows installer服务”“的错误。
第一步:使用记事本编写installer.reg文件,内容如下:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSIServer]
'Imagepath'=-
'Imagepath'=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,\
74,00,25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,6d,\
00,73,00,69,00,65,00,78,00,65,00,63,00,2e,00,65,00,78,00,65,00,20,00,2f,00,\
56,00,00,00
然后将文件保存为”.reg“格式,双击该文件,将文件内容导入注册表。
第二步:重新启动电脑进入安全模式(启动时按F8键),然后点击”开始-->运行“,输入”CMD“命令,在弹出的”CMD命令提示符“窗口中输入”msiexec /regserver“,最后重新启动系统即可。
windows installer出错信息解决
情况(二)
这几天重装计算机,碰到一系列的关于WINDOWS INSTALLER的出错信息,在网上查了一些相关资料,终于一一解决了.
问题一:
一、所有使用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...问题就解决了。
当然很多时候出错的原因不一定相同,解决的方法也不一定一样,我只是把我的解决方法拿出来,算是一个参考。
(三)
Windows Installer(windows安装服务)是一种通用的软件发布方式,现在许多软件都使用windows Installer作为自己的安装程序,有时因为各种原因以及windows
Installer本身的缺陷,会导致windows Installer出错。
症状一:删除某个程序后,在运行某些软件时,老会弹出一个“windows正在配置Windows
Installer,请稍候”的窗口。
解决办法:
1、重新安装Windows Installer,office XP安装盘的根目录有两个名为instmsi.exe和InstMsiW.exe的文件,instmsi.exe用于win9X/Me,InstMsiW.exe用于Win2000/XP;
2、打开组策略→计算机配置→管理模板→Windows组件→Windows Installer→禁用Windows Installer,只是这样一来,很多软件就有能安装了,此法用于Win2000/XP。
3、请看本文最后的“终级解决方案”
症状二:Win2000/XP安装软件时提示“无法访问windows安装程序,服务中windows
Installer状态为停止,不能启动”
解决办法:
1、命令提示符下输入:misiexec /regserver
2、在“管理工具”→“服务”中启动windows Installer
症状三:Win2000/XP安装软件时提示“不能访问Windows Installer服务……”
解决办法:
1、检查当前用户有无管理员权限;
2、结束进程Ikernel.exe后再安装;
3、删除系统安装目录Program Files\Common Files\InstallShield\Engine下的所有文件再安装。
4、首先,运行“msiexec /unregserver”,停止Windows Installer服务;
接着,安装InstMsiW.exe(office XP安装盘的根目录下有,也可以从网上下载,地址为:
http://download.microsoft.com/do ... EN-US/InstMsiW.exe),用Winrar解压至设定的目录;进入目录,右键点击msi.inf,选“安装”,右键点击mspatcha.inf,选安装;
最后运行“msiexec /regserver”启用服务。
症状四:安装软件时提示“系统管理员设置了系统策略,禁止进行此项安装”
解决办法:
1、尝试用症状三的解决方法;
2、打开组策略→用户配置→管理模板→Windows组件→Windows安装服务→将“禁止从媒体安装”设为“禁用”,将“永远以高特权进行安装”设置为“启用”
以上问题的终级解决方案:
下载安装微软提供的Windows Installer CleanUp Utility 1.0,它的主要功能是清除程序的Windows
Installer配置信息。启动该工具,它会列出目前系统中所有Windows Installer使用安装的软件,选中出问题的软件,然后点“Remove”按钮即可。
Windows Installer CleanUp Utility 1.0下载地址:http://www.onlinedown.net/soft/27518.htm
地址:上海市斜土路2600号海高大厦702-704室邮编:200030
Copyright ©1998-2008,上海熠德数码科技有限公司. All Rights Reserved.



