我正在尝试创建一个对话框以在安装程序检查 SQL 服务器是否存在时显示。我使用了以下代码:
<Control Id="Next" Type="PushButton" X="244" Y="243" Width="56" Height="17" Text="!(loc.WixUINext)">
<!--Show Waiting dialog-->
<Publish Property="SQLServerChecked" Value="0">1</Publish>
<Publish Event="SpawnWaitDialog" Value="WaitCheckSQLServerDlg">
SQLServerChecked = "1"
</Publish>
<!--Checks the SQL server exists-->
<Publish Event="DoAction" Value="CheckSQLServerExists">1</Publish>
<Publish Property="SQLServerChecked" Value="1">1</Publish>
</Control>
但是我的 WaitCheckSQLServerDlg 显示,永远不会消失,并且 Action CheckSQLServerExists 没有运行。我将如何更改我的代码,以便在 CheckSQLServerExists 操作运行时显示 WaitCheckSQLServerDlg?
谢谢