massivenanax.blogg.se

How to check outlook version
How to check outlook version









how to check outlook version

On a running instance using the `Process` class Var version = new Version(fileVersionInfo.FileVersion) Var fileVersionInfo = Files (x86)\Microsoft Office\root\Office16\WINWORD.EXE") to make sure that a certain feature is present or that a minimum version of Office is installed, probably the best way it to look at the file version of one of the main Office applications: // Using the file path to winword.exe If you need to distinguish somehow between Office versions, e.g. 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 below). in Word) still is 16.0.įor the time being, there is no documented way to distinguish the Office 2016 from Office 2019. That means that – even for Office 2019 – the value used in Registry keys and the value returned by Application.Version (e.g. 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). They do somewhat work, but you might get undesired effects and inconsistencies.Īs of Office 2019, MSI-based setup are no longer available, Click-To-Run is the only way to deploy Office now. Or you can check the common root path of all applications: HKLM\Software\Microsoft\Office\12.0\Common\InstallRoot::PathĪnother option, without using specific Registry keys would be to query the MSI database using the MSIEnumProducts API as described here.Īs an aside, parallel installations of different Office versions are not officially supported by Microsoft. HKLM\Software\Microsoft\Office\12.0\PowerPoint\InstallRoot::Path The other applications have similar keys: HKLM\Software\Microsoft\Office\12.0\Excel\InstallRoot::Path

how to check outlook version

Replace 12.0 (for Office 2007) with the corresponding version number: This entry contains the path to the executable.

how to check outlook version

One way to check for the installed Office version would be to check the InstallRoot registry keys for the Office applications of interest.įor example, if you would like to check whether Word 2007 is installed you should check for the presence of the following Registry key: HKLM\Software\Microsoft\Office\12.0\Word\InstallRoot::Path











How to check outlook version