Workbench installer for MySql requires that the Visual C ++ 2015 redistributable package be added, but it is already installed

I looked everywhere everywhere, but no one seemed to be able to solve this problem.

When I download and try to install MySql Workbench, I am asked to install the Visual C ++ (2015) redistributable package for installation. Then the wizard takes me directly to this site to install.

However, whenever I try to install either, it just tells me that they are already installed.

After searching on Google for an hour, I found that some people had this problem, which apparently was resolved using the instructions from this site . I downloaded instaedit and followed the instructions, but keep getting the same error.

I’ve been doing this for two days and am going to go crazy. If anyone can help me with this, I would be very grateful. I am using Windows 10,

+20
source share
19 answers

It turns out that redistributable VC ++ 2017 is the culprit because they delete the registry keys used by redistributable VC ++ 2015. See this page of the Microsoft developer community for a solution (TL; DR; you need to restore the VC ++ 2017 redistributable files as this will restore the missing registry keys 2015)

+41
source

I was able to run the latest version of mysql-workbench.msi from cmd.exe with extended permissions:

  • run cmd.exe as administrator
  • cd to the folder where msi is located
  • run it
+18
source

I tried the solutions posted here, but continued to encounter the same errors. Oddly enough, installing the old version of Workbench actually solved the problem. I was not quite happy with this because I went to school and they showed us the latest, but this is the simplest and most direct solution.

+6
source

None of the solutions work for me until I install the old version: MySQL-workbench community 6.3.8-winx64.msi

+5
source

First, try to completely remove the Visual C ++ (2015) redistributable package and install it again. If this does not help, try something else:

Open regedit and try to find the key HKEY_LOCAL_MACHINE \ SOFTWARE \ WOW6432Node \ Microsoft \ VisualStudio \ 14.0 \ VC \ Runtimes \ x64 or HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ VisualStudio \ 14.0 \ VC \ Runtimes \ x64 if you see the keys = 1 are checked (DWORD)

If you find these keys and receive a message about c-runtime not installed, try using processmonitor from sysinternals https://technet.microsoft.com/en-us/sysinternals/processmonitor and check that you have access to the registry.

If you do not have these keys in your registry, you can try to create it manually and see if that helps.

+2
source

I ran into the same problem and wanted to avoid installing the old version. I got a successful download of the 32-bit version of Visual Studio:

https://www.microsoft.com/en-us/download/confirmation.aspx?id=48145

I suspect it has something to do with the path in the installer, which identifies only the 32-bit version of the visual studio library.

+2
source

If you have Microsoft Visual C ++ 2017 Redistributable (x64) or (x86), please uninstall both of them and run the MySql Workbench installer again .

After the installation is complete, install the Microsoft Visual C ++ 2017 redistributable packages back.

Here is the download link for MS V C ++ 2017 Redist. : https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads

+2
source
  • Remove VC Redistributable 2017 x64 x86 from your PC.
  • Install VC Redistributable 2015 x64 x86 on your computer.
  • Install MySQL Workbench 8.0 on your computer.
  • Launch MySQL Workbench 8.0 and close it.
  • Install VC Redistributable 2017 x86 x64 on your computer.
  • Launch MySQL Workbench 8.0
+2
source

In my environment, I was able to solve this problem by fixing the "Microsoft Visual C ++ 2017 Redistributable" for both (x64) and (x86). Yes, it sounds funny that the version I restored was in 2017, not 2005, but it worked for me. Here are the steps:

  • Go to Control Panel > Uninstall a program
  • Highlight Microsoft Visual C++ 2017 Redistributable (x64) and / or Microsoft Visual C++ 2017 Redistributable (x86)
  • Click Change
  • Click Repair
  • The installer may offer to restart the computer.
  • Repeat the above steps if x64 and x86 versions are installed.

After rebooting the computer, I was able to install MySQL Workbench.

+2
source

I was in the same situation and I solved this problem by following these steps:

Using windows

  1. Open the control panel.
  2. Select Install and Uninstall Programs.
  3. Find Visual C ++ Redistributable 2015.
  4. Select it, wait for the dialog box and select Restore
  5. Later, repeat the same step in the version (x86).

Remember, apply this version only in 2015.

enter image description here

+1
source

I had the same experience, he just needed administrator rights; run as administrator or from the command line as administrator (administrator rights), and then run the last installer (this way I successfully installed 8.0).

