Major vs. Minor upgrade in windows installer

后端 未结 3 1783
南方客
南方客 2021-02-05 21:07

Is there any reason not to set up the install so that major upgrade is always done and productcode changed?

I find that supporting different kinds of installs needs more

相关标签:
3条回答
  • 2021-02-05 21:49

    I generally find that minor upgrades are only useful in a few cases:

    1: Uninstall Bug: There is a bug in the uninstall sequence of the installed MSI. Since a minor upgrade does not uninstall the product, but merely reinstalls it. This allows you to fix whatever was wrong in the uninstall sequence before it is called.

    2: Hotfix: There is a very small tweak required for a very large product. Say a bug fix for a single file or a few files. There will generally be a small bug requirement after a couple of weeks for all large products where you need to replace just a few files. Major upgrades can be terrible for this - uninstall and reinstall for just 4 out of 10000 files?

    3: Patching: You want to deploy a patch for your product. MSI does allow major upgrade patches, but these are even more complex to get working than minor upgrade patches (which are also difficult).

    The "Small Update" feature should never be used for any purpose in my opinion. Major or Minor upgrades only.

    0 讨论(0)
  • 2021-02-05 21:53

    Update type Change product version? Change product ID?

    Major upgrade Yes Yes

    Minor upgrade Yes No

    Small update No No

    0 讨论(0)
  • 2021-02-05 22:03

    No. If you application is small and you don't feel the pain of uninstall and install then Major Upgrades are the easiest thing to do.

    I'd only move to the more advanced update mechanisms if the Major Upgrade user experience was unacceptable.

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