Solved

How to have MSI automatically overwrite previous Application installation?

Posted on 2010-09-21
2
709 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 350 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

MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

Question has a verified solution.

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

I think the Typed DataTable and Typed DataSet are very good options when working with data, but I don't like auto-generated code. First, I create an Abstract Class for my DataTables Common Code.  This class Inherits from DataTable. Also, it can …
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 …
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

710 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