Wednesday, December 22, 2010

Flash upgrade errors

Sometimes the simplest of programs can cause the biggest problems. On a few machines we keep seeing that Flash fails to install. If we login to the machine and install the update via the Web then it will install and report correctly in the browser. I have found that it creates another problem. The MSI that is used to distribute Flash is smart enough to know that there is a problem. On several machines the MSI install log looks like this


--------------------
MSI (s) (5C:64) [10:12:06:420]: Product: Adobe Flash Player 10 ActiveX -- Configuration failed.

Another version of this product is already installed. Installation of this version cannot continue. To configure or remove the existing version of this product, use Add/Remove Programs on the Control Panel.
{95468B00-C081-4B27-AC96-0A2A31359E60}
--------------------
If you look at Add/Remove programs of the client or if you look at the Resource Explorer of the console you will see a problem:


Here is you see there are multiple versions of Flash installed. To correct this problem we need to remove all copies of Flash from the registry and then allow ConfigMgr to install Flash.

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{24762012-C6C8-4AAD-A02D-71A009FA1683}

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{6815FCDD-401D-481E-BA88-31B4754C2B46}


Once all the other versions are removed from the registry the advertisment will try again and it will install. The problem on the client side is that it says it cannot remote the previous version of flash. Something happens at the install that it leaves the older version then at one point the newest version wants to uninstall the old version and it fails. Instead of installing the newest version it fails and then the admin needs to fix the problem. I have had limited success with the Flash uninstaller and trying to remove Flash from Add remove programs doesn’t seem to work.

Many times on reports it only shows one version of flash but looking at Add/remove on the client and in the console we can see multiple because the GUIDS for each application are different.

Now that all the problematic versions are remove it should install flash and show up in the reports correctly