Solved

Visual Studio Installer: How to automatically uninstall an old version of an application when running the installer

Posted on 2004-09-23
1
279 Views
Last Modified: 2008-03-10
I am developing a Windows Forms application in VS 2003 using C#. I am using a VS setup application to distribute my project. If a user has an old verion of my application on her machine, she has to remove the old version before installing the new version. Is there a simple way to automatically remove the old version of my application rather than requiring the user to do it herself?
0
Comment
Question by:pgormley
1 Comment
 
LVL 5

Accepted Solution

by:
tomasX2 earned 125 total points
ID: 12136469
Yes there is a property of the setup project...
click on the setup project then choose the properties tab... (don´t right click and choose properties)
there should be Remove Older Version property or something similar.
set it to true.
This will work if the Version number of the setup project is greater than the installed version... so you should change the version of the setup project.
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Suggested Solutions

Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

708 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

20 Experts available now in Live!

Get 1:1 Help Now