How to determine if the 32-bit Visual Studio 2013 redistributable is installed on a user's machine reliably via the Registry? How to determine if the 32-bit Visual Studio 2013 redistributable is installed on a user's machine reliably via the Registry? windows windows

How to determine if the 32-bit Visual Studio 2013 redistributable is installed on a user's machine reliably via the Registry?


I'm using these reg keys:HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\12.0\VC\Runtimes\x86 InstalledHKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\12.0\VC\Runtimes\x64 Installed

I've confirmed that they appear only after the redist is installed, and they more closely match the ones for previous versions. e.g. VC++ 2010 is:HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\10.0\VC\VCRedist\x86 InstalledHKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\10.0\VC\VCRedist\x64 Installed


The key you need is HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\DevDiv\vc\Servicing\12.0\RuntimeMinimum.


Just in case someone is looking at this, but is using NSIS to deploy their program.

You check:

ReadRegDword $0 HKLM "SOFTWARE\Wow6432Node\Microsoft\DevDiv\vc\Servicing\12.0\RuntimeMinimum" "Install"

If $0 equals 1, then it is installed. If not, it isn't.