Bug #62606 The MySql Connector .Net 6.4.4 Setup Wizard Ended Prematurely
Submitted: 3 Oct 2011 15:07 Modified: 31 May 2016 13:21
Reporter: Mark Wireman Email Updates:
Status: Can't repeat Impact on me:
None 
Category:Connector / NET Severity:S1 (Critical)
Version:6.4.4 OS:Windows (7 Home Premium)
Assigned to: CPU Architecture:Any

[3 Oct 2011 15:07] Mark Wireman
Description:
Attempting to install MySql Connector .NET 6.4.4 continues to produce the message the wizard ends prematurely. I know this issue has been reported with previous versions but I did not find a sustainable or suitable solution. To remove and reinstall either the various .NET Framework versions to modifying the machine.config file to changing directory names are not viable options. The work involved and the impact as a result is too significant.

I'm running Windows 7 64-bit Home Premium edition with .NET frameworks 1.0, 1.1, 2.0, 3.0, 3.5, and 4.0 in the Windows\Microsoft.NET\Framework directory. I use VS 2008 as the primary IDE, with FSharp installed that uses the 4.0 Framework.

I do not believe this bug is a duplicate of previous bugs as I did a search for 6.4.4 and did not find a duplicate. I did find references to previous installation problems, however, no resolution since the bug continues in version 6.4.4.

How to repeat:
To duplicate, download the MySql Connector .NET MSI and attempt to install using the Typical and Complete options. 

I did try the Custom option with all of the items to be installed on the disk and was able to reproduce the issue.

Suggested fix:
Unable to suggest a fix as I'm not able to review logs since none was produced.
[18 Oct 2011 18:50] Robert Hood
I am also having this issue.  I previously had the connector 6.3.6 installed.  I uninstalled that connector and tried to install 6.4.4.  I get an error message stating that there is a 6.3 connector installed already and that version needs to be removed.

Can we have this issue addressed asap?  We have evaluated every release of every .NET connector since 6.3.6 and each version has had some issue with it that prevents us from using the connector in our production application.  6.3.6. has it's own bugs when it comes to regenerating the model from a large database, but at least we can install it and it runs in the production environment.  Thanks!
[19 Oct 2011 21:27] Jere Darling
I am also experiencing problems installing the MySQL Connector .NET 6.4.4. I am running Windows 7 64 Ultimate.  Visual Studio 2008 and 2010.  None of the suggestions from earlier bugs appear to have any effect.  The rollback is incomplete as well the machine.config files are modified as if the installation had suceeded.  I was also unable to install version 6.3.6.
[23 Oct 2011 16:31] Rafail Ahmadisheff
The problem that I was experiencing is probably just what Robert Hood describes. I had been using Connector/Net 6.3.6 before attempting to upgrade to 6.4.4. MySQL Connector Net 6.4.4 Setup kept insisting that "A previous version of Connector/Net 6.3 or higher is already installed." -- even after I uninstalled 6.3.6 via "Control Panel"/"Add or Remove Programs". I tried re-installing and re-uninstalling Connector/Net 6.3.6 to no avail. Noticing that 6.4.4 installer accesses registry value HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{5FD88490-011C-4DF1-B886-F298D955171B}\DisplayVersion right before complaining, I renamed that whole key (not just the value) -- and thus managed to complete 6.4.4 installation. Now Connector/Net 6.4.4 seems to operate correctly, but I can't be sure, that my workaround would not cause problems in the future. After all, I likely did not remove 6.3.5 before installing 6.3.6 (I'm not sure, though) -- and this could have been my initial flaw, that caused the problem described.
[10 Nov 2011 14:05] jp k
Just removing the key 5FD88490-011C-4DF1-B886-F298D955171B worked for me. Thanks.
[30 Nov 2011 21:57] Robert Hood
You also have to remove the same node under Wow6432Node if you are running a 64bit machine.  Once I manually removed that key, the install proceeded successfully
[15 Feb 2012 22:27] Gabriela Martinez Sanchez
Hi Mark, I try to reproduce the bug but it didn't happened. I try installing the 6.4.3 remove it and then install the 6.4.4 version. And I didn't had any problem with it. I would like to suggest that you try the latest version 6.5.2 and see if the problem still shows up. 
Hope you can give us some feedback.

Thanks,
[1 Mar 2012 3:15] pooja saboo
hi............
i am unable to reinstall/ un-install the connector/net from windows xp sp2 verstion kindly help me for this problem 
i reach upto this path in registry but onward im confused........

HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\
[11 Jun 2012 2:07] hank kniight
I again updated a 6.3.6 version by removing the key:
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{5FD88490-011C-4DF1-B886-F298D955171B}
NOTE that on an 64 bit OS, you have to remove:
HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{5FD88490-011C-4DF1-B886-F298D955171B}
[6 Aug 2012 10:34] l m
i had to delete these two
HKLM\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{2DDC7E93-29AB-4260-A9DB-697F7FA88157}
HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{5FD88490-011C-4DF1-B886-F298D955171B}
[2 Nov 2012 21:18] Stuart Knight
I am on a 64 bit OS and I had to delete the aforementioned:

