Solved

.NET Setup Program Not removing previous Versions before Installing

Posted on 2011-03-25
1
248 Views
Last Modified: 2012-05-11
Hello,

I am having some trouble with one of my Visual Studio.NET 2008 setup application programs. I need it to check for older versions and uninstall them before installing the new one.

I have several other applications that do this without any problems, but this one does not remove the previous version. The setup process 'appears' to run smoothly, but once it's complete my program is still running the old version.  

I have already modified the properties of my setup program to do:

DetectNewerInstalledVersion = True
InstallAllusers = True
RemovePreviousVersions = True

I increase the version number each time I rebuild the solution and click Yes to the "It is recommended that the ProductCode be changed if you change the version.  Do you want to do this?" dialog box.

The only way to properly install a new version of this app if by going to Add/Remove Programs and remove the existing version before attempting to install the new one.

Is there anything else I should be doing?  

Thanks for all your help.
0
Comment
Question by:TheUndecider
1 Comment
 
LVL 3

Accepted Solution

by:
Avinash Desai earned 500 total points
ID: 35221727
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Article by: Kraeven
Introduction Remote Share is a simple remote sharing tool, enabling you to see, add and remove remote or local shares. The application is written in VB.NET targeting the .NET framework 2.0. The source code and the compiled programs have been in…
1.0 - Introduction Converting Visual Basic 6.0 (VB6) to Visual Basic 2008+ (VB.NET). If ever there was a subject full of murkiness and bad decisions, it is this one!   The first problem seems to be that people considering this task of converting…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
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.

758 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

21 Experts available now in Live!

Get 1:1 Help Now