Bug #34007 Entries for "Installed Products" won't be removed on Connector/NET deinstall
Submitted: 23 Jan 2008 13:13 Modified: 24 Jan 2008 10:47
Reporter: Rene MT Email Updates:
Status: Closed Impact on me:
None 
Category:Connector / NET Severity:S3 (Non-critical)
Version:any OS:Windows
Assigned to: CPU Architecture:Any
Tags: setup, Visual Studio

[23 Jan 2008 13:13] Rene MT
Description:
If you did install/deinstall several versions of Connector/NET you will find for each version another entry in the Visual Studio 2005 splash screen as well as in the "About" dialog ("Installed Products"). On my current development box I had installed three different Connector versions now and there are three entries.

An abridgment of the info for my VS looks like this:

---------------------------------

Microsoft Visual Studio 2005
Version 8.0.50727.762  (SP.050727-7600)
Microsoft .NET Framework
Version 2.0.50727 SP1

Installed Edition: Professional

[..]

Castle Visual Studio Integration   0.1
Castle NVelocity Language Service for Castle MonoRail

MySQL Connector/Net   5.1
Data design and management tools for MySQL.  Copyright © 2007 MySQL AB

MySQL Connector/Net   5.1
Data design and management tools for MySQL.  Copyright © 2007 MySQL AB

MySQL Connector/Net   5.1
Data design and management tools for MySQL.  Copyright © 2007 MySQL AB

Orcas Technology Preview - .NET Framework 3.0 Development Tools   1.0
Microsoft Visual Studio Code Name Orcas Community Technology Preview - Development Tools for WinFX

[...]

---------------------------------

So it seems these entries won't be removed on deinstallation of Connector/NET.

How to repeat:
Install a version of Connector/NET (e.g. 5.1.2.2), remove it and install another (5.1.4.0).
[23 Jan 2008 13:34] Tonci Grgin
Hi Rene and thanks for your report. I believe this is a duplicate (or at least shares a fix with) Bug#31731. This problem should have been fixed in 5.1.4 so can you test and inform me of outcome please.

Version 5.1.4 - 11/12/2007
  - Fixed problem with installer where attempting to install over a failed uninstall could leave multiple clients registered in machine.config.  (Bug #31731)      

Also, it would be a good thing to download MS uninstall tools (Windows Installer Clean Up) from their site and clean up any failed uninstalls.
[24 Jan 2008 8:03] Rene MT
I run the MSI unstall utility - and actually it found a failed deinstallation of a 5.0.x version. I removed it, but the duplicate (or triplicate ;) ) entries described were not gone til now. I also took a look at the machine.config: there is only the most recent client registered.

Maybe you could tell me, from where the Visual Studio gets its wisdom about the installed add-ons?

I mean - it's not a critical bug at all, more a blemish.
[24 Jan 2008 9:40] Tonci Grgin
Rene good, so you are able to work now. As for from where VS gets it's list, I don't know but I'll look as it might be an interesting piece info.
[24 Jan 2008 10:19] Tonci Grgin
Got it, check registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\8.0\Packages
Can we close the report now?
[24 Jan 2008 10:20] Tonci Grgin
And in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\8.0\ToolWindows too.
[24 Jan 2008 10:41] Rene MT
I took a look at the recommended keys, but did not find any entry beside the most recent. However, I won't spend any more time looking at this. How I said: It's just a blemish :)

If the issue actually has been resolved I will figure out at the latest if I upgrade to antother version of Connector/NET. So if you want to, you may close this report for now.
[24 Jan 2008 10:47] Tonci Grgin
Rene, I will close it for now. If problem reappears, open it. Just to be on the safe side, I notified c/NET team of this report.