Alexey
Alexey

Reputation: 33

Enumerate Microsoft Office products, installed by click-to-run

I need to get the full list of Office applications, installed on PC. For msi versions, I use MsiEnumProducts(), but it doesn't work with click-to-run versions. The numbering scheme https://support.microsoft.com/en-us/kb/2786054 could not be applied here, because there is no records in HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall / HKEY_LOCAL_MACHINE \Software\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall about Office products, installed by click-to-run. The only records, that points, that click-to-run Office products are installed, are:

But their product GUIDs could not be used to check separate products, like Word, Excel or PowerPoint, using MsiQueryFeatureState(guid, feature) - returns INSTALLSTATE_UNKNOWN.

Upvotes: 1

Views: 1250

Answers (2)

Leon Pedrosa
Leon Pedrosa

Reputation: 11

Another way (Office 2019) is you go:

HKEY_LOCAL_MACHINE >> SOFTWARE >> Microsoft >> Windows >> CurrentVersion >> Uninstall >> ProPlus2019Volume

Office2019-ProfessionalPlus

Upvotes: 1

Alexey
Alexey

Reputation: 33

Decided to look for this apps in SOFTWARE\Microsoft\Office\15.0\ClickToRunStore\Applications

Upvotes: 1

Related Questions