deploymentinstallationoffice-2007

What a safe way to detect installed components of Microsoft Office?


I am looking for the safest way to detect what components of Microsoft Office, if any, are installed on a given workstation.

I've looked at the uninstall key, but it shows components that do not actually exist on the system. I believe this has to do with the way Office can install a component on first access. I'm not fond of looking for executables as the path can theoretically change.


Solution

  • I ended up testing for specific registry keys, taking into account the differences between 32 and 64-bit Windows installs. I'm paying attention to the following registry locations/values:

    With these locations I've been able to:

    1. Detect whether Office is installed.
    2. Detect the version of Office that is installed.
    3. Detect whether Outlook is installed.