Recursive Dialogs created - 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!

Edward
Posts: 2
Joined: Mon Mar 07, 2011 4:40 pm

Recursive Dialogs created

Hi

We are currently evaluating Advanced Installer and have come across this issue. I created a dialog where the user can select between install "Mode A" and install "Mode B".

Depending on the install mode, different dialog sequences are shown. This was accomplished by having multiple NewDialog Events on the Back and Next dialg buttons which fired on different conditions. This worked fine until I opened my project this morning and got this:

Image

Previously, the XrtDlg was a child of the "First Time Install" node, i.e. it was a sibling to all the other dialogs. I can remove the NewDialog actions to untie this recursion but then my XrtDlg is lost! How can I get it back?

Oddly enough, this also happens when I open the old revisions of the project file, but this "recursion" was not the case last week when I was working on the project. I don't get it.
Edward
Posts: 2
Joined: Mon Mar 07, 2011 4:40 pm

Re: Recursive Dialogs created

I was able to move the dialogs to the root by moving them to the repository and then adding them again from the repository.

However, after saving and reopening the project, I get the recursion again.

I have followed the tutorial at http://www.advancedinstaller.com/user-g ... ialog.html
difference is I do not have a single conditional dialog, but rather a chain of dialogs that is shown conditionally (and some common dialogs at the beginning and at the end).
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Recursive Dialogs created

Hello and welcome to the Advanced Installer Forums,

Can you please send us the .AIP (project) and the repository dialogs to support at advancedinstaller dot com so we can reproduce the issue and investigate ?

Best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Recursive Dialogs created

Hi Marcantonio,

This behavior can occur if you manually add published events to your dialogs in the dialog sequence. I have discussed this issue with the development team and we will improve the UI behavior on the 8.2 release.
Meanwhile, we have the "Condition by property..." feature that will get you past this. I have attached a sample project which you can use if you wish to design your setup with in depth dialog chains:
TestDialogs.zip
Test SubChain Dialogs Project
(3.2 KiB) Downloaded 208 times
If you decide to implement the functionality from the sample project, please let me know if you meet any difficulties understanding the settings.

Best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”