Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

What does upgrading do?


1 reply to this topic

phoenix3

phoenix3
  • Members
  • 2 posts

Posted 25 July 2001 - 18:27

When you create an update package, are older versions of the package removed?  or are the just appended to.

If they are appened to, are only newer files removed from the previously install directory?


Ian Blake

Ian Blake
  • Members
  • 483 posts

Posted 31 July 2001 - 15:35

It all depends how you author your upgrade.

My understanfing is

Minor updates
1. Add components and overwrite components that have a newer key file together with registry entries, companion files etc.

A major upgrade will
1 Add components and overwrite components that have a newer key file together with registry entries, companion files etc.
2. then Run the old (cached) msi file to remove any old components that are no longer required.

In both cases [1] the setup author will need to author the RemoveRegistry and RemoveFile tables to dispose of obsolete companion files and registry entries when a component is upgraded.

There is enormous scope to get this wrong. Add in a few badly thought out CAs and chaos rules:-)