I have been working on a project that is giving me lots of trouble. It contains multiple features and has been incredibly difficult to get the dialogs to appear in the right order (backwards and forwards).
The traditional way that AI has the "show dialog based on feature" is unwieldy to use if you have to make any changes after the first time you set it up. Since dialogs appear in a chain you end up with an infinite recursion of dialogs (even in the example you can download from AI) which makes it troublesome to make sure you have every condition met on every dialog to properly seed the next(or back) dialog.
I attempted to use the "Show only if..." option as well which creates a better display of the dialogs, but ran into issues of the sequence that AI (windows installer?) checks conditions when selecting a button. I end up in situations where when clicking back between dialogs I get stuck in an infinite loop between 2 dialogs... I can change the order of those conditions (though I have to edit the XML directly to do this as using "Show only if..." locks the placement of the sequence of checks on button click) but that just makes it start to fail at a different place in the same way.
I think a lot of this can be simplified if there was an option to add a condition to whether we "fall" into a specific dialog in sequence. Is this something that windows installer/AI has the capability of doing, or maybe im missing something in the approaches Ive taken?
PS : I have tried just throwing all the dialogs in sequence and as an init telling it to close if the condition is false, but that also does not work.