Bug #72200 Upgrade fails on Windows if original install directory not under 'Program Files'
Submitted: 1 Apr 2014 20:08 Modified: 23 Dec 2014 12:42
Reporter: Tim Parker Email Updates:
Status: Can't repeat Impact on me:
None 
Category:MySQL Server: Installing Severity:S2 (Serious)
Version:5.5.37 OS:Windows (Windows 7 with latest updates)
Assigned to: CPU Architecture:Any
Tags: installation, upgrade

[1 Apr 2014 20:08] Tim Parker
Description:
The upgrade installer failed to upgrade 5.5.20 and 5.1.?? to the latest versions because both were installed on c:/winApps/MySQLxxx instead of the default c:/Program Files/MySQLxxx - new files installed in the 'program files' location, but services not updated - 5.1.x installation left unusable, 5.5.20 still running.  Re-running the update failed with hundreds of errors, presumably because the location is incorrect

How to repeat:
install an older version (5.5.20, for example) in a non-default directory (c:/WinApps, for example)

run the upgrader

fail.

Suggested fix:
update the upgrader to actually look at the existing installation directory instead of making assumptions.  Ideally this would also allow specification of a new location so the upgrade could be moved to a new drive (for example)
[15 Apr 2014 0:03] MySQL Verification Team
Thank you for the bug report.
[11 Dec 2014 9:31] Sreedhar Sreedhargadda
Taken from 5.5.41 installer

Attachment: Capture.PNG (image/png, text), 67.44 KiB.

[11 Dec 2014 9:33] Sreedhar Sreedhargadda
Hi Tim,

I tried with the latest installer(5.5.41) and the issue seems to be resolved.
I have attached the upgrade UI snapshot.

-Sree
[11 Dec 2014 9:39] Sreedhar Sreedhargadda
I am able to remove the old 5.1.xx with the latest 5.5.41.
latest 5.5.41 is able to detect the old 5.1.xx and alow to remove using update UI.