[wix-users] Bootstrapper does not wait for bundle to be installed

Hoover, Jacob Jacob.Hoover at greenheck.com
Mon Mar 29 08:41:52 PDT 2021


You need a few more lines of the log to see if it waited or not, and what it’s exit code was.

Is it possible your exe package it running a different exe and exiting early?

From: wix-users <wix-users-bounces at lists.wixtoolset.org> On Behalf Of ?????? ??????? via wix-users
Sent: Monday, March 29, 2021 9:56 AM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Cc: Ивайло Гугалов <ivaylogugalov at gmail.com>
Subject: Re: [wix-users] Bootstrapper does not wait for bundle to be installed

Hi Sean,

I just have a Bundle element with an ExePackage inside:

<ExePackage ....
InstallCommand="/S
/V"UPGRADEADD="[UpgradeUrl]" MSIINSTALLPERUSER="1"
/qn""
UninstallCommand="/I /X /quiet /uninstall"
Cache="no"
Permanent="no"
PerMachine="no"
DetectCondition="IsInstalled" />

Here is the log:

[2008:2284][2021-03-29T07:11:45]i301: Applying execute package: AppName,
action: Install, path: C:\Users\Ivaylo\AppData\Local\Package
Cache\C6E07249B0721D7FFCAEA34F379A6EA49A670993\AppName.exe, arguments:
'"C:\Users\Ivaylo\AppData\Local\Package
Cache\C6E07249B0721D7FFCAEA34F379A6EA49A670993\AppName.exe" /S
/V"UPGRADEADD="upgradeUrl" MSIINSTALLPERUSER="1" /qn"'

Uninstallation is also not waiting for the exe to finish removing itself
(the uninstallation of the exe package is even breaking for some reason)
and the UI of the exe package is showing:

[1B7C:23B8][2021-03-29T07:50:53]i301: Applying execute package: AppName,
action: Uninstall, path: C:\Users\Ivaylo\AppData\Local\Package
Cache\C6E07249B0721D7FFCAEA34F379A6EA49A670993\AppName.exe, arguments:
'"C:\Users\Ivaylo\AppData\Local\Package
Cache\C6E07249B0721D7FFCAEA34F379A6EA49A670993\AppName.exe" /I /X /quiet
/uninstall'

Regards,
Ivaylo

На пн, 29.03.2021 г. в 16:49 ч. Sean Hall via wix-users <
wix-users at lists.wixtoolset.org<mailto:wix-users at lists.wixtoolset.org>> написа:

> Your bundle is installing a bundle as an ExePackage? Can you share the full
> command line from the log (in %TEMP%)? The engine is always supposed to
> wait for the ExePackage to finish. There is no "/wait bundle.exe" command,
> that would be something you would try when launching the bundle yourself
> from a command prompt.
>
> On Mon, Mar 29, 2021 at 8:27 AM Ивайло Гугалов via wix-users <
> wix-users at lists.wixtoolset.org<mailto:wix-users at lists.wixtoolset.org>> wrote:
>
> > Hello,
> >
> > I have created a custom BA and I am doing a silent installation of an exe
> > package. Everything works fine, but my custom BA is not waiting for the
> exe
> > file to finish installation.
> > I have found the following command "/wait bundle.exe", but I am not sure
> > how and where to use it.
> > Can someone point me to the correct usage?
> >
> > Thanks,
> > Ivaylo
> >
> > ____________________________________________________________________
> > WiX Toolset Users Mailing List provided by FireGiant
> > http://www.firegiant.com/<http://www.firegiant.com>
> >
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant
> http://www.firegiant.com/<http://www.firegiant.com/>

____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/<http://www.firegiant.com/>
NOTE: This email was received from an external source. Please use caution when opening links or attachments in the message.


More information about the wix-users mailing list