我们定制了 WIX 安装程序 UI。
<Wix xmlns='http://schemas.microsoft.com/wix/2006/wi' xmlns:netfx="http://schemas.microsoft.com/wix/NetFxExtension">
......
<CustomAction Id="StartAppOnExit" FileKey="AdminAppExe" ExeCommand="" Execute="immediate" Impersonate="yes" Return="asyncNoWait" />
<Property Id="LAUNCHAPPONEXIT" Value="1"/>
<Control Id="LAUNCHAPPONEXIT" Type="CheckBox" X="10" Y="243" Width="170" Height="17" Property="StartAppOnExit" Hidden="yes" CheckBoxValue="1" Text=" Launch App?">
<Condition Action="show">NOT Installed</Condition>
</Control>
.....
</Wix>
但是默认情况下未启用“启动应用程序的复选框”?请让我知道我做错了什么!