[wix-users] Replacing old cached bundle.exe

Roni Fuchs ronif at microsoft.com
Thu Sep 17 13:09:40 PDT 2015


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

________________________________________
From: wix-users <wix-users-bounces at lists.wixtoolset.org> on behalf of Hoover, Jacob <Jacob.Hoover at greenheck.com>
Sent: Thursday, September 17, 2015 8:48 PM
To: WiX Toolset Users Mailing List
Subject: Re: [wix-users] Replacing old cached bundle.exe

Did you write a custom BA that is preventing it from uninstalling? Trying to manually swap out a bundle isn't going to work.  Messing with the package cache is also not advisable.  You might be able to create a patch bundle, that upgrades your existing bundle to one that would support uninstalls.

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

For what purpose you want to do that?

On 17 September 2015 at 20:56, Roni Fuchs <ronif at microsoft.com> wrote:

> PS:
>
> What do I need to change in the registry for the OS to ignore the old
> bundle (other fields/keys I need to change?)
>
> Thanks in advance
>
> Roni
>
> From: Roni Fuchs
> Sent: Thursday, September 17, 2015 14:57
> To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
> Subject: Replacing old cached bundle.exe
>
> Hi everyone,
> I've installed version 1 with an old installer (using burn) - that
> doesn't support upgrades (and silent uninstallation) I've created a
> new installer for version 2 that supports both.
>
> Now I want to (somehow?) upgrade a computer that installed v1 to v2
> without uninstalling v1.
> I thought about replacing the cached burn.exe at
> "C:\ProgramData\Package Cache\{GUID}\Burn.exe" but that causes weird
> behavior (entry is not updated accordingly at Programs and Features,
> can't uninstall later, etc.)
>
> Is there a way to do this?
> What can I do to switch the old cached installer?
> Do I need to make sure it has the old version number? (1?)
>
> Thanks in advance,
>
> Roni (Aron) Fuchs
>
>
> ____________________________________________________________________
> 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%7ce1cb029307c64236413808d2bf883a0c%7c72f988bf86f141af91ab2d7cd011db47%7c1&sdata=r5ME1zCvF03bCddiSpy7hGWzDQ6SbfrsbGKU0budrdI%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%7ce1cb029307c64236413808d2bf883a0c%7c72f988bf86f141af91ab2d7cd011db47%7c1&sdata=r5ME1zCvF03bCddiSpy7hGWzDQ6SbfrsbGKU0budrdI%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%7ce1cb029307c64236413808d2bf883a0c%7c72f988bf86f141af91ab2d7cd011db47%7c1&sdata=r5ME1zCvF03bCddiSpy7hGWzDQ6SbfrsbGKU0budrdI%3d


More information about the wix-users mailing list