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!

AquaComm
Posts: 67
Joined: Wed May 06, 2020 3:25 am

Re-Enable NEXT button on return from Custom Action

On my custom "Validate Licence" Dialog page I have set the Next button to have two Control Conditions ...
validate.jpg
validate.jpg (31.58 KiB) Viewed 3151 times
The condition (MCLICENCEVALIDATED) is set to FALSE prior to the Dialog being displayed and the Next button is displayed as disabled accordingly.

The Validate Licence button also seen in the above image, when clicked executes a Custom Action that calls a function in a DLL which in turn sets the said condition to "TRUE".

Unfortunately, after the Validate Licence function has returned, the Next button is not enabled.

I have also created a Custom Action to refresh the current dialog after calling the Validate Licence function however the Next button remains disabled.

How do I enable the Next button?
AquaComm
Posts: 67
Joined: Wed May 06, 2020 3:25 am

Re: Re-Enable NEXT button on return from Custom Action

The problem was that the "Refresh the current dialog" Custom Action also had 'hidden' conditions applied to it. Removed those and it works fine.
Catalin
Posts: 7853
Joined: Wed Jun 13, 2018 7:49 am

Re: Re-Enable NEXT button on return from Custom Action

Hello,

Thank you for your followup on this!

Glad everything is working as expected now.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”