Important Notice: On February 29th, this community was put into read-only mode. All existing posts will remain but customers are unable to add new posts or comment on existing. Please feel to join our Community Discord for any questions and discussions.

Stubborn Silverlight won't Uninstall - My Fix

So I had some PC's that just refused to remove Microsoft Silverlight.  Every time I ran the Uninstall Microsoft Silverlight it would fail, with a generic 1603 error.  I modified the script and added a few other uninstall notes, and it worked liked a charm so I wanted to share the additions in case anyone else had similar issues with Stubborn Silverlight.  Below is what I added to the package from the Deploy Library.  It completely removes everything related to Silverlight.  

MsiExec.exe /qn /norestart /X{89F4137D-6C26-4A84-BDB8-2E5A4BB71E00}
reg delete HKLM\Software\Microsoft\Silverlight /f
reg delete HKEY_CLASSES_ROOT\Installer\Products\D7314F9862C648A4DB8BE2A5B47BE100 /f
reg delete HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Installer\Product\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"

 

 

 

0

Comments

1 comment
Date Votes