Fix upgrading from previous version

As the language and platform-dependent component GUIDs changed and we
wish to retain the original destination folders and filenames the
RemoveExistingProducts custom action is now invoked differently
according to the version of the product we are upgrading.

When we are upgrading an old package with legacy component GUIDs, we're
uninstalling it before installing the new one.

When we will be upgrading a modern package with platform/language
dependent component GUIDs, we will remove the leftover components after
installing the new one.

This should deliver compatible upgrades of existing versions while
providing optimal upgrading in the future.

Signed-off-by: Simon Rozman <simon@rozman.si>
This commit is contained in:
Simon Rozman 2020-02-15 18:51:11 +01:00
parent ebdbb84a29
commit 867ab0f149
4 changed files with 2 additions and 2 deletions

@ -1 +1 @@
Subproject commit 836708c45b6b428b452e526eb8c8ddbea2394ed6
Subproject commit a9d2493ce35314b2757550c36e13d59cc8bec555

@ -1 +1 @@
Subproject commit e975f5bc31e86a1ae847027a0159363aeebaf980
Subproject commit ad49c00a058ca601f9bc4a451bf78853c09f9b39

Binary file not shown.

Binary file not shown.