What is the correct way to figure out the version of Office installed?

依然范特西╮ 提交于 2021-01-28 08:36:31

问题


For Office 2010 & later, what is the correct, supported, always right, best, best, best way to determine:

  1. What version of Office (Word) is installed?
  2. What its bitness is?

The registry entries

HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\WINWORD.EXE

and

HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\App Paths\Winword.exe

both have the path to the winword.exe file. Do I use that and read the EXE to get the version & bitness?

Also, what if those two registry entries differ?

Note: I am not asking best (opinion - not allowed here), I'm asking correct (what Microsoft has stated - fact - allowed).

来源:https://stackoverflow.com/questions/60039352/what-is-the-correct-way-to-figure-out-the-version-of-office-installed

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!