WiX3 major upgrade not working

前端 未结 1 1340
[愿得一人]
[愿得一人] 2021-01-18 22:14

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

相关标签:
1条回答
  • 2021-01-18 22:26

    There are some general rules for an upgrade to be working:

    1. Old and new products must have identical UpgradeCode values and different ProductCode values.

    2. 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.]

    3. New product's setup Version (the setup project, nothing to do with file versions) must be higher.

    4. 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?

    0 讨论(0)
提交回复
热议问题