?
Solved

How to have MSI automatically overwrite previous Application installation?

Posted on 2010-09-21
2
Medium Priority
?
716 Views
Last Modified: 2012-05-10
In the properties of the msi project in VS 2005, I have already specified RemovePreviousVersions = True and I have deleted all dialogs so I accomplished the silent installation I was trying to achieve, except that if the installer detects a previous version of the application, it still insists the user remove it before it will launch.

What am I missing?

Thanks!
0
Comment
Question by:codefinger
[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 Comments
 
LVL 5

Accepted Solution

by:
almander earned 1400 total points
ID: 33728963
Are you changing the product code?

The following items need to be true.

UpgradeCode values must be the same
ProductCode values must be different
The old and new product must have ths same values for InstallAllUsers
The new products setup version (not file version) must be higher than the old version.

Also any changed files should have their versions changed also.

The core steps for deployment are:
Incriment all changed file versions.
Build Source Code .
Move to setup project and Change version, then productcode.
Build Deployment Project
Test Deployment.
0
 

Author Closing Comment

by:codefinger
ID: 33753606
This dialog is very different...there is no button to accept solution....weird....
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

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

Article by: Kraeven
Introduction Remote Share is a simple remote sharing tool, enabling you to see, add and remove remote or local shares. The application is written in VB.NET targeting the .NET framework 2.0. The source code and the compiled programs have been in…
A while ago, I was working on a Windows Forms application and I needed a special label control with reflection (glass) effect to show some titles in a stylish way. I've always enjoyed working with graphics, but it's never too clever to re-invent …
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
Suggested Courses

719 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