System.Data.SQLite
View Ticket
Not logged in
Ticket UUID: f3c9e806388637eadfeb0307714f6b814790fb49
Title: Installer fails to install VC++ Runtime
Status: Closed Type: Code_Defect
Severity: Severe Priority: Low
Subsystem: Setup Resolution: External_Bug
Last Modified: 2011-11-18 18:37:02
Version Found In: 1.0.76
Description:
The installer of the .NET 4 version (both bundle and no bundle) fails to install the VC++ Runtime. An error message pops up with following text: "Failed to install Microsoft Visual C++ Runtime: vcredist_x86_2010_SP1.exe, Asien".

I've already installed Visual Studio SP1 (10.0.40219.1 SP1Rel). In the registry key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\10.0\VC\VCRedist\x86" I have version v10.0.40219.325. There's also a subkey, called "KB2565063", which means I have installed the patch from the MS11-025 update.

By the way, the 3.5 installer is working flawlessly.

<hr /><i>mistachkin added on 2011-11-17 00:55:01 UTC:</i><br />
I'm not sure why the MSVC runtime installer is failing; however, if you already have it installed, why not just download the pre-compiled binaries for the .NET Framework 4.0?

<a href="/sqlite-netFx40-binary-bundle-x64-2010-1.0.76.0.zip">Precompiled Binaries for 32-bit Windows (.NET Framework 4.0, Mixed-Mode Assembly)</a>

<a href="/sqlite-netFx40-binary-x64-2010-1.0.76.0.zip">Precompiled Binaries for 32-bit Windows (.NET Framework 4.0, Native/Managed Assemblies)</a>

<hr /><i>anonymous added on 2011-11-18 11:37:18 UTC:</i><br />
I've managed to get the logfile from the redist installer. I've uploaded it here: http://pastehtml.com/view/beettib6k.html

As you can see the installer checks if the value of the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\10.0\VC\VCRedist\x86\Bld key equals to 40219. This is the case on my system, which means, I've already have a newer version installed.

Maybe you should check the return code of the redist installer in the setup? The code is 5100 on my system.

<hr /><i>mistachkin added on 2011-11-18 18:36:08 UTC:</i><br />
Thanks for the additional information.

Unfortunately, checking the return code makes little difference.  The error code 5100 is generic and can mean multiple things, I cannot assume it means "success".

Apparently, Microsoft is already aware of this issue and no fix is forthcoming:

<a href="Windows SDK install failure">http://social.msdn.microsoft.com/Forums/en-MY/windowssdk/thread/6e6c8a17-1666-42fa-9b5b-dfc21845d2f9</a>

See also:

<a href="http://blogs.msdn.com/b/astebner/archive/2010/10/20/10078468.aspx">How to perform a silent install of the Visual C++ 2010 redistributable packages</a>

<a href="http://blogs.msdn.com/b/astebner/archive/2006/11/28/return-codes-for-net-framework-3-0-setup.aspx">Setup return codes</a>