2

I am trying to detect if C++ Redistributable 2012 update 3 is installed on machine.... I am currently doing check for 2008 through registry search and using guid, but I do not know guid for 2012 update 3... Does anybody know how to detect it?

I also found this link but it`s not exactly for update 3 and I do not know right numbers which I should to check...

Thanks

4

1 回答 1

0

您可以为任何安装程序自己解决这个问题:使用尚未安装产品的电脑,启动procomon,添加一个过滤器,以便仅包含来自安装程序过程的信息(类似command line contains vcRedist应该足够的信息)并启动安装程序。完成后,检查它写入的注册表项。

对于 VS2102,有趣的东西会在这里:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\DevDiv\vc\Servicing\11.0

(顺便说一句,您链接到的问题也回答了)

除上述内容外进行编辑,您还可以检查

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products\5C4834679ACBC703A9CADF44632686A6

或者

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{764384C5-BCA9-307C-9AAC-FD443662686A}

(注意两者都是针对 x64 可再发行组件),这就是例如 Installshield 的先决条件执行检查的方式。

于 2013-08-23T09:01:48.143 回答