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!

Voxtron
Posts: 4
Joined: Wed Jun 25, 2014 8:08 am

Display a child dialog and pass a variable to parent

Hi there,

our goal is the following: a user enters a database name and the corresponding database credentials. After he clicks "next", we check if the database already existed. If not, we continue normally. If it did, we want to display a child dialogue stating that there is already a database with the same name, which will be dropped if the user chooses to continue. If he chooses "Yes", we want to continue same as before, (that is, closing the child dialogue and moving on to the next dialogue in sequence). If he chooses "No", we only want to close the child dialogue, so that the user can change the value for db name in the parent dialogue.

How would we do that? We don't seem to be able to get it working, we are not able to pass the information about which button has been pressed to the parent dialogue.

Best regards,

Philipp (Voxtron GmbH)
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Display a child dialog and pass a variable to parent

Hello Philipp and welcome to Advanced Installer forums,

I've attached a .zip archive that contains a sample .AIP(project file) which implements this scenario.

Please let me know if that helped.

Best regards,
Dan
Attachments
DisplayDialogSample.aip
(29.89 KiB) Downloaded 251 times
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”