Solved

VS Installers

Posted on 2004-10-12
2
228 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 56

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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

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.
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…
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

713 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