MySQL Installing in the Wrong Folder
Posted on 2014-08-22
Here's the question: Can anybody tell me where the .MSI installer gets the folder name where MySQL is to be installed?
I've installed this mysql .msi file well over 100 times without a single thought that there would ever be an issue. Today something happened that I can't figure out.
On a 32 bit machine running MySQL Server 5.5 - I've always used the default install location and the files and folders are always created from the following Base Directory:
c:\program files\mysql\mysql server 5.5
On 2 PCs I have a Canon printer installed. On these 2 PCs MySQL chooses to install the files with THIS folder as the Base Directory:
c:\program files\canon\Easy-WebPrint EX
Same result if I use MySQL 5.6.
I've uninstalled all Canon print drivers and cleared out everything I could find relating to Canon in the registry. Rebooted several times. Uninstalled/Reinstalled the MySQL .MSI file. The funny thing is, when I've completely deleted all Canon folders, MySQL recreates them.
At least the MySQL 5.6 version produces an install log file while installing so I was able to watch and save the install log. Attached is the Install Log file. You'll see around line 90 where MySQL begins copying the files to the base directory listed above...(c:\program files\canon\Easy-WebPrint EX). I was hoping to see where MySQL was getting the base dir info but I didn't see it here. Maybe there is something in there that make sense to you.
MySQL is obtaining this folder information from somewhere that I haven't been able to find. Anybody have any ideas how this happens?