Solved

VS Installers

Posted on 2004-10-12
2
225 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 53

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
This article will show, step by step, how to integrate R code into a R Sweave document
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
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…

863 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

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now