[wix-users] Replacing old cached bundle.exe

Roni Fuchs ronif at microsoft.com
Sun Sep 20 04:18:47 PDT 2015


Hi Jacob,

I use a custom BA for installation, and when upgrading the bundle it calls it with -silent -uninstall flags, and since the cached old BA doesn't support these flags it just opens the UI of the old BA on Uninstall mode.

Anyway I'll try to create something.

Thanks for all the help!

-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Hoover, Jacob
Sent: Friday, September 18, 2015 00:36
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Subject: Re: [wix-users] Replacing old cached bundle.exe

I wonder why you couldn't just install a second bundle, using the same MSI (and prerequisites) as the first, but include your patch with it.  I think burn would be smart enough to not remove your old MSI, yet still remove your old bundle.  What part of the removal of your existing bundle doesn't support being silently removed?  Have you tried it?

I use WixSTDBA, and anytime I install a new bundle, the old one is removed without its UI ever showing.

-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Roni Fuchs
Sent: Thursday, September 17, 2015 3:43 PM
To: WiX Toolset Users Mailing List
Subject: Re: [wix-users] Replacing old cached bundle.exe

Hi Rob,

So creating a patch bundle that upgrades the existing bundle isn't possible? What's a patch bundle anyway?


The problem is that my bundle installs an msi with some prerequisites (and custom WPF UI), and now I want to do a minor update to the msi but burn only supports major upgrades. Is there a way around that?

Thanks,
Roni

________________________________________
From: wix-users <wix-users-bounces at lists.wixtoolset.org> on behalf of Rob Mensching <rob at firegiant.com>
Sent: Thursday, September 17, 2015 11:24 PM
To: WiX Toolset Users Mailing List
Subject: Re: [wix-users] Replacing old cached bundle.exe

Given the initial mistake, there isn't a good solution. Anything you do will be a very large undocumented hack.

I would recommend blocking and asking users to manually remove the old product.

The cure could easily end up being worse than the disease.

_____________________________________________________________
 Short replies here. Complete answers over there: https://na01.safelinks.protection.outlook.com/?url=http%3a%2f%2fwww.firegiant.com%2f&data=01%7c01%7cronif%40064d.mgd.microsoft.com%7cd324c6a1c60445316afd08d2bf9dfe44%7c72f988bf86f141af91ab2d7cd011db47%7c1&sdata=pq0W9hb%2fyGqgrIbPacvTrmP8Aj64J5Wav5iGZkdNPFs%3d


-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Roni Fuchs
Sent: Thursday, September 17, 2015 1:10 PM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Subject: Re: [wix-users] Replacing old cached bundle.exe

Hi Farrukh and Jacob,

I need to do this because I want to upgrade computers with my software that has the old installer cached (that doesn't support upgrade/silent uninstall) and I don't want them to uninstall the old version first.

I didn't write a custom action that prevents uninstalling, uninstalling is possible (in a non silent way), I just don't want to ask them to do that.

My new installer does support upgrading and silent installation, I just don't know how to "upgrade" the old cached installer.

Why is swapping the bundle not possible?
How can I create a patch bundle that upgrades the existing bundle? What's the way to do that?

Thanks in advance!!
Roni

____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant https://na01.safelinks.protection.outlook.com/?url=http%3a%2f%2fwww.firegiant.com%2f&data=01%7c01%7cronif%40064d.mgd.microsoft.com%7cd324c6a1c60445316afd08d2bf9dfe44%7c72f988bf86f141af91ab2d7cd011db47%7c1&sdata=pq0W9hb%2fyGqgrIbPacvTrmP8Aj64J5Wav5iGZkdNPFs%3d

____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant https://na01.safelinks.protection.outlook.com/?url=http%3a%2f%2fwww.firegiant.com%2f&data=01%7c01%7cronif%40064d.mgd.microsoft.com%7cd324c6a1c60445316afd08d2bf9dfe44%7c72f988bf86f141af91ab2d7cd011db47%7c1&sdata=pq0W9hb%2fyGqgrIbPacvTrmP8Aj64J5Wav5iGZkdNPFs%3d

____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant https://na01.safelinks.protection.outlook.com/?url=http%3a%2f%2fwww.firegiant.com%2f&data=01%7c01%7cronif%40064d.mgd.microsoft.com%7cdf670afca7f443861d6808d2bfa7ee96%7c72f988bf86f141af91ab2d7cd011db47%7c1&sdata=Q0zmCcb4tinwRVTjjkFroQaB5LzvlYL8wOOE9JIg9xo%3d

____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant https://na01.safelinks.protection.outlook.com/?url=http%3a%2f%2fwww.firegiant.com%2f&data=01%7c01%7cronif%40064d.mgd.microsoft.com%7cdf670afca7f443861d6808d2bfa7ee96%7c72f988bf86f141af91ab2d7cd011db47%7c1&sdata=Q0zmCcb4tinwRVTjjkFroQaB5LzvlYL8wOOE9JIg9xo%3d



More information about the wix-users mailing list