
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 Replace 12.0 (for Office 2007) with the corresponding version number:


This entry contains the path to the executable. 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
