[wix-users] Uninstall of msi should trigger uninstall of bootstrapper
Christopher Painter
chrpai at iswix.com
Sat Sep 15 05:28:12 PDT 2018
A normal user wouldn't know how to get the ProductCode to do that. Even so you can put a type 19 error custom action in that prevents installation unless a specific secure custom public property has been passed to the installer ( by the bootstrapper ).
If your host software uninstalls the it's plugins then it should call the boostrapper that installed them and tell it to remove them. Single Actor essentially.
________________________________
From: Farrukh Waheed <farrukh1 at gmail.com>
Sent: Friday, September 14, 2018 10:55 PM
To: Christopher Painter
Cc: WiX Toolset Users Mailing List
Subject: Re: [wix-users] Uninstall of msi should trigger uninstall of bootstrapper
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<mailto: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<mailto:wix-users-bounces at lists.wixtoolset.org>> on behalf of Farrukh Waheed via wix-users <wix-users at lists.wixtoolset.org<mailto: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<http://www.firegiant.com>
WiX Support | Installation, Development, Deployment | WiX Experts and Resources from FireGiant
More information about the wix-users
mailing list