?
Solved

VS Installers

Posted on 2004-10-12
2
Medium Priority
?
235 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 58

Accepted Solution

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

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

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

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

If you don't know how to downgrade, my instructions below should be helpful.
If you are a mobile app developer and especially develop hybrid mobile apps then these 4 mistakes you must avoid for hybrid app development to be the more genuine app developer.
Progress
Introduction to Processes

719 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