• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 330
  • Last Modified:

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

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
pgormley
Asked:
pgormley
1 Solution
 
tomasX2Commented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now