Bug #74631 MySQL installer fails when hp registry key is present
Submitted: 30 Oct 2014 9:39 Modified: 21 Apr 2016 17:25
Reporter: George Thornton Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Installing Severity:S3 (Non-critical)
Version:5.6.21.1 OS:Windows
Assigned to: CPU Architecture:Any

[30 Oct 2014 9:39] George Thornton
Description:
When the following registry key is present:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\

With a key/value of "InstallLocation" and "\Hewlett-Packard\\"

Then the installer will simply fail to install. 

The message in the log file is:

Could not access network location \Hewlett-Packard\\.

Deleting the key from the registry then allows the installer to run successfully.

How to repeat:
Try running the installer with the above mentioned registry key present.

Suggested fix:
Ensure that the presence or absence of that particular hp registry key will have no impact on the installer's ability to function.
[30 Oct 2014 10:34] Peter Laursen
I remember that a similar problem was reported (~6 months ago?) when some Canon software was installed on the system before Workbench was.

-- Peter
-- not a MySQL/Oracle person
[30 Oct 2014 12:33] Peter Laursen
This is the one I remembered: http://bugs.mysql.com/bug.php?id=68227, I think
(one of many duplicates)
[30 Oct 2014 12:35] Peter Laursen
This one more dirctly adresses the "Canon problem": http://bugs.mysql.com/bug.php?id=70918
[3 Nov 2014 23:41] MySQL Verification Team
Thank you for the bug report. Could you please provide a screenshot of the registry key you added for test the issue. Thanks.
[4 Nov 2014 0:55] George Thornton
Registry key that causes the problem

Attachment: MySQLRegProb.jpg (image/jpeg, text), 84.65 KiB.

[4 Nov 2014 0:56] George Thornton
Installer failing with registry key present

Attachment: MySQLRegProb2.jpg (image/jpeg, text), 88.51 KiB.

[4 Nov 2014 1:08] George Thornton
This is the registry key for 32 bit windows

Attachment: MySQLRegProbB.jpg (image/jpeg, text), 83.80 KiB.

[4 Nov 2014 11:20] MySQL Verification Team
installed

Attachment: reg_key.png (image/png, text), 132.71 KiB.

[4 Nov 2014 11:21] MySQL Verification Team
I couldn't repeat I will ask to coworker to try too. Thanks for the feedback.
[4 Nov 2014 11:53] George Thornton
For 64 bit windows the registry key is:

HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\

For 32 bit windows the registry key is:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\

Try both if you want to be sure.
[4 Nov 2014 11:54] MySQL Verification Team
Thank you for the feedback.
Confirmed the issue on Win7(64bit) and mysql-installer-community-5.6.21.1.msi
Had to make an registry entry InstallLocation->\Hewlet-Packard\\ in order to trigger this issue.

Thanks,
Umesh
[4 Nov 2014 11:55] MySQL Verification Team
Screenshot..

Attachment: 74631_regedit_installer.png (image/png, text), 115.37 KiB.

[10 Mar 2016 1:04] Javier TreviƱo
Posted by developer:
 
Verified this is not an issue related to the MySQL Installer.
The mentioned registry key affects the installation of the MySQL Server, I tried to install 2 different Server versions with their stand-alone MSI and the installation failed right-away.
I could install though other MySQL programs like MySQL for Excel and MySQL Workbench using the MySQL Installer for Windows.

Reassigning the bug to the Server team.
[21 Apr 2016 17:25] Paul DuBois
Posted by developer:
 
Noted in 5.6.31 changelog.

On Windows, MySQL installation failed if the
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\ 
registry key was present with a key/value pair of
"InstallLocation" and "\Hewlett-Packard\\".