Solved

How to have MSI automatically overwrite previous Application installation?

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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Suggested Solutions

1.0 - Introduction Converting Visual Basic 6.0 (VB6) to Visual Basic 2008+ (VB.NET). If ever there was a subject full of murkiness and bad decisions, it is this one!   The first problem seems to be that people considering this task of converting…
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.
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

708 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now