See the image of the command line below (the title should indicate "Administrator:") and a successful installation from this window.

image

+1
source

This is reported as an error on the MySQL Bugs website: https://bugs.mysql.com/bug.php?id=91953 other similar errors 87570, 88000, 88338, 85908,

A common mistake is the lack of a .NET update, while other possible solutions include:

  • Download mysql for visual studio 1.2.8
  • Manually create a key for Visual Studio 2015 (not recommended) HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ VisualStudio \ 14.0 \ Setup \ VS

WorkRound that worked for me

 - stop Visual C++ 2017 dependant programs - remove Visual C++ 2017 Redistributable - install Visual C++ 2015 Redistributable - install 'MySQL Workbench 8.0.12' - run 'MySQL Workbench 8.0.12' (need to run and close before updating to 2017) - close 'MySQL Workbench 8.0.12' - re-install Visual C++ 2017 Redistributable. 
+1
source

The best solution for installing the Microsoft Visual C ++ 2015 Redistributable Package :

1 - Select the Start Button All programs Windows Update

2 - In the left pane, select Check for Updates.

3 - If any important updates are found, select the link to view available updates. In the list of updates, select "Service Pack for Microsoft Windows" ( KB976932 ), then select OK .

4 - Select Install Updates . Administrator permission required You may be asked to enter an administrator password or confirm your choice.

5 - This is Windows 7 and Windows Server 2008 R2 Service Pack 1 (KB976932) page here

0
source

My situation: I installed Microsoft Visual C ++ 2017 Redistributable (x64) and (x86), but the Mysql installer (8.0) requires the 2015 version. After I uninstalled the 2017 version to try to install the 2015 version, no matter when I did the installation and uninstallation of the 2015 version, the installer simply could not detect that I installed the 2015 version. Then I checked the regidit and found that for the 2015 version there is no key and value.

Solution: Then I reinstalled the 2017 version with the 2015 version installed on my computer earlier. Works fine. The Mysql installer can detect Microsoft Visual C ++ 2015. And regid has a key and a value for versions 2015 and 2017. Interestingly, versions 2017 and 2015 have the same root key in regid, which is

HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\VisualStudio\14.0\VC\Runtimes\x64.

Thanks for some topics that really open my mind.

0
source

When I tried installing MySQL Workbench 8.0.12 for my Windows 10 Pro x64bit (version 1803), I encountered the same problem, but after several attempts I found the Microsoft Visual C ++ x86 & x64 redistributable package for 2008, 2010, 2012, 2013 & 2017 is already installed, but there is no 2015 version that is required for MySQL Workbench 8.0.12. But when I tried to install Microsoft Visual C ++ Redistributable 2015, it says that it is already installed. To solve this problem, I just uninstalled 2017 and then installed 2015 after reinstalling 2017 and then installed MySQL Workbench and everything worked just fine.

0
source

Copied from @miha URL

Microsoft C ++ Redistributable Recovery List:

 Microsoft Visual C++ 2012 Redistributable x64 Microsoft Visual C++ 2012 Redistributable x86 Microsoft Visual C++ 2013 Redistributable x64 Microsoft Visual C++ 2013 Redistributable x86 
  1. Open programs and functions.
    a. Start> Control Panel> Programs> Programs and Features.
    b. Search> Programs and features.
  2. Select Microsoft C ++ Redistributable, right-click and click Change.
  3. In the Microsoft C ++ redistributable installer, click Restore.
  4. Click Close when the installation is successful.
0
source

Do not use the "mysql-workbench-community-8.0.17-winx64.msi" installer, use the " mysql-installer-web-community-8.0.17.0.msi " installer instead . From this installer, install the working environment.

0
source

The wrong version of vc_redist.x86 created a problem in my win 10 machine. I removed it and installed vc_redist.x64. After that, the installation of the workstation was successfully completed.

0
source

You just need to update the 2017 C ++ redistributable package because this is causing the problem. Since Mysql needs 2015 C ++ redistributable, but in 2017 deleted the 2015 registry. Just update it.

Go to Control Panel → Programs → Programs and Features. Select Microsoft C ++ Redistributable, then click Change. Then click on Repair. Close after successful installation. After that you need to restart your computer. (Remember to upgrade x86 and x64 if you have two.)

I installed without rebooting.

0
source

Source: https://habr.com/ru/post/1266235/


All Articles