How to check if I need to install VCRedist?

My program contains several DLLs that depend on MSVCP100.dll and MSVCR100.dll, in Win7 my program starts without any problems, however in Win8 she could not find these two libraries. I noticed that WinCR does not have VCRedist installed by default, so apparently I need to install VCRedist to enable my program.

The question is, how to check if VCRedist is installed?

It looks like we can do this by doing a registry search [1] [2] . However, there seem to be many versions of VCRedist (VC2012,2010,2008,2005 ...), so I need to go through all these registry keys?

+5
source share
2 answers

VCRedist ( , ), . "" DirectX .

+2

DLL MSVCR100.dll, VCRedist VC 2010.

"MSVCR" "MSVCP" Visual Studio x10 - http://en.wikipedia.org/wiki/Microsoft_Visual_Studio#Version_history .

Visual Studio 2010 , ​​ , "" HKLM\SOFTWARE\Microsoft\VisualStudio\10.0\VC\VCRedist\x86 32- /DLL HKLM\SOFTWARE\Microsoft\VisualStudio\10.0\VC\VCRedist\x64 64- /DLL.

Visual Studio 2010 http://blogs.msdn.com/b/astebner/archive/2010/05/05/10008146.aspx , ​​ .

Visual Studio 2012 , VCRedist . Installed reg ( 32- ) Software\Microsoft\VisualStudio\11.0\VC\Runtimes\x86

+9

All Articles