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
To add to vtrz's answer, here's a function I wrote for Inno Setup:
@clatonh: this is the path of the registry on my PC: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\14.0\Registration{90140000-002A-0000-1000-0000000FF1CE} and it's definitely a 32-bit-installation on a 64-bit OS.
I have win 7 64 bit + Excel 2010 32 bit. The registry is HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\14.0\Registration{90140000-002A-0000-1000-0000000FF1CE}
So this can tell bitness of OS, not bitness of Office
You do not need to script it. Look at this page that I stumbled across:
https://social.msdn.microsoft.com/Forums/office/en-US/43499ae0-bcb5-4527-8edb-f5a955987b56/how-to-detect-whether-installed-ms-office-2010-is-32-or-64-bit?forum=worddev
To summarize:
The fourth field in the productcode indicates the bitness of the product.
{BRMMmmmm-PPPP-LLLL-p000-D000000FF1CE} p000
0 for x86, 1 for x64 0-1 (This also holds true for MSOffice 2013)
Best easy way: Put the ABOUT Icon on your Office 2016 Application. Example Excel
1) Open Excel -> File -> Options -> Customize Ribbon
2) You 'll see 2 panes. Choose Commands From & Customize The Ribbon
3) From Choose Command, Select All Commands
4) From the resulting List Highlight About (Excel)
5) From the Customize The Ribbon Pain, Highlight Any Item (ex. View) where you want to put the About icon
6) Click New group at the bottom
7) Click the add button located between the two pane. DONE
Now when you click the View Tab in excel and click about you'll see 32 bit or 64 bit
I found the way for checking office bitness .
We can check office 365 and 2016 bitness using this registry key:
Platform x86 for 32 bit.
Platform x64 for 64 bit.
Please check...