Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Major vs. Minor upgrade in windows installer

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 code, and "repair" install seems to work easier with major upgrade. Also the application that needs to be installed is not very big, thus there is no need for "service packs" or patch installers.

like image 200
John Smith Avatar asked Feb 08 '09 23:02

John Smith


People also ask

What is major upgrade?

A major upgrade is a comprehensive update of a product that needs a change of the ProductCode Property. A typical major upgrade removes a previous version of an application and installs a new version. A major upgrade can reorganize the feature component tree.

What is the major upgrade in a software product?

A software or firmware upgrade can be major or minor and the release version code-number increases accordingly. A major upgrade will change the version number, whereas a minor update will often append a ". 01", ". 02", ".

What do you call numbers used to represent major and minor upgrades Major upgrade minor upgrade?

With semantic numbering, developers communicate the degree of change associated with each software update by categorizing versions into major, minor, and bug or patch updates.


2 Answers

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.

like image 97
Rob Mensching Avatar answered Sep 23 '22 03:09

Rob Mensching


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.

like image 24
Stein Åsmul Avatar answered Sep 19 '22 03:09

Stein Åsmul