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

Ивайло Гугалов ivaylogugalov at gmail.com
Mon Mar 29 07:56:25 PDT 2021


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> написа:

> 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> 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/
> >
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant
> http://www.firegiant.com/



More information about the wix-users mailing list