如何通过注册表可靠地确定 32 位 Visual Studio 2013 可再发行组件是否安装在用户计算机上? [英] How to determine if the 32-bit Visual Studio 2013 redistributable is installed on a user's machine reliably via the Registry?

查看:15
本文介绍了如何通过注册表可靠地确定 32 位 Visual Studio 2013 可再发行组件是否安装在用户计算机上?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用 DeployMaster 为使用 Qt 用 C++ 编写的 32 位 Windows 应用程序构建安装程序.

I am using DeployMaster to build an installer for a 32-bit Windows application written in C++ using Qt.

可执行文件取决于 Visual Studio 2013 可再发行组件 - 即 32 位 Visual Studio 2013 可再发行版 必须由最终用户安装,然后才能运行此应用程序.

The executable depends on the Visual Studio 2013 redistributable - i.e., the 32-bit Visual Studio 2013 redistributable must be installed by the end user, prior to running this application.

我用谷歌搜索,并查看了其他 StackOverflow 问题.特别是,此链接提供了要检查的确切注册表项,但对于 VS 2008.

I have googled, and looked at other StackOverflow questions. In particular, this link provides the exact Registry key to check, but for the case of VS 2008.

我需要 VS 2013,而不是 VS 2008.

I need VS 2013, not VS 2008.

但是,理想情况下,它将是一个可靠的注册表检查 - 而不是编程解决方案 - 因为我可以使用 DeployMaster 安装程序轻松检查注册表项.(如果系统确定没有安装可再发行组件,也很容易让 DeployMaster 安装程序启动安装程序.)

However, ideally it will be a reliable registry check - not a programmatic solution - because I can easily check a registry key with a DeployMaster installer. (If the system is determined to not have the redistributable installed, it's also easy to have the DeployMaster installer kick off the installer.)

有谁知道一种可靠的方法,最好使用注册表项,它可以确定最终用户的机器上是否安装了 32 位 VS 2013 可再发行组件?

Does anybody know a reliable method, preferably using a Registry key, that allows to make it possible to determine if the 32-bit VS 2013 redistributable is installed on an end-user's machine?

推荐答案

你需要的关键是HKEY_LOCAL_MACHINESOFTWAREWow6432NodeMicrosoftDevDivvcServicing12.0RuntimeMinimum.

这篇关于如何通过注册表可靠地确定 32 位 Visual Studio 2013 可再发行组件是否安装在用户计算机上?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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