How to sequence Dialogs in 'Change' mode of Maintenance Dlg
I have created a few dialog screens for capturing custom information. I have sequenced the dialogs properly based on the Back and Next buttons of my custom dialogs. After the installation of the setup, when the user again launches the setup in Maintenance mode, the 'Change' button appears. In the Change mode, the UI sequence is not proper i.e. the wrong screen comes on clicking the Back or Next buttons. Also, some screens are not to be shown in the Change mode and the complete Dialog UI sequence needs to be set for change mode.
Please advise how can I sequence the DialogUI sequence in 'Change' option of Maintenance mode.
You can do it the same way you schedule the dialogs for new installation. For instance, take a look at the following snippet from WixUI_Mondo preset:
<Publish Dialog="MaintenanceWelcomeDlg" Control="Next" Event="NewDialog"
Value="MaintenanceTypeDlg">1</Publish>
<Publish Dialog="MaintenanceTypeDlg" Control="ChangeButton" Event="NewDialog"
Value="CustomizeDlg">1</Publish>
<Publish Dialog="MaintenanceTypeDlg" Control="RepairButton" Event="NewDialog"
Value="VerifyReadyDlg">1</Publish>
<Publish Dialog="MaintenanceTypeDlg" Control="RemoveButton" Event="NewDialog"
Value="VerifyReadyDlg">1</Publish>
<Publish Dialog="MaintenanceTypeDlg" Control="Back" Event="NewDialog"
Value="MaintenanceWelcomeDlg">1</Publish>
You can see how CustomizeDlg is set to go next after MaintenanceTypeDlg when you press Change button. Follow the pattern.
If I misunderstood your question, please elaborate further.
精彩评论