Hello,
Thank you for your sent sample. I've further tested this and replicated the error.
It seems the error is triggered by the fact that one of your custom action to be executed on patch uninstall (OTT_TR_Ini_Rollback) has the same execute sequence as the standard "InstallFinalize" action. The sequence is generated by Advanced Installer and this seems to be a limitation of our application currently. Thank you for bringing this to our attention. We will try to fix this in the future.
In the meantime you should proceed like this:
1. open the old version of your setup project and go to "Table Editor" page
2. select the "InstallExecuteSequence" table and locate the "InstallFinalize" action; set its "Sequence" field to an increased value:
3. open the new version of your setup project and go to "Table Editor" page
4. select the "InstallExecuteSequence" table and locate the "InstallFinalize" action; set its "Sequence" field to an increased value:
5. rebuild your setup projects and the patch project
Hope this helped.
All the best,
Daniel