Detect whether Office is 32bit or 64bit via the registry

前端 未结 28 1138
春和景丽
春和景丽 2020-11-29 21:29

Now that Office also comes in a 64bit install, where in the registry do you find out if the version of Office installed is 32bit or 64bit?

28条回答
  •  情话喂你
    2020-11-29 22:14

    I found this approach:

    If HKLM\Software\WOW6432Node exists then Windows is 64-bit.

    If HKLM\Software\WOW6432Node\Microsoft\Office exists, then Office is 32-bit.

    If HKLM\Software\WOW6432Node\Microsoft\Office does not exist, but HKLM\Software\Microsoft\Office does exist, then Office is 64-bit.

    If HKLM\Software\WOW6432Node does not exist, then Windows and Office are 32-bit.

    Source: Technet Forums

提交回复
热议问题