MySql 5.7 installer fails to detect VS 2013 redistributable

Bob Tway picture Bob Tway · Jul 18, 2017 · Viewed 58k times · Source

Trying to install the latest version of MySQL Server - 5.7.19 - on a clean Windows server machine using the MySql installer MSI package.

On first attempt it told me it needed a prerequisite of the Visual Studio 2013 Redistributable and installed it. When trying to install the server, however, it then complains:

1: Action 10:59:21: INSTALL.

1: 1: MySQL Server 5.7 2: {F08E9C75-A42E-4962-8760-4CBD9CF35D7A}

1: Action 10:59:21: FindRelatedProducts. Searching for related applications

1: Action 10:59:21: AppSearch. Searching for installed applications

1: Action 10:59:21: 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.

I've tried rebooting the machine - problem persists.

I've checked in the registry to ensure Windows knows the package is installed, which it does.

I've tried installing the previous version of MySql and that installs fine.

So I cleaned out all the installations and re-ran the package, this time also selecting Workbench, Shell and some other useful tools. All of it installed fine - except the Server. That's still demanding the redistributable which is already installed.

Where can I go from here?

Answer

Prabhat picture Prabhat · Jul 18, 2017

I had the same issue today while installing MySQL 5.7 and not sure how shall I proceed and found your questions. I was sure that I have installed the 64bit version of Visual C++ Redistributable Packages on my machine. Then I installed a 32-bit version of the same package (URL: https://www.microsoft.com/en-in/download/details.aspx?id=40784) and the MySQL Installer detected that and proceed with the installation.

Looks like the installer was looking for 32bit install path. Hope this help.