Solved

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

Posted on 2004-09-23
1
287 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

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

Suggested Solutions

Title # Comments Views Activity
index Out OF Range Exception error 4 53
scanning dentists xray (the small ones) 3 41
Exit the loop 4 22
Web Form VB.Net  import CSV 4 16
This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

947 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

23 Experts available now in Live!

Get 1:1 Help Now