Removing CancelDlg - Advanced Installer Community
jasoncd
Posts: 49
Joined: Thu Jan 29, 2009 4:48 pm

Removing CancelDlg

Is it possible to bypass the cancel confirmation dialog? Microsoft's current guidelines recommend this and I tend to agree for our simple setup:

http://msdn.microsoft.com/en-us/library ... reamlining

"Don't confirm setup cancellation. If users click Cancel during setup, assume the cancellation was intentional and close the program without confirmation. If doing so risks losing significant time or effort, allow users to restart your setup program and pick up where they left off."
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Removing CancelDlg

Hello,

Indeed, this can be done in Advanced Installer. In order to achieve that you can add on the Cancel button from every dialog the Close the current dialog as a published event. Just make sure this is the only published event from the Cancel button and you also set the Exit Argument for this Close the current dialog custom action.

If you need any help, please let us know.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
jasoncd
Posts: 49
Joined: Thu Jan 29, 2009 4:48 pm

Re: Removing CancelDlg

Thanks, that worked great.
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Removing CancelDlg

You're welcome.

If you have other questions, please let us know.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”