2

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).

4

1 回答 1

4

创建一个像这样的变量,在你的bundle.wxs

<Variable Name="LaunchTarget" Value="[ProgramFilesFolder]\YourFolder\YourExe.exe"/>
于 2014-09-16T16:04:31.387 回答