Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 720
  • Last Modified:

How to have MSI automatically overwrite previous Application installation?

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
codefinger
Asked:
codefinger
1 Solution
 
almanderCommented:
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
 
codefingerAuthor Commented:
This dialog is very different...there is no button to accept solution....weird....
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now