HKLM\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{2DDC7E93-29AB-4260-A9DB-697F7FA88157}

...as well.
[5 Apr 2013 11:47] alfredo lambda
Hello guys, I was getting mad for days due this bug.

Thanks a lot, removing this register key (5FD88490-011C-4DF1-B886-F298D955171B)worked for me perfectly.

Thanks again! :)
[5 Dec 2013 23:51] B S
I could not find anything in the Uninstall folder that was related to MySQL connectors, is there a good string to search for that will help me find this thing in the registry?
[6 Nov 2015 12:29] MySQL Verification Team
Any news about this issue?
[10 Dec 2015 20:16] Fredrick Woolard
Dealing with similar issue. Trying to install Connector/NET 6.9.8 on Windows 8.1 PRO (MySQL Workbench 6.3 installed without error). Installation proceeds towards end, then rolls back installation. Installation log attached (developer view).
[14 Dec 2015 12:57] Marselus Chia
i had the same problem..
windows 7 ultimate

connector version 6.9.4 won't uninstall.
tried to upgrade to 6.9.8 installation ended prematurely.
Here is the log from MySQL Installer when i tried to remove 6.9.4:

Beginning removal of Connector/NET 6.9.4.
6: Action 19:55:42: INSTALL. 
6: 1: MySQL Connector Net 6.9.4 2: {7FE04B43-4187-46F5-A9DE-9ECB5177B8C1} 
6: Action 19:55:42: FindRelatedProducts. Searching for related applications
6: Action 19:55:42: AppSearch. Searching for installed applications
6: Action 19:55:42: LaunchConditions. Evaluating launch conditions
6: Action 19:55:42: ValidateProductID. 
6: Action 19:55:42: CostInitialize. Computing space requirements
6: Action 19:55:42: FileCost. Computing space requirements
6: Action 19:55:42: CostFinalize. Computing space requirements
6: Action 19:55:42: InstallValidate. Validating install
6: Action 19:55:45: Setv2InstallUtil. 
6: Action 19:55:45: Setv4InstallUtil. 
6: Action 19:55:45: InstallInitialize. 
6: Action 19:55:51: GenerateScript. Generating script operations for action:
6: InstallInitialize
6: Action 19:55:51: RemoveExistingProducts. Removing applications
6: Action 19:55:51: ProcessComponents. Updating component registration
6: 
6: Action 19:55:51: MsiUnpublishAssemblies. Unpublishing assembly information
6: Application Context:Unpublishing assembly information, Assembly Name:
6: Action 19:55:52: UnpublishFeatures. Unpublishing Product Features
6: Feature: Unpublishing Product Features
6: Action 19:55:52: UninstallPerfCounterData. 
6: Action 19:55:52: RollbackUnregisterPerfCounterData. 
6: 
6: Action 19:55:52: UnregisterPerfCounterData. 
6: 
6: Action 19:55:52: RemoveRegistryValues. Removing system registry values
6: Key: Removing system registry values, Name: 
6: Action 19:55:52: RemoveShortcuts. Removing shortcuts
6: Shortcut: Removing shortcuts
6: Action 19:55:52: ManagedDataUnInstallSetup. 
6: Action 19:55:52: ManagedDataUnInstall. Unregistering data provider from machine.config
6: Action 19:55:52: ManagedWebUnInstallSetup. 
6: Action 19:55:52: ManagedWebUnInstall. Unregistering web providers from machine.config
6: Action 19:55:52: RemoveFiles. Removing files
6: File: Removing files, Directory: 
6: Action 19:55:52: RemoveFolders. Removing folders
6: Folder: Removing folders
6: Action 19:55:52: CreateFolders. Creating folders
6: Action 19:55:52: InstallFiles. Copying new files
6: Action 19:55:52: CreateShortcuts. Creating shortcuts
6: Action 19:55:52: WriteRegistryValues. Writing system registry values
6: Action 19:55:52: InstallPerfCounterData. 
6: Action 19:55:52: RegisterUser. Registering user
6: Action 19:55:52: RegisterProduct. Registering product
6: Action 19:55:52: MsiPublishAssemblies. Publishing assembly information
6: Action 19:55:52: PublishFeatures. Publishing Product Features
6: Action 19:55:52: PublishProduct. Publishing product information
6: 
6: Action 19:55:52: InstallFinalize. 
6: Action 19:55:52: InstallInitialize. 
6: Action 19:55:52: ProcessComponents. Updating component registration
6: Action 19:55:53: MsiUnpublishAssemblies. Unpublishing assembly information
6: Application Context:Global, Assembly Name:MySql.Data,version="6.9.4.0",culture="neutral",publicKeyToken="C5687FC88969C44D",processorArchitecture="MSIL"
6: Application Context:Global, Assembly Name:MySql.Data,version="6.9.4.0",culture="neutral",publicKeyToken="C5687FC88969C44D",processorArchitecture="MSIL"
6: Application Context:Global, Assembly Name:MySql.Web,version="6.9.4.0",culture="neutral",publicKeyToken="C5687FC88969C44D",processorArchitecture="MSIL"
6: Application Context:Global, Assembly Name:MySql.Web,version="6.9.4.0",culture="neutral",publicKeyToken="C5687FC88969C44D",processorArchitecture="MSIL"
6: Application Context:Global, Assembly Name:MySql.Data.Entity,version="6.9.4.0",culture="neutral",publicKeyToken="C5687FC88969C44D",processorArchitecture="MSIL"
6: Application Context:Global, Assembly Name:MySql.Data.Entity,version="6.9.4.0",culture="neutral",publicKeyToken="C5687FC88969C44D",processorArchitecture="MSIL"
6: Application Context:Global, Assembly Name:MySql.Data.CF,version="6.9.4.0",culture="neutral",publicKeyToken="C5687FC88969C44D",processorArchitecture="MSIL"
6: Action 19:55:53: UnpublishFeatures. Unpublishing Product Features
6: Feature: EntityFramework
6: Feature: Samples
6: Feature: DocsFeature
6: Feature: Core.Feature
6: Feature: WebProviders
6: Feature: CompactFramework
6: Feature: CSSamples
6: Feature: VBSamples
6: Feature: Plugins.Fabric
6: Feature: Plugins
6: Action 19:55:53: RollbackUnregisterPerfCounterData. 
6: Action 19:55:53: UnregisterPerfCounterData. 
6: Action 19:55:53: RemoveRegistryValues. Removing system registry values
6: Key: \Software\MySQL AB, Name: Default
6: Key: \Software\MySQL AB\MySQL Connector/Net, Name: Version
6: Key: \Software\MySQL AB\MySQL Connector/Net, Name: Location
6: Key: \Software\MySQL AB\MySQL Connector/Net, Name: 
6: Key: \SOFTWARE\Microsoft\.NETFramework\v2.0.50727\AssemblyFoldersEx\MySQL Connector Net 6.9.4 v2.0, Name: 
6: Key: \SOFTWARE\Microsoft\.NETFramework\v2.0.50727\AssemblyFoldersEx\MySQL Connector Net 6.9.4 v2.0, Name: 
6: Key: \SOFTWARE\Microsoft\.NETFramework\v4.0.30319\AssemblyFoldersEx\MySQL Connector Net 6.9.4 v4.0, Name: 
6: Key: \SOFTWARE\Microsoft\.NETFramework\v4.0.30319\AssemblyFoldersEx\MySQL Connector Net 6.9.4 v4.0, Name: 
6: Key: \SOFTWARE\Microsoft\.NETFramework\v4.5.50709\AssemblyFoldersEx\MySQL Connector Net 6.9.4 v4.5, Name: 
6: Key: \SOFTWARE\Microsoft\.NETFramework\v4.5.50709\AssemblyFoldersEx\MySQL Connector Net 6.9.4 v4.5, Name: 
6: Action 19:55:53: RemoveShortcuts. Removing shortcuts
6: Shortcut: upfn1-0t|Documentation
6: Shortcut: vaitcdd6|ChangeLog
6: Shortcut: _rq6aex9|Release Notes
6: Action 19:55:54: ManagedDataUnInstall. Unregistering data provider from machine.config
6: Action 19:55:55: ManagedWebUnInstall. Unregistering web providers from machine.config
6: Action 19:55:57: Rollback. Rolling back action:
6: Unregistering web providers from machine.config
6: Unregistering data provider from machine.config
6: Removing shortcuts
6: Removing system registry values
6: UnregisterPerfCounterData
6: RollbackUnregisterPerfCounterData
6: Unpublishing Product Features
6: Unpublishing assembly information
6: Updating component registration
6: InstallInitialize
6: 1: MySQL Connector Net 6.9.4 2: {7FE04B43-4187-46F5-A9DE-9ECB5177B8C1} 3: 3 
6: The action 'Remove' for product 'Connector/NET 6.9.4' failed.
[31 May 2016 13:21] Chiranjeevi Battula
Hello Marselus Chia,

Thank you for your feedback.
I tried to reproduce the issue at my end using Install/Uninstall Connector/Net 6.9.4 and 6.9.8 versions but not seeing any issues.
If you can provide more information, feel free to add it to this bug and change the status back to 'Open'.

Thank you for your interest in MySQL.

Thanks,
Chiranjeevi.
[21 Sep 2016 5:59] Yaniv Rabl
For Windows 10 I've found for MySQL Connector Net 7.0.5 the registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{5728E6B1-9316-468B-A381-8EA2867E747A}
[18 Oct 2016 0:37] Aldo Diaz
Hi, 

I didnt find the keys that are mentioned in the post. But fixed it uninstalling the conector first (using the same .msi but choosinig the "remove" option). After that I could install the 6.9.9 it without problems.
[4 Apr 2017 10:00] Chiranjeevi Battula
http://bugs.mysql.com/bug.php?id=85711 marked as duplicate of this one.