I have one bundle that includes PackageGroupRef for NetFx45Web, one ExePackage for needed driver and MsiPackage for my app. I want to launch my app after whole installation process completes. I tried using
<Property Id="WixShellExecTarget" Value="[#myEXE]" />
<CustomAction Id='LaunchFile'
BinaryKey="WixCA"
DllEntry="WixShellExec"
Impersonate="yes"/>
in my app MsiPackage but it starts the app before installation is complete(when MsiPackage completes).
Create a variable like this, in your
bundle.wxs
: