I am trying to install the design-time components of System.Data.Sqlite -- I want to be able to connect to SQLite databases from within Visual Studio, execute queries, and retrieve data.
As per the instructions on the System.Data.Sqlite downloads page, I downloaded the setup bundle for 32-bit Windows, targeting .NET 4.6.
When I try to install, I get the following error:
Failed to install Microsoft Visual C++ Runtime: vcredist_x86_2015_VSU2.exe, Another version of this product is already installed. Installation of this version cannot continue. To configure or remove the existing version of this product, use Add/Remove Programs on the Control Panel
I am running Visual Studio 2015 Community Edition Update 3, with cumulative hotfixes, available here; on Windows 10 64-bit. I tried uninstalling the Microsoft Visual C++ 2015 Redistributable (x86) and rerunning the VS 2015 Community Edition hotfix installer to reinstall it, and then rerunning the SQLite installer, but the same error still occurred.
How can I resolve this?
You were oh-so-close to the solution. You've just got a couple steps backwards.
The issue is that the System.Data.Sqlite package includes VC++ Update 2, but you've already got the newer Update 3 installed. Rather than recognize there's already a newer version installed, all the setup program sees is that installing U2 failed and bails out. So, we need to let it do its thing and install the U2 package to get past that point:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With