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

x
?
Solved

VS .NET Setup and Deployment Project

Posted on 2011-02-25
4
Medium Priority
?
329 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 2000 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

Technology Partners: 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

Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
The viewer will learn how to use and create keystrokes in Netbeans IDE 8.0 for Windows.
Suggested Courses

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