How to clean a corrupted Silverlight installation and then reinstall Silverlight

Symptoms

When working with Microsoft Silverlight you may encounter the following scenarios:
  • Install Microsoft Silverlight
  • Upgrade to another version of Microsoft Silverlight
  • Uninstall Microsoft Silverlight
  • Microsoft Silverlight does not work as expected

Attempts to restart the computer and try to upgrade, install or uninstall Microsoft Silverlight again end in the same results.

Cause

This issue can occur if an existing installation or uninstall has become corrupt.

Resolution

To automatically uninstall Microsoft Silverlight, click the button in the "Fix it for me" section. If you would rather verify and update these keys yourself, go to the "Let me fix it myself" section.


Fix it for me


Note This wizard may be in English only. However, the automatic fix also works for other language versions of Windows.

Note If you are not currently using the computer that is experiencing this problem, you can save the automatic fix to a flash drive or to a CD, and then you can run it later on the computer in question.

When the Fix it solution has completed, click the link below to install the latest version of Microsoft Silverlight:




Let me fix it myself

To resolve this issue yourself, follow these steps:
  1. Click Start and type Notepad in the Search box
  2. Double-click on Notepadfrom the list of results above
  3. Copy and then paste the following text into Notepad.
    reg delete HKLM\Software\Microsoft\Silverlight /f
    reg delete HKEY_CLASSES_ROOT\Installer\Products\D7314F9862C648A4DB8BE2A5B47BE100 /f
    reg delete HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Installer\Products\D7314F9862C648A4DB8BE2A5B47BE100 /f
    reg delete HKEY_CLASSES_ROOT\TypeLib\{283C8576-0726-4DBC-9609-3F855162009A} /f
    reg delete HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\install.exe /f
    reg delete HKEY_CLASSES_ROOT\AgControl.AgControl /f
    reg delete HKEY_CLASSES_ROOT\AgControl.AgControl.5.1 /f
    reg delete HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{89F4137D-6C26-4A84-BDB8-2E5A4BB71E00} /f
    rmdir /s /q "%ProgramFiles%\Microsoft Silverlight"
    rmdir /s /q "%ProgramFiles(x86)%\Microsoft Silverlight"

  4. Click File and Save As and type CleanSilverlight.cmd
  5. In the Save astype box, click All Files (*.*)
  6. In the Save in box, click Desktop, and then click Save
  7. On the File menu, click Exit
  8. Right-click the CleanSilverlight.cmd file on your desktop and click Run as administrator
  9. When the uninstall completes, right-click the CleanSilverlight.cmd file on your desktop and click Run as administrator a second time
  10. Once the uninstall has completed, click the link below to install the latest version of Microsoft Silverlight

    http://www.microsoft.com/getsilverlight/get-started/install/default.aspx
  11. Delete the CleanSilverlight.cmd file from your desktop.

More Information

Microsoft Community

Have other questions? To obtain free support, check out our Microsoft Community. There, you can search for answers or ask other users specific questions. Click the following link to visit the Microsoft Community Forums: http://answers.microsoft.com

Questions specific to Silverlight
คุณสมบัติ

รหัสบทความ: 2608523 - การตรวจสอบครั้งสุดท้าย: 5 ส.ค. 2016 - ฉบับแก้ไข: 1

คำติชม