[wix-users] Trigger uninstall of bootstraper if chained msi is uninstalled

Christopher Painter chrpai at iswix.com
Mon Feb 4 05:10:25 PST 2019


The base app knows how to uninstall the plugin  why doens't it know how to do it correctly?  Shouldn't it  uninstall the bootstrapper instead of the MSI?





________________________________
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: Monday, February 4, 2019 6:05 AM
To: WiX Toolset Users Mailing List
Cc: Farrukh Waheed
Subject: [wix-users] Trigger uninstall of bootstraper if chained msi is uninstalled

Hi ,

I'm delivering a plugin (in a 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.

*Q:* Is there any event, which could trigger the uninstall of Bootstrapper
whenever the chained msi is triggered to uninstall?

I'm thinking to write a custom action in msi which may do the job, but I
would like to know if a better solution is there.

Thanks a bunch.
Farrukh

____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/



More information about the wix-users mailing list