installer not rollback to previous version in case failure in custom action of type "defer execution"
I have product installed 18.104.22.168 already installed, I want to upgrade to 22.214.171.124
I have written following custom action
Custom action during installation -> After register product:
LaunchTrayApp - type: Deferred Execution - this launches our application after install
Custom action during installation:
cleanup scripts to remove files/registries/kill processes
while doing installation of 126.96.36.199 it is uninstalling 188.8.131.52 successfully and installing 184.108.40.206 but while launching application through LaunchTrayApp action, this action is failing which is causing rollback of 220.127.116.11 but not restoring 18.104.22.168, can you help to solve this?
attached are installation logs