[wix-users] Uninstall of msi should trigger uninstall of bootstrapper

Edwin Castro egcastr at gmail.com
Fri Sep 14 23:06:58 PDT 2018


Sounds like an implicit requirement of the host software is that plugins be
directly uninstallable only by an msi. If you can't convince the host
software to change that behavior to allow bootstrappers/chainers and/or
non-msi installers, then you might be forced to use a bare msi for the
plugin.

Questions why does uninstalling the bundle when the msi has already been
uninstalled result in trying to install the msi again? I imagine, perhaps
incorrectly, that burn would decide to do nothing since you want to
uninstall and the package has already been uninstalled. Do you have a
launch condition that requires the host software be installed? If so, then
you can change that condition so that it doesn't fail when you are
uninstalling. You are still left with the bundle in Programs and Features
but at least you can clean up.

--
Edwin G. Castro

On Fri, Sep 14, 2018, 21:04 Farrukh Waheed via wix-users <
wix-users at lists.wixtoolset.org> wrote:

> Hi Christopher,
> Even if msi is not visible in Programs & Features, it can still be
> uninstalled via "msi /x {GUID}" command line method. This doesn't trigger
> the uninstall of bootstrapper in any case... Our host software uninstalls
> its plugins using msi command line.
>
> On Sat, 15 Sep 2018 at 02:49, Christopher Painter <chrpai at iswix.com>
> wrote:
>
> > Generally you use ARPSYSTEMCOMPONENT   ( set via MsiPackage @Visible=No
> > element/attribute in your bundle ) to hide the MSI from Programs and
> > Features and only expose the bootstrapper.  This way the bootstrapper can
> > handle the package dependency relationships per your implemented
> > requirements.
> >
> >
> > ------------------------------
> > *From:* wix-users <wix-users-bounces at lists.wixtoolset.org> on behalf of
> > Farrukh Waheed via wix-users <wix-users at lists.wixtoolset.org>
> > *Sent:* Friday, September 14, 2018 10:15 AM
> > *To:* WiX Toolset Users Mailing List
> > *Cc:* Farrukh Waheed
> > *Subject:* [wix-users] Uninstall of msi should trigger uninstall of
> > bootstrapper
> >
> > Hi,
> > I'm delivering a plugin (In chained msi in our custom bootrapper) for a
> > software. When the user uninstalls that software, it automatically
> triggers
> > the uninstall of its plugins (internally via Windows Installer Service
> i.e.
> > msi). But that leaves our Bootstrapper there in Control Panel. Now if
> > someone tries to uninstall it, bootstrapper would be asking to Install
> > itself (again) which would be failed as the parent software which will
> host
> > the plugin is not there.
> > Is there any event, which could trigger the uninstall of Bootstrapper
> > whenever the chained msi is triggered to uninstall?
> >
> > Thanks a bunch.
> > Farrukh
> >
> > ____________________________________________________________________
> > WiX Toolset Users Mailing List provided by FireGiant
> > http://www.firegiant.com/
> > WiX Support | WiX Experts and Resources from FireGiant
> > <http://www.firegiant.com/>
> > www.firegiant.com
> > WiX Support | Installation, Development, Deployment | WiX Experts and
> > Resources from FireGiant
> >
> >
> >
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant
> http://www.firegiant.com/
>



More information about the wix-users mailing list