我想修改自定义对话框,所以我创建了一个。但我想在 mondo UI 中的欢迎对话框之后显示这个自定义对话框。
如果我这样做:
<Publish Dialog="WelcomeDlg" Control="Next" Event="NewDialog" Value="CustomizeDlg">1</Publish>
<Publish Dialog="CustomizeDlg" Control="Back" Event="NewDialog" Value="WelcomeDlg" Order="3">1</Publish>
<Publish Dialog="CustomizeDlg" Control="Next" Event="NewDialog" Value="CustomCustomizeDlg" Order="4">1</Publish>
<Publish Dialog="CustomCustomizeDlg" Control="Next" Event="NewDialog" Value="VerifyReadyDlg" Order="4">1</Publish>
<Publish Dialog="CustomCustomizeDlg" Control="Back" Event="NewDialog" Value="CustomizeDlg" Order="4">1</Publish>
<Publish Dialog="VerifyReadyDlg" Control="Back" Event="NewDialog" Value="CustomCustomizeDlg" Order="4">1</Publish>
那么一切正常......但如果我做这样的事情:
<Publish Dialog="WelcomeDlg" Control="Next" Event="NewDialog" Value="CustomCustomizeDlg">1</Publish>
<Publish Dialog="CustomCustomizeDlg" Control="Back" Event="NewDialog" Value="WelcomeDlg" Order="3">1</Publish>
<Publish Dialog="CustomCustomizeDlg" Control="Next" Event="NewDialog" Value="VerifyReadyDlg" Order="4">1</Publish>
<Publish Dialog="VerifyReadyDlg" Control="Back" Event="NewDialog" Value="CustomCustomizeDlg" Order="4">1</Publish>
然后没有显示任何自定义对话框,而是在欢迎后显示许可证对话框...
我根本没有明白...这种行为对我来说很奇怪...有什么想法吗?
编辑:
我只是发现在 msi DB 中,在 WelcomeDlg 上为 CustomCustomizeDlg 注册了控制事件,也为 LicenseDialog 注册了控制事件,并且都为 1 ......如果我删除 licenseDialog 的行它工作正常,所以现在我的问题是如何删除该行而不使用逆戟鲸...