d95pari
Posts: 6
Joined: Fri Sep 09, 2011 9:21 am

MessageBox

Hello

I have, what it feels like, a very basic problem. I want to display a dialog box when the user clicks a button (e.g. custom validation). I have added the "Message Box" predefined custom action but how do I configure the message to the user? The documentation tells me to use the "Action Data" field but where is that located? Simply, how do I use the message box action?

Regards,
Patrick
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: MessageBox

Hi Patrick,

For UI Custom Actions there is no Action Data field. But you can set the CustomActionData property directly. For this you can use a SetProperty control event right before the DoAction event which executes your action.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
d95pari
Posts: 6
Joined: Fri Sep 09, 2011 9:21 am

Re: MessageBox

Thank you, that solved the problem.

Return to “Common Problems”