如何检查机器上安装的MS Office版本 [英] how to check MS office version installed on the machines

查看:101
本文介绍了如何检查机器上安装的MS Office版本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用一个控制台应用程序,该应用程序在注册表上执行一些操作.我没有在办公室使用任何互操作程序集,但是我需要知道Office版本.如何确定使用C#在计算机上安装的MS Office版本.

I am working on a console app which perform some operation on registry. I am not using any interop assembly for office but i need to to know office version. How to determine which version of MS office is installed on the machine using C#.

推荐答案

搜索(使用

HKEY_CURRENT_USER \ Software \ Microsoft \ Windows \ CurrentVersion \ App路径

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\App Paths

HKEY_LOCAL_MACHINE \ Software \ Microsoft \ Windows \ CurrentVersion \ App路径

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\App Paths

版本号是

  • 7.0 -97
  • 8.0-98
  • 9.0 -2000
  • 10.0 -2002
  • 11.0 -2003
  • 12.0 -2007
  • 14.0 -2010

这是C#实现

这篇关于如何检查机器上安装的MS Office版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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