Hello,
I am using Advanced Installer version 20.8 Enterprise Edition.
When I uninstall the application or if rollback is triggered during the installation, the installer doesn't completely delete the installation directory. Some folder exists in the installation directory even after the uninstallation or rollback is finished.
For uninstall:
If I use a custom action to delete the folder after uninstall is complete. When should be the execution time of the custom action and do I need to maintain a sequence for the custom action e.g. After the InstallFinalize stage, etc.
For Rollback:
Can the installer clean up the installation directory by using a custom action during rollback? If yes, when should be the execution time of the custom action, and do I need to maintain a sequence for the custom action e.g. After the InstallFinalize stage, etc.
Problematic Scenario for rollback:
- If the installation is canceled during the "Copying New Files" stage, then rollback custom actions don't get triggered. The installation directory doesn't get cleaned up
Suggest also if there are better ways to handle it for both uninstall and rollback.
Regards,
Asif