简体   繁体   中英

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

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, ie 15.0 and etc.

See Determine whether Outlook is a Click-to-Run application on a computer for more information.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM