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?
相关问题
- Converting byte array output into Blob corrupts fi
- Are reads/writes of 64-bit values atomic on a 64-b
- Passing a namespace into a function
- How to name and reference an Excel range using off
- Using a 32bit COM object in a 64bit environment
相关文章
- Why windows 64 still makes use of user32.dll etc?
- Directly signing an Office Word document using XML
- Excel merge cell date and time
- What Component IDs should I search for to detect w
- Change jdk path in IntelliJ 13 when compiling from
- Set InstallPath registry key using Visual Studio S
- How to check 64/32-bit in Inno setup
- Clear Microsoft Office Add-Ins cache
I wrote this for Outlook at first. Modified it a little for Word, but it will not work on a standalone install because that key does not show the bitness, only Outlook does.
Also, I wrote it to only support current versions of Office, =>2010
I stripped all the setup and post processing...
I've previously blindly followed the answer based on the MSDN docs. Today, this turned out to be less than required. On a machine with Office Home and Student installed, which doesn't include Outlook,
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Office\14.0\Outlook
was present, butHKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\14.0\Outlook
was not. I've now changed my code to first look for the "plain" non-Wow6432Node version. If that's present, it'll be used. If not, it will continue by looking at the Wow6432Node version. This is being checked in an Inno Setup-based installer - I don't know which APIs Inno Setup uses. If your app doesn't access the registry in the same way, you might see different results.This Wikipedia article states:
So if the program is installed under
C:\Program Files
it is a 64-bit version. If it is installed underC:\Program Files (x86)
it is a 32-bit installation.If one wants to know only what bit number an installed version of Office 2010 is, then in any application of Office 2010, just click on File, then on Help. Information about version number will be listed, and next to that, in parentheses, will be either (32-bit) or (64-bit).
This InnoSetup code is working for me under Win 10x64 and Office 2016 x86 (using 'HKLM\SOFTWARE\Microsoft\Office\ClickToRun\Configuration' and key 'Platform')
Open Outlook 2013 > File > Office account > About Outlook > click large "? About Outlook" button > read popup description