I have one dialog: CcicSqlServerConnectionRuntimeDlg. AI generates CcicSqlServerConnectionRuntimeDlg_1 and toggles between them each time "Refresh the current dialog" action is executed.
The problem is that CcicSqlServerConnectionRuntimeDlg_1 does NOT have the same sequence of events as CcicSqlServerConnectionRuntimeDlg does. This results in my custom actions not being called correctly and the dialogs doing some really wacky stuff (technical term).
I have attached a screenshot of the MSI generated by Advanced Installer. The two blocks in red highlight what I mean.
The first block shows (CcicSqlServerConnectionRuntimeDlg, Next control):
- AI_DATA_SETTER_17 (Sequence 59)
- SqlEscapeCcicDatabase (Sequence 60)
- AI_DATA_SETTER_19 (Sequence 61)
- SqlEscapeCcicDbDatabaseIdentifier (Sequence 62)
- AI_DATA_SETTER_17 (Sequence 61)
- AI_DATA_SETTER_19 (Sequence 62)
- SqlEscapeCcicDatabase (Sequence 63)
- SqlEscapeCcicDbDatabaseIdentifier (Sequence 63)