如何在“Change”中对对话框进行排序维护数据模式

发布于 2024-10-03 04:04:41 字数 226 浏览 0 评论 0原文

我创建了一些对话框屏幕来捕获自定义信息。我已根据自定义对话框的“后退”和“下一步”按钮正确对对话框进行了排序。安装安装程序后,当用户在维护模式下再次启动安装程序时,会出现“更改”按钮。在更改模式下,UI 顺序不正确,即单击“后退”或“下一步”按钮时出现错误的屏幕。此外,某些屏幕不会在更改模式下显示,并且需要为更改模式设置完整的对话框 UI 序列。

请告知如何在维护模式的“更改”选项中对 DialogUI 序列进行排序。

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.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

轻拂→两袖风尘 2024-10-10 04:04:41

您可以按照为新安装安排对话框的相同方式进行操作。例如,看一下 WixUI_Mondo 预设中的以下代码片段:

  <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>

您可以看到当您按下“更改”按钮时,CustomizeDlg 如何设置为在 MaintenanceTypeDlg 之后继续。遵循模式。

如果我误解了你的问题,请进一步说明。

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文