- Msi Office 365
- Uninstall The Windows Installer (msi) Version Of Office
- How To Get Msi Version Of Office 2016
- Downloading Msi Version Of Office
- Msi-based Version Of Office 2013
- Msi Version Of Office Updates
Active20 days ago
Does anyone know what would be the best way to detect which version of Office is installed? Plus, if there are multiple versions of Office installed, I'd like to know what versions they are. A bonus would be if I can detect the specific version(s) of Excel that is(/are) installed.
![Msi version of office 365 Msi version of office 365](/uploads/1/2/5/0/125037377/516892456.jpg)
Microsoft usually offers its Office suite as a click-to-run installation. A web installer then pulls all components of Office and sets them up on a target system. Only works as long as Microsoft offers the download. However, there is also an Office Professional version for business environments, that can be installed via.msi files.
code4lifecode4life13.5k77 gold badges4444 silver badges7979 bronze badges
8 Answers
One way to check for the installed Office version would be to check the
InstallRoot
registry keys for the Office applications of interest.For example, if you would like to check whether Word 2007 is installed you should check for the presence of the following Registry key:
This entry contains the path to the executable.
Msi Office 365
Replace 12.0 (for Office 2007) with the corresponding version number:
The other applications have similar keys:
Or you can check the common root path of all applications:
Another option, without using specific Registry keys would be to query the MSI database using the
MSIEnumProducts
API as described here.As an aside, parallel installations of different Office versions are not officially supported by Microsoft. They do somewhat work, but you might get undesired effects and inconsistencies.
Update: Office 2019 and Office 365
As of Office 2019, MSI-based setup are no longer available, Click-To-Run is the only way to deploy Office now. Together with this change towards the regularly updated Office 365, also the major/minor version numbers of Office are no longer updated (at least for the time being). That means that – even for Office 2019 – the value used in Registry keys and the value returned by
Application.Version
(e.g. in Word) still is 16.0
.For the time being, there is no documented way to distinguish the Office 2016 from Office 2019. A clue might be the file version of the winword.exe; however, this version is also incremented for patched Office 2016 versions (see the comment by @antonio below).
144k4949 gold badges234234 silver badges291291 bronze badges
How about HKEY_CLASSES_ROOTWord.ApplicationCurVer?
BobL2112BobL2112
If you've installed 32-bit Office on a 64-bit machine, you may need to check for the presence of 'SOFTWAREWow6432NodeMicrosoftOffice12.0', substituting the 12.0 with the appropriate version. This is certainly the case for Office 2007 installed on 64-bit Windows 7.
Note that Office 2010 ( 14.0) is the first Office for which a 64-bit version exists.
JasonUninstall The Windows Installer (msi) Version Of Office
Jason6,24899 gold badges4949 silver badges6060 bronze badges
I found this CodeProject which helped me out with this very problem: http://www.codeproject.com/Articles/26520/Getting-Office-s-Version
How To Get Msi Version Of Office 2016
peinearydevelopmentpeinearydevelopment5,45544 gold badges2525 silver badges5353 bronze badges
zee![Msi Version Of Office Msi Version Of Office](/uploads/1/2/5/0/125037377/693156186.png)
24011 gold badge66 silver badges1313 bronze badges
Why not check
HKLMSOFTWAREMicrosoftWindowsCurrentVersionApp Paths[office.exe]
, where [office.exe]
stands for particular office product exe-filename, e.g. winword.exe
, excel.exe
etc.There you get path to executable and check version of that file. How to check version of the file: in C++ / in C#
Any criticism towards such approach?
Community♦
John BoscoJohn Bosco
A bonus would be if I can detect the specific version(s) of Excel that is(/are) installed.
Eps vectors. I know the question has been asked and answered a long time ago, but this same question has kept me busy until I made this observation:
To get the build number (e.g.
15.0.4569.1506
), probe HKLMSOFTWAREMicrosoftOffice[VER]CommonProductVersion::LastProduct
, where [VER]
is the major version number (12.0 for Office 2007, 14.0 for Office 2010, 15.0 for Office 2013).Downloading Msi Version Of Office
On a 64-bit Windows, you need to insert
Wow6432Node
between the SOFTWARE
and Microsoft
crumbs, irrespective of the bitness of the Office installation.On my machines, this gives the version information of the originally installed version. For Office 2010 for instance, the numbers match the ones listed here, and they differ from the version reported in
ChrisFile > Help
, which reflects patches applied by hotfixes.2,60411 gold badge1515 silver badges3232 bronze badges
Msi-based Version Of Office 2013
bovenderbovender
Rakeshravi GRakeshravi G