Solved

VS .NET Setup and Deployment Project

Posted on 2011-02-25
4
318 Views
Last Modified: 2013-11-26
Hi, existing installation created with Visual Studio 2008 Setup and Deployment project requires the user to manually uninstall existing version of the product.
We do not need that dialog asking user to uninstall. We would like to either overwrite existing files or automate uninstall step.
Any ideas? Thanks.
0
Comment
Question by:quasar_ee
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 33

Expert Comment

by:Todd Gerbert
ID: 34982521
Just set the appropriate properties for your setup project, e.g. DetectNewerInstalledVersion and RemovePreviousVersions.

If you don't have access to the setup project any longer, I suppose you could extract the files from the current installer and re-package them in a new installer.
Untitled.png
0
 

Author Comment

by:quasar_ee
ID: 34983879
I have access to the setup project. All properties are set as described above.
However, I am getting another dialog box:
Unable to install because a newer version of this product is already installed.
Thank you for your help.
0
 
LVL 33

Accepted Solution

by:
Todd Gerbert earned 500 total points
ID: 34983966
You need to update the Version and ProductCode properties too when you change & rebuild the setup project.
0
 

Author Closing Comment

by:quasar_ee
ID: 34984900
thanks!
0

Featured Post

Independent Software Vendors: 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

Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
The viewer will learn how to use and create new code templates in NetBeans IDE 8.0 for Windows.

734 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