Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

VS .NET Setup and Deployment Project

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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
The viewer will learn how to use and create keystrokes in Netbeans IDE 8.0 for Windows.
The viewer will learn how to synchronize PHP projects with a remote server in NetBeans IDE 8.0 for Windows.

670 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