MySQL Workbench crash on start on Windows - mysql

I`ve just installed my MySQL Workbench and it crashes on start and i really dont know what to do with it. Error codes from Event Log :
Application Error
Application that causes trobule: MySQLWorkbench.exe
version: 6.2.3.12312,
time signature: 0x541717ae
Name of the module that causes error: KERNELBASE.dll,
version: 6.1.7601.18409,
time signature: 0x5315a05a
exception code: 0xe0434352
error shift: 0x000000000000940d
ID of process that cause trobule: 0x8c0
Hour of launching the application that causes error: 0x01cffc736e910602
Path of the applicatin that causes error: D:\Programy\MySQL Workbench 6.2\MySQLWorkbench.exe
Path of the module that causes error: C:\Windows\system32\KERNELBASE.dll
Raport id: ae1d15f1-6866-11e4-8572-20689d5ba829
And
.NET Runtime
Application: MySQLWorkbench.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.IO.FileNotFoundException
Stack:
at MySQL.GUI.Workbench.Program.Main(System.String[])
Any idea how to fix this?

got same error. found "_README_FOR_ZIP_PACKAGE.txt" file in "mysql-workbench-community-6.2.4-winx64-noinstall.zip." file says
MySQL Workbench needs the following prerequisites:
Microsoft .NET Framework 4 Client Profile (http://www.microsoft.com/download/en/details.aspx?id=17113)
Visual C++ Redistributable for Visual Studio 2013 (http://www.microsoft.com/en-us/download/details.aspx?id=40784)
installed both. and now, it works. hope this information can help somebody.

Install Windows (x86, 32-bit), MSI Installer) from this link , even if your are using 64 bit operating system. MySQL Installer is 32 bit, but will install both 32 bit and 64 bit binaries.

Hi Please install the MSVC 2013 runtime redistributables from MS: http://www.microsoft.com/en-us/download/details.aspx?id=40784

Since I am on Win 7 64-bit, I only installed the 64-bit (x64) version of Visual Studio 2013, and got this error.
How I was able to get past this was:
1) Uninstalling MySQL Workbench, and everything else, except for the MySQL Installer.
2) Installing the 32-bit (x86) version of Visual Studio 2013 (in addition to the 64-bit version)
3) Adding MySQL Workbench, and the other connectors/utilities I wanted.
I'm not sure whether you need both 32-bit or 64-bit, but having both worked for me...

I use version Windows (x86, 64-bit), ZIP Archive
(mysql-workbench-community-6.2.5-winx64-noinstall.zip)
Try installing Visual C++ Redistributable for Visual Studio 2013
Hope this helps!

MySQL Workbench 8.0.... 5 years later, same poor installation doc...
Faulting application name: MySQLWorkbench.exe, version: 8.0.19.0, time stamp: 0x5df6944b
Exception Info: System.IO.FileNotFoundException
at MySQL.GUI.Workbench.Program.Main(System.String[])
... from
https://bugs.mysql.com/bug.php?id=98207
prerequisites:
Microsoft .NET Framework 4.5
Visual C++ Redistributable for Visual Studio 2019
No links on MySQL page but the VC can be found at the bottom under "Other Tools and Frameworks" ...
https://visualstudio.microsoft.com/downloads/

Related

MySQL 5.7.19 not installing. Giving same error

I have been trying to install MYSQL 5.7.19 but it gives me the following error while installing the "MYSQL SERVER 5.7.19" although the rest of the things are installed perfectly.
1: Action 14:02:10: INSTALL.
1: 1: MySQL Server 5.7 2: {EC09D203-422B-4C9F-B623-230EF57EE709}
1: Action 14:02:10: FindRelatedProducts. Searching for related applications
1: Action 14:02:10: AppSearch. Searching for installed applications
1: Action 14:02:10: 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: {EC09D203-422B-4C9F-B623-230EF57EE709} 3: 3
1: The action 'Install' for product 'MySQL Server 5.7.19' failed.
After this, I installed the "VISUAL C++ Redistributable 2013" as I could not find the "Visual Studio 2013 Redistributable". First thing I want to ask is are these two the same? If not then where to find the "Visual Studio 2013 Redistributable". After installing the "VISUAL C++ Redistributable 2013", I still get the same error. Another thing is, if I don't install 'MySQL Server 5.7.19' and let it fail, will my MySQL not work properly?
This happened to me as well today actually.
What you need to do is to install the Visual C++ Redistributable Packages for Visual Studio 2013, doesn't matter if you have installed the ones of 2015 for some reason. Install both x86 and x64 versions. Here's the link to the installers. Hope it works for you, it did for me.
Simple workaround (there's a bug in msi install sequence file):
download and install the server through the web installer and let it failed
open C:\ProgramData\MySQL\MySQL Installer for Windows\Product Cache\mysql-5.7.20-winx64.exe or download msi installer from CDN (you can take the correct url from the installer logs)
install the mysql-5.7.20-winx64.exe but exclude "Server Data Files"
re-run the web installer and click "Quick Action / Reconfigure" and configure you mysql instance
add the required packages
I had the same problem with MySQL Server 5.7.19 x64.
I installed Visual Studio 2013 Redistributable x64 but it does not works, so you have to install Update for Visual C++ 2013 and Visual C++ Redistributable Package
wich can be found here https://support.microsoft.com/en-us/help/3179560/update-for-visual-c-2013-and-visual-c-redistributable-package.
With this solution you can install v5.7 instead of v5.6.
Credits goes for Jafeth Carrillo Salas, https://forums.mysql.com/profile.php?169,11205311
This seems duplicate of MySql 5.7 installer fails to detect VS 2013 redistributable.
I had a same issue, I tried multiple times, even removed multiple version of the Visual Studio Redistribute 2013, but MySql V5.7 didn't get install. I tried both x86 and 64 bit, but result was same.
Solution: I have downloaded MySql Version 5.6 instead of 5.7, then its gets installed like a charm.
Note:
Seems like there must be some issue with the MySql V 5.7 installer.
Simple workaround (there's a bug in msi install sequence file):
download and install the server through the web installer and let it failed
open C:\ProgramData\MySQL\MySQL Installer for Windows\Product Cache\mysql-5.7.20-winx64.exe or download msi installer from CDN (you can take the correct url from the installer logs)
install the mysql-5.7.20-winx64.exe but exclude "Server Data Files"
re-run the web installer and click "Quick Action / Reconfigure" and configure you mysql instance
add the required packages
Thanks. It works for me.!!!
You can find answers to your question at the install instructions at mysql.com. To install the server you need the Visual Studio C++ 2013 Redistributable, which you can find at Microsoft.
If your MySQL will work properly, if you don't install the server depends on your needs. If you just connect to another server somewhere else I don't see any problems.
Remove mysql server and install Visual C++ Redistributable Packages 32bit and 64bit both version after that resolve the issue.
https://www.microsoft.com/en-in/download/confirmation.aspx?id=40784
vcredist_x64.exe
vcredist_x86.exe

MySql 5.7 installer fails to detect VS 2013 redistributable

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?
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.
I had a similar issue while installing MySQL 5.7.19 where I was installing the x64 version of visual C++ redistributable and it refused to work. Eventually was able to get around it in a similar way to Prabhat, but installed the x86 version instead. Working so far.
Would have commented this on Prabhat's answer, but reputation restrictions.
I had a same issue, I tried multiple times, even removed multiple version of the Visual Studio Redistribute 2013, but MySql V5.7 didn't get install. I tried both x86 and 64 bit, but result was same.
Solution:
I have downloaded MySql Version 5.6 instead of 5.7, then its gets installed like a charm.
Note:
Seems like there must be some issue with the MySql V 5.7 installer.
For a 64-bit MySQL server installation, I suggest updating the 64-bit version of the Visual Studio 2013 Redistributable Package (in my case from 12.0.30501 to 12.0.40660); the Redistributable Package update can found here. I came across this solution on this MySQL Forum post, but used the answer by Prabhat (on a different server) before and it worked too.
What you need to do is to install the Visual C++ Redistributable Packages for Visual Studio 2013, doesn't matter if you have installed the ones of 2015 for some reason. Install both x86 and x64 versions. Here's the link to the installers. Hope it works for you, it did for me.
I also had a problem installing MySQL 5.7.19 because installation claimed C++ Redistributable 2013 not installed when both 16 and 32 bit version were already installed. None of the other answers here worked for me.
What I discovered is that after repairing my C++ Redistributable, the installer then found it.
After checking the solutions posted by users in this thread, both solutions (either installing runtime for both architectures 32 and 64 bits or installing a newer version of runtime) work.
The better solution is to install the newer version of VC++ 2013 x64 runtime. Please make sure you are installing the one with a file version of 12.0.40660.0 as the one the MySQL Installer currently installs is version 12.0.30501.0, and any with this or lower version may cause errors. Thanks to Jafeth Carrillo Salas for the best solution, and to all other users that contributed with other workarounds.
We will fix this issue using the newer runtime version, you can track the status at this MySQL bug link.
My computer system language is Chinese.
At first,i install English version of visual c++ 2013 , it can't work.
And than, i uninstall visual c++ 2013(en). install visual c++ 2013(cn).
it works.
Try following steps:
step 1. Got to https://www.microsoft.com/en-in/download/details.aspx?id=40784
step 2. Click for downloading Visual C++ Redistributable Packages for Visual Studio 2013
step 3. Check vcredist_x64.exe for 64 bit or vcredist_x86.exe for 32 bit
step 4. Click next and after downloading Install vcredist_** in your machine
After then relaunch MySQL installer and repeat the mysql installation process.

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

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 to install Visual C++ Redistributable package (2015) to be installed. The wizard then takes me directly to this website in order to install it.
However, whenever I try to install either, it just tells me they're already installed.
After googling this for about an hour, I found some other people had this problem which apparently was resolved by following the instructions from this website. I downloaded instaedit and followed the instructions, but I continue to get the same error.
I've been at this for two days now and am going to go crazy. If someone can help me with this I'd be very grateful. I'm using Windows 10,
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
I got it working running latest mysql-workbench.msi from cmd.exe with escalated permissions:
run cmd.exe as Administrator
cd to folder where msi resides
run it
Tried and tested.
I was getting an error: mysql workbench requires the visual c++ 2019 redistributable package to be installed
I visited the link: https://support.microsoft.com/en-in/help/2977003/the-latest-supported-visual-c-downloads
Downloaded and installed the file, And boom it was working.
None of the solutions work for me until I install the old version:
mysql-workbench-community-6.3.8-winx64.msi
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.
If you have Microsoft Visual C++ 2017 Redistributable (x64) or (x86), please uninstall them both and run again the MySql Workbench installer.
After the installation is done, install back Microsoft Visual C++ 2017 Redistributable packages.
Here is the link to download MS V C++ 2017 Redist. :
https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads
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.
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.
Uninstall VC Redistributable 2017 x64 x86 from your computer.
Install VC Redistributable 2015 x64 x86 to your computer.
Install MySQL Workbench 8.0 to your computer.
Run MySQL Workbench 8.0 and close it.
Install VC Redistributable 2017 x86 x64 to your computer.
Run MySQL Workbench 8.0
In my environment, I was able to fix this issue by repairing "Microsoft Visual C++ 2017 Redistributable" both (x64) and (x86). Yes, it sounds funny that the version I repaired was 2017 instead of 2005, but it worked for me. Here's 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 button
Click Repair
The installer may prompt you to reboot your machine
Repeat the steps above if both x64 and x86 versions are installed.
After rebooting machine, I was able to install MySQL Workbench.
I had the same experience, it simply needed Administrative rights; launch with admin or launch command prompt as an admin (administrative privileges) and then launch the latest installer (I installed 8.0 successfully this way).
See below image of command prompt (must show "Administrator:" in title) and successful installation from this window
I have been in the same situation and I resolved this problems following the next steps:
Using Windows
Open Control Panel.
Select Install and uninstall programs
Find Visual C++ Redistributable 2015.
Select it, Wait for the dialog box, and choose Repair
Later, reapeat the same step, in (x86) version.
Remember, Apply this only 2015 version.
This has been reported as a bug on the MySQL Bugs site:
https://bugs.mysql.com/bug.php?id=91953
other similar bugs 87570, 88000, 88338, 85908,
A common error appears to be not having .NET upto date,
while other possible solutions include:
Downloading mysql for visual studio 1.2.8
Manually create the 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.
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.
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
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.
When I tried to install MySQL Workbench 8.0.12 for my windows 10 pro x64bit (version 1803) I have faced same issue but after few try i find Microsoft Visual C++ Redistributable package x86 & x64 for 2008, 2010, 2012, 2013 & 2017 already installed but there is no 2015 version which is required by MySQL Workbench 8.0.12. But when i tried to install Microsoft Visual C++ Redistributable 2015 it says already installed. To solved it i just uninstalled 2017 and then install 2015 after that reinstall 2017 and then installed MySQL Workbench and everything worked just fine.
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
Open Programs and Features.
a. Start > Control Panel > Programs > Programs and Features.
b. Search > Programs and Features.
Select Microsoft C++ Redistributable, right-click and click on Change.
On Microsoft C++ Redistributable Setup, click on Repair.
Click on Close once setup is successful.
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.
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.
You just need to update the 2017 C++ Redistributable, because that is causing the issue.
As the Mysql need 2015 C++ Redistributable, but the 2017 one has deleted the registry of 2015.
Just update it.
Go to Control Panel -> Programs -> Programs and Features.
Select Microsoft C++ Redistributable, click on Change.
Then click on Repair.
Close once setup is successful.
After that you need to restart the computer.
(Remember to update both the x86 and x64 if you have two.)
I got installed without restarting.
Download: The latest supported Visual C++ downloads
download link: https://support.microsoft.com/en-us/topic/the-latest-supported-visual-c-downloads-2647da03-1eea-4433-9aff-95f26a218cc0
I used the MySQLInstaller to install the required C++ Package and MySQL Workbench.
Download https://dev.mysql.com/downloads/windows/installer/8.0.html
In the Installer: Select Products -> Select Applications -> Select MySQL Workbench
Add to list, click next
Execute installation missing package
Install MySQL Workbench
Done

Issue trying to create a Ado.Net Entity Model Visual Studio 2013

I recently installed Visual Studio 2013 Professional, after install VS I installed MySql for VisualStudio version 1.2.6 that it is the latest release. The problem is when I tried to create a ADO .Net Entity Model I created the connection perfectly fine but when I press Next the window close it self and Visual Studio doesn't create the model.
Things that I checked:
I already have installed in my project the Entity Framework 6, MySQL.Data V6.9.8, MySQL.Data.Entity.EF6 v6.9.8 and MySql.Web v6.9.8.
In the Visual Studio Private Libraries there there is the three same libraries with the same version.
I checked other posts here and I really don't find the cause of my problem. I will be very grateful with any help.
Edit
I attached the process to another instance of Visual Studio and I got this:
'devenv.exe' (CLR v4.0.30319: ProjectExecutionContextDomain): Unloaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Numerics\v4.0_4.0.0.0__b77a5c561934e089\System.Numerics.dll'
'devenv.exe' (CLR v4.0.30319: ProjectExecutionContextDomain): Unloaded 'C:\Users\Jose\AppData\Local\assembly\dl3\3C4YP8TT.W35\4414OC0M.0ZV\4aeb0621\323bbd39_5088d101\SignaSafePro.dll'
'devenv.exe' (CLR v4.0.30319: ProjectExecutionContextDomain): Unloaded 'C:\Users\Jose\AppData\Local\assembly\dl3\3C4YP8TT.W35\4414OC0M.0ZV\77badc31\29b0d95d_4088d101\EntityFramework.SqlServer.dll'
'devenv.exe' (CLR v4.0.30319: ProjectExecutionContextDomain): Unloaded 'C:\Users\Jose\AppData\Local\assembly\dl3\3C4YP8TT.W35\4414OC0M.0ZV\27b7b188\7ad46db4_4f88d101\MySql.Data.Entity.EF6.dll'
A first chance exception of type 'System.ArgumentException' occurred in System.Data.dll
A first chance exception of type 'Microsoft.VisualStudio.TemplateWizard.WizardCancelledException' occurred in Microsoft.Data.Entity.Design.dll
The thread 0x908 has exited with code 259 (0x103).
I also uninstall and install all again, the libraries references are exactly the same, because I'm reference the libraries from the PrivateAssemblies folder.
Guys thank you very much, the problem was my mistake, I thought if I installed just MySQL for Visual Studio was enough but I didn't realized that the MySQL Connector is needed to:
MySQL Connector/Net Developer Guide
I hope it serve to guide for anyone other like me.
Requirements
Windows OS 7 or later.
Visual Studio 2010, 2012 or 2013 Professional or higher version.
Connector/Net 6.8.1 beta or higher version (MySQL Connector download link).
Additional download links (not required)
MySQL for Visual Studio (latest version)

How to install Microsoft.ACE.OLEDB.12.0 on Win7 64b with SQLExpress 2008

I was running VSExpress 2010 C# and SQLExpress 2008 on 32b XP. Due to a failure I am now on Win7 64bit. I have reinstalled VSExpress C# (64b). I installed SQLExpress (64b) however my application uses the Microsoft.ACE.OLEDB.12.0 driver to connect to a Office 2007 (32b) database. I could not get the Microsoft.ACE.OLEDB.12.0 to load on SQLExpress (64b).
What do I need to do to get Microsoft.ACE.OLEDB.12.0 working again in SQLExpress? Do I need to run the 32bit version? (I have downloaded it but am having problems getting it to install so I am asking while I uninstall all of my SQLExpress)
Thanks for the help. (I saw a lot of similar issues addressed but could not find a solution for my specific problem)
I think this post has the answer you're looking for -- download 64-bit version of ACE OLE DB driver. However, apparently it requires installing 64-bit version of Office as well.
Otherwise go and install WoW-enabled 32-bit version of SQL Server 2008 Express. Go to this download page and download SQLEXPR_x86_ENU.exe (note: the one without 32 in the file name). It should install on 64-bit system.
I had the same problem and couldn't install the 64 version because I have 32 bit office installed as well (so the 64 bit installed terminated). I changed the build of my program to x86 instead of AnyCPU and the 32 bit ACE worked as given in this Stack Overflow question
If you are trying to use the 32bit version you will probably need to install the 32 bit version of the Microsoft Office Database engine. However if you have 64bit office installed this will show a message saying that 64bit is already installed.
If you install the Microsoft Office Database engine using the "/PASSIVE" command line argument it will install without the prompt, and then you can use the 32 bit ACE.OleDB.12 driver.
Beware in some situations this can cause complications with Office 64bit.
I had to install the Access 2007 Runtime to fix this. Here: https://www.microsoft.com/en-us/download/details.aspx?id=4438