sbates
Posts: 8
Joined: Thu Mar 13, 2014 6:29 pm

Open Dialog From Child Dialog

Hi,

My scenario is that I open a child dialog from the main dialog. From here, there are two buttons that do the following - 1) Close the modal dialog and go back to the main dialog; 2) Close the modal dialog and open a new dialog in the main dialog. The problem is that for the second option it will only do one of the actions - it will either close the modal dialog or go the next dialog in the main dialog (depending on the order of commands) but never both.

Any help is appreciated!
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Open Dialog From Child Dialog

Hi,

I'm not sure why you encounter this behavior. Can you send us your AIP file to support at advancedinstaller dot com, so we can investigate it and try to find the problem?

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
sbates
Posts: 8
Joined: Thu Mar 13, 2014 6:29 pm

Re: Open Dialog From Child Dialog

I've created a sample project that duplicates what I'm seeing. Refer to the attached file.
Attachments
TestApplicationChildDialog.aip
(30.51 KiB) Downloaded 362 times
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Open Dialog From Child Dialog

Hi,

I tested your AIP file and, indeed, I reproduced the behavior. However, I'm afraid that this is a Windows Installer limitation. A child dialog cannot be closed and automatically get you to the next dialog at the same time.

A similar problem was also discussed on the Save Login info Dialog Values thread where you can also find a workaround by using the "Display message box" custom action.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”