Note that there are some explanatory texts on larger screens.

plurals
  1. POStart application after installation using WiX/Burn
    text
    copied!<p>I'm aware of similar questions in WiX MSI, but I'm having issues starting an application within a bootstrapper EXE file created with <a href="http://en.wikipedia.org/wiki/WiX#Burn" rel="noreferrer">Burn</a> after the installation. My full bundle is below.</p> <p>If it makes any difference to the scenario, the bootstrapper is started in passive mode, so the user shouldn't need to press anything.</p> <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt; &lt;Wix xmlns="http://schemas.microsoft.com/wix/2006/wi" xmlns:bal="http://schemas.microsoft.com/wix/BalExtension" xmlns:util="http://schemas.microsoft.com/wix/UtilExtension"&gt; &lt;Bundle Name="My Company AutoUpdater" Version="1.0.11" Manufacturer="My Company" UpgradeCode="--GUID--"&gt; &lt;BootstrapperApplicationRef Id="WixStandardBootstrapperApplication.HyperlinkLicense"&gt; &lt;bal:WixStandardBootstrapperApplication SuppressOptionsUI="yes" LicenseUrl="" LogoFile="logo.png" /&gt; &lt;/BootstrapperApplicationRef&gt; &lt;Chain&gt; &lt;MsiPackage SourceFile="..\App1\bin\Release\App1.msi" /&gt; &lt;MsiPackage SourceFile="..\App2\bin\Release\App2.msi" /&gt; &lt;/Chain&gt; &lt;/Bundle&gt; &lt;Fragment&gt; &lt;Property Id="WixShellExecTarget" Value="[#C:\Program Files (x86)\My Company\App1.exe]" /&gt; &lt;Binary Id="MyCA" SourceFile="[#C:\Program Files (x86)\My Company\App1.exe]"/&gt; &lt;CustomAction Id="LaunchApplication" BinaryKey="MyCA" ExeCommand="-switch" Execute="deferred" Return="check" HideTarget="no" Impersonate="no" /&gt; &lt;InstallExecuteSequence&gt; &lt;Custom Action="LaunchApplication" After="InstallFiles" /&gt; &lt;/InstallExecuteSequence&gt; &lt;/Fragment&gt; &lt;/Wix&gt; </code></pre>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload