I am working on a console app which perform some operation on registry. I am not using any interop assembly for office but i need to to know office version. How to determine which version of MS office is installed on the machine using C#.
Search in (using the Registry class)
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\App Paths
or
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\App Paths
Version numbers are
Here is a c# implementation
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With