[感謝小熊子提供本則KB]

使用者在Windows XP SP3上安裝Silverlight 4不成功,嘗試重新下載安裝一直出現無法安裝的訊息。

檢查結果,Program Files目錄下未出現Microsoft Silverlight目錄,但控制台的移除已安裝程式清單中卻已有Microsoft Silverlight選項,但點選會出現找不到msi安裝程式的訊息而無法移除。

由%Temp%\Silverlight0.log的安裝Log看到以下記錄

[18:01:48] Silverlight installer logging started.
[18:01:49] Install button clicked.
[18:01:49] Duplicate installation
[18:01:49] Rerun custom action RegisterAuthenticodeSIP...
[18:01:49]     LoadLibrary(C:\Program Files\Microsoft Silverlight\xapauthenticodesip.dll) failed: error code 126
[18:01:49] Beginning uninstall with following command line:
[18:01:49] /x {89F4137D-6C26-4A84-BDB8-2E5A4BB71E00} /qn /noreboot /norestart MSIRESTARTMANAGERCONTROL=Disable REBOOT=ReallySuppress
[18:01:49] Uninstall finished with following return code:
[18:01:49] 1605
[18:01:49] Finished the install.
[18:01:49] QueryServiceRegistration returned:
[18:01:49] 0
[18:01:49] Service returned:
[18:01:49] 0
[18:01:49] IsRegisteredWithAU returned:
[18:01:49] 0
[18:01:49] Already registered with MU
[18:01:49] Showing final page.
[18:01:49] Support link is:
[18:01:49] http://go2.microsoft.com/fwlink/?LinkID=87096&errorID=1516
[18:01:50] Cancel button clicked.
[18:01:50] Exiting due to destroy message
[18:01:50] Exiting due to destroy message
[18:01:50] Exiting due to destroy message
[18:01:50] Exiting due to destroy message
[18:01:50] Silverlight installer logging ended.

研判這是傳說中的"裝一半"狀態,讓你移也移不掉,裝也裝不了的尷尬處境。而最簡單的解法應是手工將裝壞的殘缺遺跡清空,再重新安裝一次。爬文找到文章介紹如何手動清理裝壞的Silverlight,步驟如下:

  1. 刪除Registry: HKLM\Software\Microsoft\Silverlight
    reg delete HKLM\Software\Microsoft\Silverlight /f
  2. 刪除目錄: %ProgramFiles%\Microsoft Silverlight
    rmdir /s /q "%ProgramFiles%\Microsoft Silverlight
    rmdir /s /q "%ProgramFiles(x86)%\Microsoft Silverlight
    (for x64)

照方煎藥,服用後就可順利安裝Silverlight了。


Comments

# by DrKN

這個叫幸運...silverlight 有留下log... 我遇過1個安裝檔他沒留下log的.... 然後就刪不掉了。

Post a comment


61 - 34 =