我正在尝试创建一个对话框,以便在安装程序检查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?
由于