[wix-users] silent installation of burn bootstrapper returns immediately without waiting for installation to finish

Andreas Hirth a.hirth at luratech.com
Wed Jun 1 03:04:15 PDT 2016


For PowerShell use:

$proc = Start-Process $setupExe -Wait -PassThru
# evaluate $proc.ExitCode

Regards,
Andreas


Am 31.05.2016 um 17:35 schrieb Hoover, Jacob:
> Assuming your invoking the bundle from a batch file...
>
> start /wait bundle.exe -install -q -norestart
>
> should work.
>
> -----Original Message-----
> From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Ziller, Ralf
> Sent: Monday, May 30, 2016 3:40 AM
> To: wix-users at lists.wixtoolset.org
> Subject: [wix-users] silent installation of burn bootstrapper returns immediately without waiting for installation to finish
>
> Hello,
>
> I am building a simple burn bootstrapper with WixStandardBootstrapperApplication.HyperlinkLicense and doing a silent installation using the switches -install -q -norestart.
> When calling with this commandline the process immediately returns and does not wait for the installation to finish.
> Is there a way to make the call wait?
> Building with 3.8
>
>
> My Bundle looks like this:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"
>       xmlns:bal="http://schemas.microsoft.com/wix/BalExtension">
>    <Bundle Name="Installer"
>            Version="4.0.0.629"
>            Manufacturer="M"
>            UpgradeCode="<guid>"
>            DisableRemove="yes"
>            DisableModify="yes"
>            IconSourceFile="$(var.SolutionDir)SolutionFiles\app.ico">
>      <BootstrapperApplicationRef Id="WixStandardBootstrapperApplication.HyperlinkLicense">
>        <bal:WixStandardBootstrapperApplication
>              LicenseUrl="" />
>      </BootstrapperApplicationRef>
>
>      <Chain>
>        <MsiPackage SourceFile="$(var.TargetDir)setup.msi "
>                    Id="msiId"
>                    DisplayName="MSI"
>                    Compressed="yes"
>                    Vital="yes"
>                    Visible="yes"
>                    Permanent="no"
>                    ForcePerMachine="yes" />
>      </Chain>
>    </Bundle>
> </Wix>
>
>
>
>
> Disclaimer :
> Neither the footer, e-mail auto-signature, nor anything else in this e-mail is intended to constitute an electronic signature binding the parties hereto in the absence of an express written statement by the sender to the contrary.
> The information contained in this e-mail is intended only for the individual addressed, may contain confidential and/or privileged information, and may be legally protected from disclosure via separate written agreement or otherwise. If you have received this e-mail by mistake, please notify us immediately by return reply. Be sure to delete this message and all its attachments from your system. Please note that any unauthorized review, copying, disclosure or any other use of this information is strictly prohibited.
> WARNING: E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, received late or incomplete, or could contain viruses. The sender therefore does not accept any liability for any error or omission in the content of this message, either of which are caused as a result of e-mail transmission.
> Thank you.
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/





PDF Days Europe 2016 
14. und 15. Juni 2016 in Berlin



More information about the wix-users mailing list