I have a major upgrade that I am trying to do, but it just doesn\'t work. It simply installs the new program along side the old one. They are in different directories (as I
There are some general rules for an upgrade to be working:
Old and new products must have identical
UpgradeCode
values and differentProductCode
values.Old and new products must have identical values for
InstallAllUsers
[i.e. a per-machine installation cannot upgrade a per-user installation and vice-versa.]New product's setup
Version
(the setup project, nothing to do with file versions) must be higher.All setup versions (again, not file versions) must be 1.0 or greater.
Further details how to correctly implement an upgrade using WiX can be found in this thread:
How to implement WiX installer upgrade?