Bug #24180 agent + server inst doesn't write RegDB entry [HKLM\Software\MySQL AB\<product>]
Submitted: 10 Nov 2006 11:26 Modified: 14 Nov 2006 14:36
Reporter: Carsten Segieth Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Enterprise Monitor: Installing Severity:S2 (Serious)
Version:0.7.30 - 0.7.34 OS:Microsoft Windows (Windows)
Assigned to: BitRock Merlin CPU Architecture:Any

[10 Nov 2006 11:26] Carsten Segieth
Description:
There is no product entry in the RegDB like it is for the other MySQL products (see below).

So there is no way for other products / installations etc. to detect an installation of the Merlin agent and/or the Merlin server on the machine, except by scanning all disks.

Also having such an entry the installation itself could (better: should!) use the existing installation path for any kind of update installations.

------------------------
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\MySQL AB]

[HKEY_LOCAL_MACHINE\SOFTWARE\MySQL AB\MySQL Administrator 1.2]
"Version"="5.0.4"
"Location"="C:\\Programme\\MySQL\\MySQL Tools for 5.0\\"

[HKEY_LOCAL_MACHINE\SOFTWARE\MySQL AB\MySQL Migration Toolkit 1.0]
"Version"="1.0.23"
"Location"="C:\\Programme\\MySQL\\MySQL Migration Toolkit 1.0\\"

[HKEY_LOCAL_MACHINE\SOFTWARE\MySQL AB\MySQL Migration Toolkit 1.1]
"Version"="5.0.4"
"Location"="C:\\Programme\\MySQL\\MySQL Tools for 5.0\\"

[HKEY_LOCAL_MACHINE\SOFTWARE\MySQL AB\MySQL Query Browser 1.1]
"Version"="1.1.20"
"Location"="C:\\Programme\\MySQL\\MySQL Query Browser 1.1\\"

[HKEY_LOCAL_MACHINE\SOFTWARE\MySQL AB\MySQL Query Browser 1.2]
"Version"="5.0.4"
"Location"="C:\\Programme\\MySQL\\MySQL Tools for 5.0\\"

[HKEY_LOCAL_MACHINE\SOFTWARE\MySQL AB\MySQL Server 5.0]
"Location"="D:\\MySQL\\MySQL Server 5.0\\"
"Version"="5.0.24"

[HKEY_LOCAL_MACHINE\SOFTWARE\MySQL AB\MySQL Server 5.1]
"Location"="D:\\MySQL\\Server-5.1\\"
"Version"="5.1.6"

[HKEY_LOCAL_MACHINE\SOFTWARE\MySQL AB\MySQL Tools for 5.0]
"Version"="5.0.4"
"Location"="C:\\Programme\\MySQL\\MySQL Tools for 5.0\\"

[HKEY_LOCAL_MACHINE\SOFTWARE\MySQL AB\MySQL Workbench]
"Version"="1.0.5"
"Location"="C:\\Programme\\MySQL\\MySQL Workbench\\"

[HKEY_LOCAL_MACHINE\SOFTWARE\MySQL AB\MySQL Workbench 1.0]
"Version"="5.0.4"
"Location"="C:\\Programme\\MySQL\\MySQL Tools for 5.0\\"
------------------------

How to repeat:
install Merlin and other MySQL products on Windows and check the RegDB in [HKEY_LOCAL_MACHINE\Software\MySQL AB]

Suggested fix:
during installation create a RegDB entry:

------------------------
[HKEY_LOCAL_MACHINE\SOFTWARE\MySQL AB\MySQL Network Service Agent]
"Location"="...put here the INSTALLATIONDIR..."
"Version"="0.7.30"
------------------------
[HKEY_LOCAL_MACHINE\SOFTWARE\MySQL AB\MySQL Network Monitoring and Advisory Service]
"Location"="...put here the INSTALLATIONDIR..."
"Version"="0.7.30"
------------------------

Please check that NO 8.3 DOS pathes are used, but only 'full length' pathes.
[10 Nov 2006 17:35] Keith Russell
Reported as resolved by Bitrock in ver => 7.31
[11 Nov 2006 1:48] Carsten Segieth
tested OK in 0.7.32
[12 Nov 2006 21:51] Carsten Segieth
re-opened, as the unInstall for both agent and server does not remove the RegDB keys <productname> below [HKLM\Software\MySQL AB]. Only the 2 values inside these keys are removed.
Tested with 0.7.34.
[13 Nov 2006 19:14] BitRock Merlin
Fixed in the builds sent 11/13.
We look forward to your feedback.

Ivan
BitRock Support
[13 Nov 2006 20:14] Keith Russell
Reported as resolved by Bitrock in ver =>7.35
[14 Nov 2006 14:36] Carsten Segieth
tested OK with 0.7.37: the keys are deleted.