How-to conditionally disable control on ExitDlg? - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

antidotcb
Posts: 34
Joined: Mon May 17, 2010 8:10 am

How-to conditionally disable control on ExitDlg?

Hello there

I need to disable control on ExitDlg conditionally.
Condition is existance of file, which created during install sequence. But this file isn't created everytime.
If I even setup any property after InstallFinalize, which controls enable/disable of required contro, that control on the dialog isn't updated when ExitDlg show up.
Is there any possibility to do such behaviour?
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: How-to conditionally disable control on ExitDlg?

Hello,

I am attaching a sample project using control events that does this. The checkbox on the ExitDlg will control whether the Finish button is enabled or not.
You can check our documentation on Control Events if you need further help.

Let me know if there is anything else I can assist you with.

Best regards,
Gabriel
Attachments
sample.aip
(10.07 KiB) Downloaded 378 times
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/

Return to “Common Problems”