1

On creating Installers, I came across both patch and upgrade. Whats is the major difference between a patch and and upgrade? Is a patch similar to update?

2
  • I'm voting to close this question as off-topic because it's asking about definitions of words.
    – TylerH
    Jan 27, 2017 at 17:40
  • I think this question shouldn't have been closed. After all, it is an interesting question. How can I open this question?
    – Milan
    Aug 12, 2020 at 23:51

2 Answers 2

6

A patch is basically a diff between two MSI databases of the same product (e.g. v1.0.0 and v1.0.1) and can be installed only on target machines where its target MSI (i.e. v1.0.0) is installed. It can be used only for updating an installed product. It cannot be installed standalone.

A major upgrade is the installation of a new product version (e.g. v2.0.0) over an old version (e.g. v1.0.0). When performed, a major upgrade firstly removes completely the old version and, then install the new version of your product. An installation package built as a major upgrade can also be installed as a standalone installation.

Check the Patch Packages and Major Upgrades Windows Installer articles for more details.

1
  • 1
    Hello Herman, In Windows installer, how can I do "update certain dlls" only but not a completely new versions ? Something more advanced than a patch that can upgrade whichever target (for example a patch103 that will bring any version of v100, v101, v102 to v103 ) because I have 2-3 dlls and files that need to be upgraded; but more light-weight than a full upgrades/installer ?
    – Kenny
    Nov 18, 2015 at 15:31
4

All patches are update, but not all updates are patches.

A patch is a piece of software designed to update a computer program or its supporting data, to fix or improve it. This includes fixing security vulnerabilities and other bugs, and improving the usability or performance. Though meant to fix problems, poorly designed patches can sometimes introduce new problems (see software regressions). (source: wikipedia)

A new feature in the system is not a patch, but it is also an update.

Not the answer you're looking for? Browse other questions tagged or ask your own question.