Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

.NET Setup Program Not removing previous Versions before Installing

Posted on 2011-03-25
1
Medium Priority
?
258 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 2000 total points
ID: 35221727
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…

963 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