Solved

VS .NET Setup and Deployment Project

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

Tutorials alone can't teach real engineering

So we built better training tools.

-Hands-on Labs
-Instructor Mentoring
-Scenario-Based Tests
-Dedicated Cloud Servers

All at your fingertips. What are you waiting for?

Question has a verified solution.

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

This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
The viewer will learn how to synchronize PHP projects with a remote server in NetBeans IDE 8.0 for Windows.
The viewer will learn how to use and create new code templates in NetBeans IDE 8.0 for Windows.

617 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