How can I programatically find whether MS-office is installed on a machine, and if installed what components are installed,version and stuff like that.
How do I find whether it is office professional or office ultimate.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can look in the Registry.
According to the help, it can be found in
HKEY_LOCAL_MACHINE\Software\Microsoft\Office\VERSION\Common\InstallRoot.The article also describes how to find specific product information, like components, type of release, etc.
This SO question explains how to read a key from the registry using C#, if you need help for this part.