Reputation: 2723
Is there a way to know if Visual C++ 2008 and 2010 SP1 Redistributable Package is installed in the machine using C#.
Many thanks, Chris
Upvotes: 2
Views: 2966
Reputation: 35
It seems like during the vcredist 2010 SP1 installation the key in Soreceri's post is no longer created (at least on my test PC running Windows 10 x64). I was able to find the key at:
[HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\VisualStudio\10.0\VC\VCRedist\x86]
The "Installed=1" REG_DWORD will be present if it is installed.
Hope this helps someone, I couldn't find it anywhere.
Upvotes: 0
Reputation: 8033
You can look in the registry. (registry keys to look at) http://blogs.msdn.com/b/astebner/archive/2010/05/05/10008146.aspx
Upvotes: 1