關(guān)于Windows Installer服務(wù)出錯解決方法

2010-09-03 23:11:22來源:西部e網(wǎng)作者:

方法一:

方法一:

卸載,重新安裝windows installer服務(wù)

一、先用msiexec /unregserver 停掉windows installer服務(wù)。
二、下載InstMsiW.exe,用winrar解壓開。進入目錄。
三、右擊msi.inf ,點擊安裝,右擊mspatcha.inf ,點擊安裝。
四、再用msiexec.exe /regserver 啟用服務(wù)。

方法二:

1.如果曾安裝過ACDSee5.0(包括迷你中文版),卸載它。如果還不行就重裝Windows
Installer 或者ACDSee 4.0
2.運行cmd,然后運行sfc/scannow檢查系統(tǒng)文件
3.運行Services.msc,把Windows Installer 服務(wù)設(shè)置為手動運行,然后重新運行
4.打開任務(wù)管理器,找到并結(jié)束ikernel.exe進程,重新安裝
5.禁用殺毒軟件的實時防護
6.刪除 C:\Program Files\Common Files\InstallShield\Engine\6\Intel 32這個文
件夾中的所有文件,然后重啟動電腦,重新運行安裝程序

或者查看下面的網(wǎng)頁:

安裝程序安裝出錯解決方法之葵花寶典    moonet(翻譯)
http://www.csdn.net/develop/article/18/18184.shtm


方法三:

這是由于一些軟件制作的問題導(dǎo)致windows installer不能正常工作
恢復(fù)步驟如下:

1.再次安裝windows installer2.0,運行instmsiw.exe
如果說"服務(wù)已經(jīng)安裝"然后直接退出安裝就再跟著做,否則你重裝就OK了!

2.刪除注冊表中的[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSIServer]
然后運行instmsiw.exe

3.絕招:
(1) 刪除msiserver 服務(wù)
運行regedit,刪除下面的MSIServer 服務(wù)
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSIServer]
把下面的內(nèi)容存為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機制可能警告一些系統(tǒng)文件被修改要求插入win2k的光盤,不理睬它。這個腳本是我從instmsiw.exe中修改得來的。
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;unmsi.inf
;;;;;;;;;;;;;;;;;
[Version]
signature = "$Windows NT$"
Class = %ExceptionClassDesc%
ClassGUID = {F5776D81-AE53-4935-8E84-B0B283D8BCEF}
Provider = %Microsoft%
CatalogFile = msi.cat
ComponentId = {2E742517-5D48-4DBD-BF93-48FDCF36E634} ; 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"
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

(3) 重新啟動,按F8鍵,進入帶命令行的安全模式,執(zhí)行下面的命令
regsvr32 /u %windir%\msi.dll
del %windir%\msi.dll

(4) 重啟動,運行instmsiw.exe,安裝windows installer2.0 ,一切正常了。

關(guān)鍵詞:WindowsInstaller

贊助商鏈接: