如何检查以编程方式安装了哪个版本的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.