VS Installers

Posted on 2004-10-12
Medium Priority
Last Modified: 2013-11-14

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.

Question by:aztecs00
LVL 62

Accepted Solution

Julian Hansen earned 1500 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.


Author Comment

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. :)

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

With User Account Control (UAC) enabled in Windows 7, one needs to open an elevated Command Prompt in order to run scripts under administrative privileges. Although the elevated Command Prompt accomplishes the task, the question How to run as script…
What do responsible coders do? They don't take detrimental shortcuts. They do take reasonable security precautions, create important automation, implement sufficient logging, fix things they break, and care about users.
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…
Simple Linear Regression

624 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