I've encountered what seems to be a bug with the AI 21.0.1. Or I don't understand Upgrade Rules at all.
When I set custom Upgrade Rules we can defined what an old product and a newer product is.
For example: I had a version 11.0.5 and I want to update to 11.1.0.
I set up the rules like this:
11.0.5 is included in the old product range. I want to upgrade this version.
11.1.0 is not included in the newer product range. I don't want to upgrade if the version is higher than 11.1.0.
These rules will provide the following error if version 11.0.5 is already installed:
Please find the install.log attached.
Here is a snippet from the log:
Action start 16:57:34: FindRelatedProducts.
MSI (c) (68:E4) [16:57:34:664]: PROPERTY CHANGE: Adding AI_NEWERPRODUCTFOUND property. Its value is '{C7C42E3A-406B-43A5-B2E9-21F1A5520EE8}'.
MSI (c) (68:E4) [16:57:34:664]: PROPERTY CHANGE: Adding OLDPRODUCTS property. Its value is '{C7C42E3A-406B-43A5-B2E9-21F1A5520EE8}'.
MSI (c) (68:E4) [16:57:34:664]: PROPERTY CHANGE: Adding MIGRATE property. Its value is '{C7C42E3A-406B-43A5-B2E9-21F1A5520EE8}'.
Action ended 16:57:34: FindRelatedProducts. Return value 1.
MSI (c) (68:E4) [16:57:34:664]: Doing action: AI_DOWNGRADE
Action start 16:57:34: AI_DOWNGRADE.
Now the part why I think this is a bug. When I close my AI project and reopen it again, the versions in the Upgrade Rules are reset.
Same thing happens when I save and edit directly afterwards.
Please provide guidance on how to make Upgrades properly work.