Reputation: 342
How to detect Office install by Click To Run or MSI in C#
I'm developing VSTO add-in and get Office Information but I can't research a solution for detect Office install by Click to run or MSI
Upvotes: 0
Views: 317
Reputation: 49395
You need to verify whether the VirtualOutlook
key exists in the following location in the Windows registry:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\XX.0\Common\InstallRoot\Virtual\VirtualOutlook
or
HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Office\XX.0\Common\InstallRoot\Virtual\VirtualOutlook
where XX.0
stands for the Office version, i.e. 15.0 and etc.
See Determine whether Outlook is a Click-to-Run application on a computer for more information.
Upvotes: 1