InstallAware for Windows Installer
 

Upgrade Installs

InstallAware has a facility to seamlessly upgrade your older product versions to newer ones. If you used the Default Project type, wizards, or most of the other templates to create your setup project, this behavior is already implemented for you. In general, the method used for old version detection and upgrades is as follows:

  • Both the old product to be upgraded and the new product which is the upgrade should have the same product code. However they should have different revision codes. Read more about these codes.
  • Provided the above condition is met, the NEEDSUPGRADE pre-defined script variable will be automatically set to TRUE if a previous version of the product is found, and FALSE if not.
  • Check this variable and use the (Un)Install MSI Setup command to automatically remove previous versions of your product, before allowing the main setup to begin.

 Notes