Bug #87139 MySQL Server Installer cannot detect that Visual C++ 2010 is installed.
Submitted: 20 Jul 2017 13:45 Modified: 4 Sep 2017 2:46
Reporter: Kumarswamy S Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Installing Severity:S1 (Critical)
Version:5.6.37 OS:Windows (Windows 7)
Assigned to: CPU Architecture:Any
Tags: 5.6.37, MYSQL SERVER, visual c++ 2010

[20 Jul 2017 13:45] Kumarswamy S
Description:
Hello,

I have downloaded MySQL server installer from http://www.mirrorservice.org/sites/ftp.mysql.com/Downloads/MySQL-5.6/ and I'm trying to install it and Microsoft Visual C++ 2010 Redistributable Package is already installed on the system but MySQL server installation is complaining about "Microsoft Visual C++ 2010 Redistributable Package" as missing. 

NOTE : I did not face this issue on Windows 10 (x64).

- Installer I was trying and its md5sum.

5d55d387dfe206b38b2105f611ea84e2  mysql-5.6.37-win32.msi

How to repeat:
* Install Microsoft Visual C++ 2010 Redistributable Package on the machine.

* Then try to install MySQL Server msi
[20 Jul 2017 13:54] Kumarswamy S
Checked once again by downloading msi from one of the mirror listed in https://dev.mysql.com/downloads/mirrors/ ( ftp://ftp.jaist.ac.jp/pub/mysql/Downloads/MySQL-5.6/ )

Same issue and md5sum is also same.
[21 Jul 2017 7:27] Chiranjeevi Battula
Hello  Kumarswamy,

Thank you for the bug report.
I could not repeat the issue at our end using Windows Installer with 5.6.37 version.
Could you please provide repeatable test case (exact steps, screenshot etc. - please make it as private if you prefer) to confirm this issue at our end?

Thanks,
Chiranjeevi.
[21 Jul 2017 7:31] Chiranjeevi Battula
Screenshot

Attachment: 87139.JPG (image/jpeg, text), 76.70 KiB.

[21 Jul 2017 9:22] Kumarswamy S
Hello Chiranjeevi,

By looking at your screen shot, it seems you are installing mysql community installer but I'm trying to install only "MySQL Server" from the link shared above (mysql-5.6.37-win32.msi).

Steps : 

1. Either on Windows 7 (x86) or Windows 8.1 (x86), install Microsoft Visual C++ 2010 Redistributable Package.

2. And then try install mysql-5.6.37-win32.msi.
[21 Jul 2017 9:24] Kumarswamy S
Screen shot of message about Visual C++ 2010

Attachment: MySQLInstall.png (image/png, text), 65.81 KiB.

[21 Jul 2017 10:29] Chiranjeevi Battula
Hello Kumarswamy,

Thank you for your feedback.
Verified as described on MySQL for Windows Installer with 5.6.37 32 bit version.

Thanks,
Chiranjeevi.
[21 Jul 2017 10:29] Chiranjeevi Battula
Screenshot

Attachment: 87139.JPG (image/jpeg, text), 113.94 KiB.

[24 Jul 2017 7:05] Kumarswamy S
Hello,

When will proper installer be rolled out ?
[25 Jul 2017 21:07] Hank Williams
Hi.

I'm also having the same problem. Did have this since I tried to upgrade form build 5.6.35 to build 5.6.36. I hoped that the problem was solved in build 5.6.37, but I'm still having this problem. Tried to install older versions of the c++ 2010 package, but no result. The MySQL installer does not recognize the installed version, tries  to reinstall the c++ 2010 version, but leads to the same problem.
[31 Jul 2017 7:27] Chiranjeevi Battula
http://bugs.mysql.com/bug.php?id=87245 marked as duplicate of this one.
[21 Aug 2017 6:21] Chiranjeevi Battula
http://bugs.mysql.com/bug.php?id=87480 marked as duplicate of this one.
[29 Aug 2017 7:00] Chiranjeevi Battula
http://bugs.mysql.com/bug.php?id=87570 marked as duplicate of this one.
[31 Aug 2017 7:18] Kumarswamy S
Hello Chiranjeevi,

Does marking bugs as duplicate of each other solve the problem ?

None of them have any information of possible fix.
[4 Sep 2017 2:46] Paul DuBois
Posted by developer:
 
Fixed in 5.6.38, 5.7.21, 8.0.4.

MSI packages for Windows failed to detect when Microsoft Visual C++
2010 Redistributable Package was installed.
[26 Sep 2017 14:27] Tobias Lietke
Patching MySQL Server 5.6.37 MSI with Orca

Attachment: 2017-09-26 16_08_41-mysql-5.6.37-win32.msi - Orca.png (image/png, text), 12.65 KiB.

[26 Sep 2017 14:30] Tobias Lietke
Since the Installer is only available in 5.6.37, it is possible to use Orca to fix the MSI.
After running the Installer, the actual server msi can be found at:
C:\ProgramData\MySQL\MySQL Installer for Windows\Product Cache\mysql-5.6.37-win32.msi

This Solution applies to any 32-bit OS, since those don't have WOW6432Node in the registry.
[6 Oct 2017 2:34] Milind Kamat
MySQL Insataller

Attachment: MySQLScreen.png (image/png, text), 21.74 KiB.

[6 Oct 2017 2:39] Milind Kamat
Installer does not recognize "Visual Studio 2013 Redistributable" which I downloaded from microsoft (https://www.microsoft.com/en-us/download/confirmation.aspx?id=40784)

Hence fails installation of "MySQL Server" rest everything is installed.

LOG---------------
1: Action 22:35:42: INSTALL. 
1: 1: MySQL Server 5.7 2: {F08E9C75-A42E-4962-8760-4CBD9CF35D7A} 
1: Action 22:35:42: FindRelatedProducts. Searching for related applications
1: Action 22:35:42: AppSearch. Searching for installed applications
1: Action 22:35:42: LaunchConditions. Evaluating launch conditions
1: This application requires Visual Studio 2013 Redistributable. Please install the Redistributable then run this installer again.
1: 1: MySQL Server 5.7 2: {F08E9C75-A42E-4962-8760-4CBD9CF35D7A} 3: 3 
1: The action 'Install' for product 'MySQL Server 5.7.19' failed.
[6 Oct 2017 2:48] Milind Kamat
Update.

I had installed Visual Studio 2013 Redistributable x64 when the installation failed.

I installed x32 version and the MySQL Server Installation succeeded.