开发者

How to sequence Dialogs in 'Change' mode of Maintenance Dlg

开发者_如何学Go

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