Solved

VS Installers

Posted on 2004-10-12
2
226 Views
Last Modified: 2013-11-14
Hi.

I'm using VS Installer to deploy my c# applications.

My question is, is it possible to perform some functions first before the installation?
I would like to kill some processes first before continuing with the installation.

Is this possible?  How?

A sample project will do.

Thanks.
0
Comment
Question by:aztecs00
2 Comments
 
LVL 54

Accepted Solution

by:
Julian Hansen earned 500 total points
ID: 12285414
I don't think you can do this with VS Installer. However, VSI just creates an MSI file which is just a database that you can add to. You should be able to (either manually if you read through the extensive MSI docs ;) or through some tool like Orca or some other more advanced tool) modify the database to call a custom application prior to installation (if you need help on this shout and we can look at it further). Your custom app can then search for the candidate apps for termination and kill them.

0
 

Author Comment

by:aztecs00
ID: 12304641
hmmm bad news :(

will check on the Orca tool you mentioned... will try it first before shouting hehehe

anyways, another Q..
- If I install same application with diff version without uninstalling the previously installed version, I get two same applications in the Add/Remove Programs... any way I could fix/prevent this?

Thanks, I appreciate your help. :)
0

Featured Post

ScreenConnect 6.0 Free Trial

Want empowering updates? You're in the right place! Discover new features in ScreenConnect 6.0, based on partner feedback, to keep you business operating smoothly and optimally (the way it should be). Explore all of the extras and enhancements for yourself!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Displaying an arrayList in a listView using the default adapter is rarely the best solution. To get full control of your display data, and to be able to refresh it after editing, requires the use of a custom adapter.
This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question