Skip to content

How would I find out if Office Word is installed on a machine using C#?

Chris Challis

Asked Oct 5, 2006, 9:28 AM EDT1 answer
Share
LinkedInX
I'm currently writing a sample app that installs smart tags to a directory, and I'd really like to know if Microsoft Word is installed, and what version/s are currently installed. Is there a way to do this programatically?

I've thumbed through intellisense and googled but I think my search terms aren't right or something. The closest I've got is the ApplicationID object which seems to refer to the program that I'm writing, not other ones on the machine.

Cheers, Chris

1 Answer

Know the answer? Post it. Somebody with the same question will find it here.

  • 0
    Try System.Diagnostics.Process.Start("Winword.exe"). If it gives exception, then Word is not installed. This is not a good way but will work.
    0