Solved

How to have MSI automatically overwrite previous Application installation?

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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

This article explains how to create and use a custom WaterMark textbox class.  The custom WaterMark textbox class allows you to set the WaterMark Background Color and WaterMark text at design time.   IMAGE OF WATERMARKS STEPS Create VB …
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

830 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