[wix-users] Error while uninstalling WiX Burn Bundle

james william jameswilliam.b at gmail.com
Sun Jul 16 19:35:57 PDT 2017


Thanks Edwin

On Jul 17, 2017 1:38 AM, "Edwin Castro" <egcastr at gmail.com> wrote:

> I don't know much about custom bootstrapper applications for burn so I
> can't comment on your event question or on the shutting down the dispatcher
> thread comment.
>
> When I run into ERROR_INSTALL_ALREADY_RUNNING the root cause has always
> been "user error". In my experience I see a system administrator start our
> installer when something else was still installing OR a system
> administrator starts our own installer multiple times in a loop(!) without
> waiting for the original installer to complete. I don't really know why
> they do either of those things but the install fails with
> ERROR_INSTALL_ALREADY_RUNNING because something else is already in
> progress.
>
> I'd recommend that you try to determine what is currently getting installed
> or uninstalled when you're getting ERROR_INSTALL_ALREADY_RUNNING before
> altering your custom bootstrapper application. If you think the problem is
> with your custom bootstrapper application, then you might benefit from
> studying the source for the bootstrapper applications the WiX ships.
>
> --
> Edwin G. Castro
>
>
> On Fri, Jul 14, 2017 at 10:43 PM, james william <jameswilliam.b at gmail.com>
> wrote:
>
> > Thanks Edwin,
> > Is there an event in bootstrapper that completes the installation,
> > I am now currently shutting down the dispatcher thread OnApplyComplete
> > method, is that the correct way to do.
> >
> > On Jul 14, 2017 9:44 PM, "Edwin Castro" <egcastr at gmail.com> wrote:
> >
> > > Error 0x80070652 corresponds to
> > >
> > > ERROR_INSTALL_ALREADY_RUNNING
> > > 1618 (0x652)
> > >
> > > Another installation is already in progress. Complete that installation
> > > before proceeding with this install.
> > >
> > > https://msdn.microsoft.com/en-us/library/windows/desktop/
> > > ms681385.aspx#ERROR_INSTALL_ALREADY_RUNNING
> > >
> > > --
> > > Edwin G. Castro
> > >
> > >
> > >
> > > On Thu, Jul 13, 2017 at 11:32 PM, james william <
> > jameswilliam.b at gmail.com>
> > > wrote:
> > >
> > > > Hi,
> > > >
> > > > I've created a Custom Bootstrapper application in which I've chained
> an
> > > > msi, the installation works fine and the msi gets installed but when
> i
> > > > uninstall i get the following error from the log.
> > > >
> > > > [22D4:25F4][2017-07-14T11:46:19]e000: Error 0x80070652: Failed to
> > > > uninstall
> > > > MSI package.
> > > > [22D4:25F4][2017-07-14T11:46:19]e000: Error 0x80070652: Failed to
> > > execute
> > > > MSI package.
> > > > [1958:2574][2017-07-14T11:46:19]e000: Error 0x80070652: Failed to
> > > > configure
> > > > per-machine MSI package.
> > > > [1958:2574][2017-07-14T11:46:19]i319: Applied execute package:
> > > > DummyPackage, result: 0x80070652, restart: None
> > > > [1958:2574][2017-07-14T11:46:19]e000: Error 0x80070652: Failed to
> > > execute
> > > > MSI package.
> > > > [22D4:25F4][2017-07-14T11:46:19]i318: Skipped rollback of package:
> > > > DummyPackage, action: Install, already: Present
> > > > [1958:2574][2017-07-14T11:46:19]i319: Applied rollback package:
> > > > DummyPackage, result: 0x0, restart: None
> > > >
> > > > The msi's install scope is set to "PerMachine" and the MSi package is
> > set
> > > > to "ForcePerMachine".
> > > >
> > > > Also the install and uninstall works fine without any error when the
> > msi
> > > is
> > > > installed as standalone, but the error occurs only when i chain the
> msi
> > > in
> > > > burn bundle.
> > > >
> > > > Thanks,
> > > > James William
> > > >
> > > > ____________________________________________________________________
> > > > WiX Toolset Users Mailing List provided by FireGiant
> > > > http://www.firegiant.com/
> > > >
> > >
> > > ____________________________________________________________________
> > > WiX Toolset Users Mailing List provided by FireGiant
> > > http://www.firegiant.com/
> > >
> >
> > ____________________________________________________________________
> > 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