Re: Detecting the .NET Connector 6.6.4 using Windows Installer
Posted by: Fernando Gonzalez.Sanchez
Date: January 21, 2013 05:03PM

Hi Carlos,

OK, I think the best would be if you can query the GAC for MySql.Data,dll, and get the version from there. If you can do this way, is the more simpler, so go ahead.

Alternatively, there's a way to get the Connector/NET version from the registry, but is not consistent among versions,

Since at least Cnet 6.4.x you can look at HKEY_LOCAL_MACHINE\SOFTWARE\MySQL AB\MySQL Connector/Net, and read the properties Location & Version.

In previous versions, the key included the version number like

HKML\Software\MySQL AB\MySQL Connector/Net 5.0.0
HKML\Software\MySQL AB\MySQL Connector/Net 5.0.1
HKML\Software\MySQL AB\MySQL Connector/Net 5.0.2, etc.

Options: ReplyQuote


Subject
Written By
Posted
Re: Detecting the .NET Connector 6.6.4 using Windows Installer
January 21, 2013 05:03PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.