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

后端 未结 21 1423
死守一世寂寞
死守一世寂寞 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:13

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

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

    I got it working running latest mysql-workbench.msi from cmd.exe with escalated permissions:

    1. run cmd.exe as Administrator
    2. cd to folder where msi resides
    3. run it
    0 讨论(0)
  • 2021-02-03 21:15

    The best solution to install Microsoft Visual C++ 2015 Redistributable Package is by:

    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) and then select OK.

    4 - Select Install updates. Administrator permission required You might be asked for an admin password or to confirm your choice.

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

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

    I tried the solutions posted here, but continued to run into the same errors. Oddly enough, installing an older version of Workbench actually resolved the problem. I wasn't exactly happy about this because I went to school and they showed us the most recent one, but this is the easiest and most direct solution.

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

    Copied from @miha's URL

    Microsoft C++ Redistributable Repair 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 Features.
      a. Start > Control Panel > Programs > Programs and Features.
      b. Search > Programs and Features.
    2. Select Microsoft C++ Redistributable, right-click and click on Change.
    3. On Microsoft C++ Redistributable Setup, click on Repair.
    4. Click on Close once setup is successful.
    0 讨论(0)
  • 2021-02-03 21:18

    The issue here is permissions. When running the MSI, AND if your local policy is set to (prompt for everything), you will encounter this issue because the MSI isn't prompting for credentials to browse the registry to look and see if c++ redistributable is installed.

    Solution.

    Run the msi as an admin.

    how i did that:

    download and open the workbench msi in a msi editor, like InstEd. from within InstEd, run the package as an admin.

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