Solved

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

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

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

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

Article by: Najam
Having new technologies does not mean they will completely replace old components.  Recently I had to create WCF that will be called by VB6 component.  Here I will describe what steps one should follow while doing so, please feel free to post any qu…
Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

777 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