Bug #87962 32bit C++ runtime not downloaded
Submitted: 4 Oct 2017 1:26 Modified: 6 Dec 2017 15:41
Reporter: Guest User Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL for Windows: Installer Severity:S2 (Serious)
Version:1.4.20.0 OS:Windows (Server 2016)
Assigned to: CPU Architecture:Any

[4 Oct 2017 1:26] Guest User
Description:
The installer only downloads and installs the 64bit Microsoft C++ runtime when installing 64bit MySQL Server on a 64bit OS. The installation fails and cannot continue until you find and download the 32bit runtime yourself.

How to repeat:
1. Boot fresh Windows 10 or Server 2016 OS. Make sure it's a fresh/clean install!
2. Run MySQL Installer and choose to install 64bit MySQL Server.
3. It'll first download and install the 64bit Microsoft C++ runtime. When it's done and it gets to installing the MySQL Server, it will fail.
4. Download the 2013 32bit runtime from here, install it, and then try the MySQL install again. It will work this time. https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads

Suggested fix:
Download the 32bit runtime in conjunction with the 64bit one.
Seems similar to Bug #25865192.
[5 Oct 2017 10:59] Chiranjeevi Battula
Hello John,

Thank you for the bug report.

Thanks,
Chiranjeevi.
[5 Oct 2017 11:00] Chiranjeevi Battula
Screenshots

Attachment: 87962.zip (application/x-zip-compressed, text), 184.88 KiB.

[5 Oct 2017 16:26] Javier TreviƱo
Posted by developer:
 
Installing the 32-bit runtime is a strange workaround/fix for the problem, since the MySQL Server being installed is the 64-bit one.
The solution one user gave in the forums seems more accurate, installing an update to the redistributable:

https://support.microsoft.com/en-us/help/3179560/update-for-visual-c-2013-and-visual-c-red...

We need to check if Microsoft is releasing a new version of the redistributable that contains this update so only 1 single redistributable is installed as part of the MySQL Installer's prerequisite check.
[6 Oct 2017 0:46] Guest User
I think the general consensus is to always install both redistributables.
I doubt MS will release an update for VC 2013 - it's rather old.
I would make the installer install both x64 and x86 versions of VC redist 12.0.40660.0 and call it a day.
[11 Oct 2017 10:37] Martha Simons
quality

Attachment: High Quality.pdf (application/pdf, text), 53.59 KiB.

[15 Oct 2017 2:30] Guest User
Can someone please remove the spam? Thank you.
[27 Nov 2017 21:20] Luis Mora
The error was caused because one of the VC++ runtimes downloaded by Installer
on Check Requirements screen was pointing to an older version that needs a
hotfix.
With this update all VC++ runtimes download links were changed to point to
the latest versions released by Microsoft including the one that fixes the
error.
[5 Dec 2017 21:59] Rafael Antonio Bedoy Torres
Posted by developer:
 
Fixed on 1.4.21
[6 Dec 2017 15:41] Christine Cole
Posted by developer:
 
Fixed as of the upcoming MySQL Installer 1.4.21 release, and here's the changelog entry:

Some prerequisite checks in the Windows Registry were for the 32-bit
versions of Windows only. This fix acquires all the latest prerequisite
software provided by Microsoft and required by MySQL

Thank you for the bug report.
[15 Dec 2017 8:15] Chiranjeevi Battula
http://bugs.mysql.com/bug.php?id=88934 marked as duplicate of this one.