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

查看:21
本文介绍了如何检测 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):HKLMSOFTWAREMicrosoftWindowsCurrentVersionUninstall{3C3D696B-0DB7-3C6D-A356-3DB8CE541918}

VC++2008 (sp1): HKLMSOFTWAREMicrosoftWindowsCurrentVersionUninstall{3C3D696B-0DB7-3C6D-A356-3DB8CE541918}

VC++2008(原文):HKLMSOFTWAREMicrosoftWindowsCurrentVersionUninstall{FF66E9F6-83E7-3A3E-AF14-8DE9A809A6A4}

VC++2008 (original): HKLMSOFTWAREMicrosoftWindowsCurrentVersionUninstall{FF66E9F6-83E7-3A3E-AF14-8DE9A809A6A4}

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

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