We have a chained .msi installer that is run on every install and upgrade of our main application.
The main application is an exe installer.
When we manually update the main application using the exe installer, the registry keys added by the chained installer are first removed and then re-added (expected).
When we use the AI updater and an update is detected,the main application is installed, however the registry keys added by the chained installer are first removed but not re-added (bug?).
The registry keys are important as they instruct our main application where the msi package was installed.
We've already set the conditions of the registry keys to "(REMOVE="ALL" AND (NOT UPGRADINGPRODUCTCODE))" on the "operations" tab, and both checkboxes are ticked on the "Registry Key" tab (Create if absent / Delete if present).
How can we ensure that the registry keys are not removed on upgrade?