1. migrated to ExeCommand in LaunchApplication CustomAction

This commit is contained in:
vadym 2022-11-30 23:23:45 +02:00
parent 51557612b1
commit 9f676d54cd

View file

@ -306,13 +306,13 @@ cat > wix.xml << EOF
</UI> </UI>
<WixVariable Id="WixUILicenseRtf" Value="${PKGLICENSEFILE}" /> <WixVariable Id="WixUILicenseRtf" Value="${PKGLICENSEFILE}" />
<Property Id="WIXUI_EXITDIALOGOPTIONALCHECKBOXTEXT" Value="Launch RiV-mesh" /> <Property Id="WIXUI_EXITDIALOGOPTIONALCHECKBOXTEXT" Value="Launch RiV-mesh" />
<CustomAction Id="LaunchApplication" <CustomAction Id="LaunchApplication"
BinaryKey="WixCA" Impersonate="yes"
DllEntry="WixShellExec" FileKey="[#MeshUI]"
Impersonate="yes"/> ExeCommand="ui\index.html"
Return="asyncNoWait" />
<!-- Step 3: Include the custom action --> <!-- Step 3: Include the custom action -->
<Property Id="WixShellExecTarget" Value="[#MeshUI] ui\index.html" />
<Property Id="ASSISTANCE_START_VIA_REGISTRY">1</Property> <Property Id="ASSISTANCE_START_VIA_REGISTRY">1</Property>
<InstallExecuteSequence> <InstallExecuteSequence>
<Custom <Custom