如何检测VC ++ 2008可再发行文件? [英] How to detect VC++ 2008 redistributable?

查看:112
本文介绍了如何检测VC ++ 2008可再发行文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有我可以查找的注册表设置,以确定是否安装了Visual C ++可再发行组件,无论是独立发行还是作为Visual Studio 2008的一部分?我知道我可以启动VC ++ 2008可再发行的安装程序并让其处理检测,但是如果我可以检查它,看起来会更干净,并且如果系统上已经存在可再发行的程序,则不必费心启动安装程序.

Is there a Registry setting that I can look for to determine whether or not the Visual C++ redistributable is installed, whether standalone or as part of Visual Studio 2008? I know that I could launch the VC++ 2008 redistributable installer and let it handle the detection, but it would look cleaner if I can check for it and not bother launching the installer if the redistributable is already on the system.

如果没有要搜索的设置,这没什么大不了的,因为这只是针对我们软件新版本的初步安装程序.我们正在使用的新的基于Windows Installer的安装程序将不需要它,它将取代旧技术的安装程序,并将使用合并模块.

It's no biggie if there is no setting to search for, as this is just for the preliminary installers that we have for the new version of our software. We won't need it for the new Windows Installer-based installers that we are working on that will replace the old tech ones and will use the merge modules.

推荐答案

检查注册表:

VC ++ 2008(sp1): HKLM \ SOFTWARE \ Microsoft \ Windows \ CurrentVersion \ Uninstall \ {3C3D696B-0DB7-3C6D-A356-3DB8CE541918}

VC++2008 (sp1): HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{3C3D696B-0DB7-3C6D-A356-3DB8CE541918}

VC ++ 2008(原始): HKLM \ SOFTWARE \ Microsoft \ Windows \ CurrentVersion \ Uninstall \ {FF66E9F6-83E7-3A3E-AF14-8DE9A809A6A4}

VC++2008 (original): HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{FF66E9F6-83E7-3A3E-AF14-8DE9A809A6A4}

这篇关于如何检测VC ++ 2008可再发行文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