Search notes:

Registry: HKEY_LOCAL_MACHINE\SOFTWARE[\Wow6432Node]\Microsoft\VisualStudio\14.0\VC\Runtimes[\Debug]{x86|x64|ARM}

HKEY_LOCAL_MACHINE\SOFTWARE[\Wow6432Node]\Microsoft\VisualStudio\14.0\VC\Runtimes[\Debug]{x86|x64|ARM} stores the version number of the installed Visual C++ Redistributable Files.

redist-version.ps1

redist-version.ps1 is a PowerShell script that searches the various locations in the registry where VC++ redistributable versions are stored.
set-strictMode -version 3

function print-redist-version {
   param ( $wow6432node, $arch, $debug )

   $t = '{0,-12} {1,-3} {2,-6}' -f $wow6432node, $arch, $debug

   $regKey = "hklm:/Software$wow6432node/Microsoft/VisualStudio/14.0/VC/Runtimes$debug/$arch"

   if (test-path $regKey) {
      $version = get-itemPropertyValue $regKey -name version
      "$t : $version"
   }
   else {
      "$t : no key"
   }
}


foreach ($debug in ('', '/debug')) {
   foreach ($arch in ('x86', 'x64', 'ARM')) {
      foreach ($wow6432node in ('/wow6432node', '/')) {
         print-redist-version $wow6432node $arch $debug
      }
   }
}
Github repository about-Windows-Registry, path: /HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/VisualStudio/14.0/VC/Runtimes/redist-version.ps1

See also

%VSINSTALLDIR%Common7\Redist\MSVC\x.y.z
Visual C++ Runtime files

Index