解决无法访问windows installer-系统技巧

王朝数码·作者佚名  2011-03-10
宽屏版  字体: |||超大  

在 Windows XP 中安装程序时出现“The Windows Installer Service Could Not Be Accessed”(无法访问 Windows Installer 服务)错误消息。

要解决此问题,请按照下列步骤操作:

方法一:

卸载,重新安装windows installer服务

一、先用dos命令窗口msiexec /unregserver 停掉windows installer服务。

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

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

四、再用dos命令窗口msiexec.exe /regserver 启用服务。

方法二:

1.如果曾安装过ACDSee5.0(包括迷你中文版),卸载它。如果还不行就重装Windows Installer 或者ACDSee 4.0

2.运行cmd,然后运行sfc/scannow检查系统文件

3.运行Services.msc,把Windows Installer 服务设置为手动运行,然后重新运行

4.打开任务管理器,找到并结束ikernel.exe进程,重新安装

5.禁用杀毒软件的实时防护

6.删除 C:\Program Files\Common Files\InstallShield\Engine\6\Intel 32这个文件夹中的所有文件,然后重启动电脑,重新运行安装程序

方法三:

这是由于一些软件制作的问题导致windows installer不能正常工作恢复步骤如下:

1.再次安装windows installer2.0,运行instmsiw.exe如果说"服务已经安装"然后直接退出安装就再跟着做,否则你重装就OK了!

2.删除注册表中的[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSIServer]然后运行instmsiw.exe

3.绝招:

(1) 删除msiserver 服务

运行regedit,删除下面的MSIServer 服务

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSIServer]

把下面的内容存为unmsiserver.reg 文件,然后双击左键,把它合并进注册表中

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;unmsiserver.reg

Windows Registry Editor Version 5.00

[-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSIServer]

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

(2) 删除msi 的文件

用下面的脚本存为一个unmsi.inf文件,然后在inf文件上右键单击install,就会删除一些msi的dll,这时windows 的 sfc机制可能警告一些系统文件被修改要求插入win2k的光盘,不理睬它。这个脚本是我从instmsiw.exe中修改得来的。

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;unmsi.inf

;;;;;;;;;;;;;;;;;

[Version]

signature = "$Windows NT$"

Class = %ExceptionClassDesc%

ClassGUID =

Provider = %Microsoft%

CatalogFile = msi.cat

ComponentId = ; GUID assigned to the Windows Installer

DriverVer=03-13-2001, 2.0.2460.1

[SourceDisksNames]

1 = %msi_media%

[SourceDisksFiles]

msi.dll = 1

msihnd.dll = 1

msimsg.dll = 1

msiexec.exe = 1

msisip.dll = 1

[DestinationDirs]

Msi.SystemFiles = 11 ; %windir%\system32

Msi.DllCacheFiles = 11,dllcache ; %windir%\system32\dllcache

[DefaultInstall]

DelFiles = Msi.SystemFiles,Msi.DllCacheFiles

; COPYFLG_REPLACE_BOOT_FILE flag (0x1000) not necessary for

; files in the dllcache

;

[Msi.DllCacheFiles]

msi.dll

msihnd.dll

msimsg.dll

msiexec.exe

msisip.dll

[Msi.SystemFiles]

msi.dll

msihnd.dll

msimsg.dll

msiexec.exe

msisip.dll

[Strings]

Microsoft = "Microsoft Corporation"

msi_media = "Microsoft Windows Installer Distribution Media"

ExceptionClassDesc = "Microsoft Windows Installer"

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

第一页    上一页    第1页/共2页    下一页    最后页
第01页 第02页 
 
 
 
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
© 2005- 王朝网络 版权所有