mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 15:20:05 +00:00
Add option to launch Supercell Wx after install is complete
This commit is contained in:
parent
f9cc055f8e
commit
b025b29161
2 changed files with 12 additions and 1 deletions
|
|
@ -44,6 +44,13 @@
|
|||
<UIRef Id="$(var.CPACK_WIX_UI_REF)" />
|
||||
<UIRef Id="WixUI_ErrorProgressText" />
|
||||
|
||||
<UI>
|
||||
<Publish Dialog="ExitDialog"
|
||||
Control="Finish"
|
||||
Event="DoAction"
|
||||
Value="LaunchApplication">WIXUI_EXITDIALOGOPTIONALCHECKBOX = 1 and NOT Installed</Publish>
|
||||
</UI>
|
||||
|
||||
<util:CloseApplication
|
||||
Id="CloseSupercellWx"
|
||||
Target="supercell-wx.exe"
|
||||
|
|
@ -51,6 +58,10 @@
|
|||
PromptToContinue="yes"
|
||||
Description="Supercell Wx should be closed before continuing the install."/>
|
||||
|
||||
<Property Id="WIXUI_EXITDIALOGOPTIONALCHECKBOXTEXT" Value="Launch Supercell Wx" />
|
||||
<Property Id="WixShellExecTarget" Value="[#CM_FP_bin.supercell_wx.exe]" />
|
||||
<CustomAction Id="LaunchApplication" BinaryKey="WixCA" DllEntry="WixShellExec" Impersonate="yes" />
|
||||
|
||||
<?include "properties.wxi"?>
|
||||
<?include "product_fragment.wxi"?>
|
||||
</Product>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue