LaunchApplication CustomAction fix

This commit is contained in:
vadym 2022-12-19 19:21:27 +02:00
parent 7f25081657
commit 88c181d75c

View file

@ -155,7 +155,7 @@ cat > wix.xml << EOF
<Icon Id="icon.ico" SourceFile="riv.ico"/> <Icon Id="icon.ico" SourceFile="riv.ico"/>
<Property Id="ARPPRODUCTICON" Value="icon.ico" /> <Property Id="ARPPRODUCTICON" Value="icon.ico" />
<Property Id="Script" Value="%WINDIR%\\System32\\cscript.exe" /> <Property Id="Script" Value="[#cscript.exe]" />
<Directory Id="TARGETDIR" Name="SourceDir"> <Directory Id="TARGETDIR" Name="SourceDir">
<Directory Id="DesktopFolder" SourceName="Desktop"/> <Directory Id="DesktopFolder" SourceName="Desktop"/>
@ -260,10 +260,9 @@ cat > wix.xml << EOF
<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"
FileKey="[Script]" BinaryKey="WixCA"
Impersonate="yes" DllEntry="Script"
ExeCommand='"[MeshInstallFolder]mesh-ui-ie.js"' Impersonate="yes"/>
Return="asyncNoWait" />
<!-- Step 3: Include the custom action --> <!-- Step 3: Include the custom action -->
<Property Id="ASSISTANCE_START_VIA_REGISTRY">1</Property> <Property Id="ASSISTANCE_START_VIA_REGISTRY">1</Property>