By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,153 Members | 1,405 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,153 IT Pros & Developers. It's quick & easy.

Checking if a Program is installed

P: n/a
I have the following Problem:
I am writing a C# Software that should access Microsoft Outlook and
Adobe Indesign through interop.
Now those two applications are not installed on every computer in the
company so, on those computers without those applications the features
using Outlook and Indesign should be disabled.
How can I check if the applications are installed before instanciating
application objects?
I tried to simply instanciate an Outlook Application Object on a
computer without Outlook but no Exception was thrown. It simply was an
indefinitely blocking method call.
Any suggestions?

Thanks Ferdinand

Apr 4 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Ferdinand Zaubzer napisaƂ(a):
I have the following Problem:
I am writing a C# Software that should access Microsoft Outlook and
Adobe Indesign through interop.
Now those two applications are not installed on every computer in the
company so, on those computers without those applications the features
using Outlook and Indesign should be disabled.
How can I check if the applications are installed before instanciating
application objects?
I tried to simply instanciate an Outlook Application Object on a
computer without Outlook but no Exception was thrown. It simply was an
indefinitely blocking method call.
Any suggestions?

Thanks Ferdinand

check if files/dirs/reg entries exists. in future always use windows
installer - build your setup projects in visual studio.

fpl.
Apr 6 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.