[wix-users] Wix Bootstrapper Not Uninstalling Self Upgraded MSI

Arjen Mercado Arjen.Mercado at hamiltoncompany.com
Wed Apr 15 12:00:11 PDT 2020


Unfortunately the bootstrapper bundle also contains things that we would not want to distribute. For this reason, I would like to be able to update the MSI independently and still have it get uninstalled when the boostrapper is uninstalled.

From: Hoover, Jacob [mailto:Jacob.Hoover at greenheck.com]
Sent: Wednesday, April 15, 2020 11:30 AM
To: Arjen Mercado <Arjen.Mercado at hamiltoncompany.com>; WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Subject: RE: Wix Bootstrapper Not Uninstalling Self Upgraded MSI

Sounds like you need to change your packages to Compressed="no" so that the bundle shrinks in size.  The bundle should be tiny, with it downloading the needed artifacts on demand.  If you refactor the bundle to do that, and only one MSI changes, the engine is intelligent to only update the bits that need to be updated and will allow for the uninstall to work as you are asking for.

On a side note, I do have a functional fork of WixStdBA with <Update Location="http:/...." /> that works, out on github (though not fully polished). I opted to introduce a /checkupdate switch to the BA, and have the application probe for the bundle install and have it manage the updates.


From: Arjen Mercado [mailto:Arjen.Mercado at hamiltoncompany.com]
Sent: Wednesday, April 15, 2020 1:27 PM
To: Hoover, Jacob <Jacob.Hoover at greenheck.com<mailto:Jacob.Hoover at greenheck.com>>; WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org<mailto:wix-users at lists.wixtoolset.org>>
Subject: RE: Wix Bootstrapper Not Uninstalling Self Upgraded MSI

Hi,

I meant that the MSI is manually upgraded via its own installer instead of using the bundle. This is because the bundle is a very large file as it installs multiple MSI's along with prerequisites like .net core, sql, ect..


From: Hoover, Jacob [mailto:Jacob.Hoover at greenheck.com]
Sent: Wednesday, April 15, 2020 11:17 AM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org<mailto:wix-users at lists.wixtoolset.org>>
Cc: Arjen Mercado <Arjen.Mercado at hamiltoncompany.com<mailto:Arjen.Mercado at hamiltoncompany.com>>
Subject: RE: Wix Bootstrapper Not Uninstalling Self Upgraded MSI

How is the MSI self upgrading?  Why wouldn't you invoke a newer bundle to upgrade the MSI, thus avoiding the issue?

From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Arjen Mercado via wix-users
Sent: Wednesday, April 15, 2020 1:03 PM
To: wix-users at lists.wixtoolset.org<mailto:wix-users at lists.wixtoolset.org>
Cc: Arjen Mercado <Arjen.Mercado at hamiltoncompany.com<mailto:Arjen.Mercado at hamiltoncompany.com>>
Subject: [wix-users] Wix Bootstrapper Not Uninstalling Self Upgraded MSI

Hello,

I am using Wix bootstrapper (Wix Version 3.10) which installs an MSI package (Wix Version 3.9). The issue I'm having is when the MSI is upgraded on its own, then the bootstrapper is uninstalled - the upgraded MSI is left behind. I have read (from unofficial sources) that this the intended behavior. Can someone confirm this and is there a workaround? I would like to be able to update the MSI independently and still have it get uninstalled when the boostrapper is uninstalled.

Thanks!


____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/<http://www.firegiant.com>
NOTE: This email was received from an external source. Please use caution when opening links or attachments in the message.
NOTE: This email was received from an external source. Please use caution when opening links or attachments in the message.



More information about the wix-users mailing list