473,396 Members | 1,914 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

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

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
1 2234
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Reinhard Lehner | last post by:
Hi there! I spent the last week trying to fix this problem - I am always getting an error when trying to run an application (WinForms or PPC) out of Visual Studio IDE: 'Error while trying to...
0
by: Boris | last post by:
I am creating setup project for our application. Due to some reasons I need to add object file to the setup (don't ask why). So as soon as I add App.obj to Application Folder in my setup project...
2
by: Wendy Elizabeth | last post by:
I was just assigned a project at work to setup a CRM web system. However from what I have heard Visual Studio 2005 Team System is suppose to be a CRM system. Is it a metholodologythat Microsoft...
1
by: Matthew Louden | last post by:
When I open an existing ASP.NET application developed by another machine, it has the following error messages: I am sure .NET framework is installed and have the same version as another machine. ...
1
by: amit_swan | last post by:
hi everyone, i'm facing this problem with opening asp.net applications from visual.net i'm running it with windows xp with service pack 2,visual studio.net 2003 with iis server installed before...
4
by: jaredea | last post by:
I have the following setup: SBS 2003 Server Windows 2003 Enterprise Server (setup as an Application Server) Windows XP Pro Desktop Both the Application server and desktop have Visual Studio...
4
by: bbdobuddy | last post by:
Hi, How do I open a Microsoft Access 2003 form from Visual Basic.net Thanks in advance bbdobuddy
1
by: bharathreddy | last post by:
This Article gives an introduction to VSTS Team Foundation & fundamental difference between Visual Source Safe (VSS) and VSTS Team Foundation. Team Foundation is a set of tools and technologies...
1
by: =?Utf-8?B?Q2lhcmFuIE8nJ0Rvbm5lbGw=?= | last post by:
On reflection, you could possibly make the app a self extracting zip file which extracts the EXE and a settings file and then starts the app, then when you app closes, it can repack the settings...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.