Solved

VS .NET Setup and Deployment Project

Posted on 2011-02-25
4
313 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
  • 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

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

Update (December 2011): Since this article was published, the things have changed for good for Android native developers. The Sequoyah Project (http://www.eclipse.org/sequoyah/) automates most of the tasks discussed in this article. You can even fin…
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…
THe viewer will learn how to use NetBeans IDE 8.0 for Windows to perform CRUD operations on a MySql database.
The viewer will learn how to synchronize PHP projects with a remote server in NetBeans IDE 8.0 for Windows.

747 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

11 Experts available now in Live!

Get 1:1 Help Now