刪除Windows Installer Cache造成的軟件無法刪除的修復方法(摘)

http://tech.idv2.com/2006/03/24/how-to-fix-windows-installer/

 

用 "%windir%/installer" google了一下,可惜沒發現什麼有價值的東西。但是卻找到了這樣的兩句話:

調試Windows Installer

HKLM/Software/Policies/Microsoft/Windows/Installer 
設置:Logging = REG_SZ voicewarmup 
設置:Debug = REG_DWORD 0x7 

通過策略鍵生成的日誌文件將以msiXXXXX.log的格式存儲在用戶的"%temp%"文件夾中。

 

太棒了!如果能夠看到Windows Installer的log就能夠知道具體問題出在哪裏。於是設置好調試選項,再次嘗試修復Office,等到失敗對話框出來之後,到 C:/Documents and Settings/<user>/Local Settings/Temp 下面找到了一個名爲 MSIc3604.LOG 的文件。打開看看,發現了這樣的文字:

Warning: Local cached package 'C:/WINDOWS/Installer/3ea75f.msi' is missing.
Opening existing patch 'C:/WINDOWS/Installer/4ad14e.msp'.
Couldn't find local patch 'C:/WINDOWS/Installer/4ad14e.msp'. Looking for it at its source.
SOURCEMGMT: Resolved source to: 'MAINSP2ff.MSP'
Unable to create a temp copy of patch 'MAINSP2ff.MSP'.

從這些描述大概可以看出,Windows Installer試圖尋找一個名爲3ea75f.msi的文件但是沒找到,還有一個4ad14e.msp的文件也沒找到。

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章