MySql Workbench installer requires Visual C++ 2015 Redistributable Package to be installed, but it already is installed

后端 未结 21 1460
死守一世寂寞
死守一世寂寞 2021-02-03 20:46

I\'ve looked everywhere online, but it doesn\'t look like anyone has been able to resolve this issue.

When I download and try to install MySql Workbench, I get prompted

相关标签:
21条回答
  • 2021-02-03 21:18

    An incorrect version of vc_redist.x86 was creating issue in my win 10 machine. Uninstalled this and installed vc_redist.x64. After this the workbench installation got completed successfully.

    0 讨论(0)
  • 2021-02-03 21:22

    First try to uninstall completely Visual C++ Redistributable package (2015) and install it again. If that does not help please try something else:

    Open regedit and try to find 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 that keys check value Installed=1 (DWORD)

    If you found these keys and you got message about not installed c-runtime try to use processmonitor from sysinternals https://technet.microsoft.com/en-us/sysinternals/processmonitor and check if you have access to registry.

    If you don't have these keys in your registry you can try to create it manually and see if that helps.

    0 讨论(0)
  • 2021-02-03 21:23

    I ran into this same problem and wanted to avoid installing an old version. I got success downloading the 32 bit visual studio version from:

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

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

    0 讨论(0)
  • 2021-02-03 21:23

    My situation: I have installed Microsoft Visual C++ 2017 Redistributable (x64) and (x86) but the Mysql installer(8.0) requires a 2015 version. After I uninstalled the 2017 version to try to install a 2015 one, whatever times I did installing&uninstalling of 2015 version, the installer just could not detect that I have installed the 2015 version. Then I checked the regidit and found out that there was no key and value for the 2015 version.

    Solution: Then I reinstalled the 2017 version with the 2015 version installed in my computer before. It works fine. The Mysql installer is able to detect the Microsoft Visual C++ 2015. And the regidit has the key and value for version 2015 & 2017. What's interesting is it seems that the version of 2017 & 2015 share the same key root in regidit, which is

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

    Thanks for some of the threads which really open my thought.

    0 讨论(0)
  • 2021-02-03 21:24

    I have been in the same situation and I resolved this problems following the next steps:

    Using Windows

    1. Open Control Panel.
    2. Select Install and uninstall programs
    3. Find Visual C++ Redistributable 2015.
    4. Select it, Wait for the dialog box, and choose Repair
    5. Later, reapeat the same step, in (x86) version.

    Remember, Apply this only 2015 version.

    enter image description here

    0 讨论(0)
  • 2021-02-03 21:28

    It turns out that VC++ 2017 redistributables are the culprit because they delete the registry keys used by VC++ 2015 redistributables. See this Microsoft Developer Community page for solution (TL;DR; you have to repair VC++ 2017 redistributables as this will restore missing 2015 registry keys).

    This process is as Eric describes:

    The steps are essentially: go to Programs in Control Panel (or "Add or Remove Programs" in Windows 10's "Settings"), find the Microsoft Visual C++ 2017 Redistributable, click it and choose Change/Modify, then choose "Repair

    0 讨论(0)
提交回复
热议问题