How can I programmatically determine if the MS office is installed on the machine, and if installed, which components are installed, version and the like.
How can I determine if an office is professional or office?
You can look in the registry.
According to using it can be found in HKEY_LOCAL_MACHINE\Software\Microsoft\Office\VERSION\Common\InstallRoot.
HKEY_LOCAL_MACHINE\Software\Microsoft\Office\VERSION\Common\InstallRoot
The article also describes how to find specific product information, such as components, release type, etc.
This SO> question explains how to read a key from the registry using C # if you need help for this part.
In the registry:
HKLM\Software\Microsoft\\Common\InstallRoot
VERSION - Office,
Source: https://habr.com/ru/post/1734089/More articles:How to choose which version of the Visual C ++ libraries compiled? - c ++Is there a green light control panel for tfs? - tfsWhat is the best way to filter arraylist content? - arraylistСоглашения ASP.NET MVC - conventionsC # to VB - How to convert this anonymous lambda method / expression? - c #Suppressing form message when typing when text field is empty - javascriptПерегрузка Добавить оператор для трех расширенных записей - operator-overloadingWorking with many interface elements in Cocoa - objective-cReturn different objects with a single LINQtoSQL statement - c #WPF Height / Width - widthAll Articles