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
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.

mistachkin added on 2011-11-17 00:55:01 UTC:
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?

Precompiled Binaries for 32-bit Windows (.NET Framework 4.0, Mixed-Mode Assembly)

Precompiled Binaries for 32-bit Windows (.NET Framework 4.0, Native/Managed Assemblies)

anonymous added on 2011-11-18 11:37:18 UTC:
I've managed to get the logfile from the redist installer. I've uploaded it here:

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.

mistachkin added on 2011-11-18 18:36:08 UTC:
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:

See also:

How to perform a silent install of the Visual C++ 2010 redistributable packages

Setup return codes