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

detect if IE is open/running from visual studio setup project

P: n/a
Hi, I'm creating an MSI for a client app using a Visual Studio Setup
Project. I'm trying to detect if Internet Explorer is running on the
target computer before I start the installation. How do I go about
detecting this?

Thanks.

Sep 3 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Hello, mj****@hotmail.com!
You wrote on 3 Sep 2006 09:27:50 -0700:

mHi, I'm creating an MSI for a client app using a Visual Studio Setup
mProject. I'm trying to detect if Internet Explorer is running on the
mtarget computer before I start the installation. How do I go about
mdetecting this?

Add custom action, where you will detect if IE is running or not...
I'm afraid that in setup project you won't be able to do that directly.

To resolve this you can do the following.

After building setup project with VS you can patch (add custom action
manually) it using Orca tool
( http://astebner.sts.winisp.net/Tools/Orca.zip )

Example of managed custom action is here
( http://geekswithblogs.net/vagmi.mudu.../28/27473.aspx )
Example of unmanaged custom action
( http://codeproject.com/tips/msicustomaction.asp )

To detect if IE is running you should detect its process "iexplore.exe".
This can be done via Process.GetProcesses() method.
--
Regards, Vadym Stetsyak.
Blog: http://vadmyst.blogspot.com
Sep 3 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.