如何检查以编程方式安装了哪个版本的Visual Studio? [英] How can I check what version/edition of Visual Studio is installed programmatically?

查看:189
本文介绍了如何检查以编程方式安装了哪个版本的Visual Studio?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我可以读取注册表HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\10.0. 但是,它没有提供有关该版本的任何信息-专业版/最终版或其他内容.

I could read registry HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\10.0. However, it doesn't give me any information about the edition of it - Professional/Ultimate or whatever.

如何以编程方式(最好是python)获取信息?

How can I get the information with programmatically (preferably python)?

推荐答案

在Visual Studio中,帮助"->关于Microsoft Visual Studio"选项卡应该为您提供所需的信息.

In Visual Studio, the Tab 'Help'-> 'About Microsoft Visual Studio' should give you the desired infos.

这篇关于如何检查以编程方式安装了哪个版本的Visual Studio?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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