Trung Messi
Trung Messi

Reputation: 342

How to detect Office install by Click To Run or MSI using C#

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

Answers (1)

Eugene Astafiev
Eugene Astafiev

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

Related Questions