Search code examples
visual-studiodllredistributablemsvcr100.dll

How to check if I need to install VCRedist?


My program contains several dlls which depend on MSVCP100.dll and MSVCR100.dll, in Win7 my program runs without any problem, however in Win8 it failed to locate these two dlls. I notice that in Win8 there is no VCRedist installed by default, so apparently I need to install the VCRedist to enable my program.

The question is, how do I check if the VCRedist is installed?

Looks like we can do it by searching in registry [1] [2]. However, it seems there are many versions of VCRedist(VC2012,2010,2008,2005...), so I need to go through all these registry keys?


Solution

  • If you just run installer of VCRedist (which you should ship with your program, anyway), it will do the job for you. Games "try" to install DirectX the same way.