claudenoel
Posts: 17
Joined: Mon Oct 22, 2018 1:25 pm

Execute custom action at the end, no matter how it ends

I need to execute a custom action no matter how the installation completes (success, failure, cancel). Where should I put the action?

I tried at the end of the Install Execution Stage, after InstallFinalize and also in the Finish Dialogs Stage but it is not executed when the user cancels the installation.
Sorin
Posts: 663
Joined: Mon May 08, 2017 1:03 pm

Re: Execute custom action at the end, no matter how it ends

Hello,

You could implement this scenario using a custom action without sequence configured to run when the user clicks on "Finish" button from Exit dialog (for normal installation), on "Finish" button from "FatalError" dialog (in case the installation fails) and on "Finish" button from "UserExit" dialog (in case the user cancels the installation).

Best regards,
Sorin
Sorin Stefan - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”