MySQL Installing in the Wrong Folder

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?
Jim LittleVP Technology & DevelopmentAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Dan CraciunIT ConsultantCommented:
The only logical explanation is that Canon installs it's own version of MySQL and then you upgrade that installation.

PS: You have not attached the log file.


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Jim LittleVP Technology & DevelopmentAuthor Commented:
This one is just too time consuming to be able to pinpoint an answer.  Canon installs a TON of files and registry entries for it's Pixma printers.

From what I could tell Canon doesn't create any mysql service but I'm guessing it's also possible that there was a registry entry that the mysql .msi installer obtained the default install directory from.

Once I uninstalled the Canon printer apps and drivers AND removed all of the Canon registry entries the installer worked just fine.

Installation order matters in this case.  Installing the mysql .msi installer first then the Canon Pixma printer drivers/software 2nd proved to be acceptable.

A workaround is all that is needed and we were able to go that route.  Thanks for the reply.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
MySQL Server

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.