[wix-users] ExePackage removed on upgrade

Hoover, Jacob Jacob.Hoover at greenheck.com
Fri Feb 11 09:04:00 PST 2022

The bundle authoring w/ conditions would also be helpful. I assume you aren't using a custom BA.

From: wix-users <wix-users-bounces at lists.wixtoolset.org> On Behalf Of Rob Mensching via wix-users
Sent: Friday, February 11, 2022 11:00 AM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Cc: Rob Mensching <rob at firegiant.com>
Subject: Re: [wix-users] ExePackage removed on upgrade

> However, State of the ExePackage is "Present" and "ba requested: Absent" (so it gets uninstalled)

That pretty much answers your question. The ExePackage was requested to be removed so it gets uninstalled. It'd (most likely) be a bug if the ExePackage wasn't being uninstalled.

Probably need more information about why you think the ExePackage should not be removed.

- - - - - - - - - - - - - - -
I provide short answers on wix-users. Full commercial support is offered by FireGiant at http://www.firegiant.com/services<http://www.firegiant.com/services>

-----Original Message-----
From: wix-users <wix-users-bounces at lists.wixtoolset.org<mailto:wix-users-bounces at lists.wixtoolset.org>> On Behalf Of Parkes, Kevin via wix-users
Sent: Friday, February 11, 2022 8:49 AM
To: 'wix-users at lists.wixtoolset.org' <wix-users at lists.wixtoolset.org<mailto:wix-users at lists.wixtoolset.org>>
Cc: Parkes, Kevin <kevin.parkes at wacom.com<mailto:kevin.parkes at wacom.com>>
Subject: [wix-users] ExePackage removed on upgrade

I have a bundle which includes an ExePackage plus a number of MsiPackages. On upgrade, the ExePackage is being removed.

The install log for new installer shows the cached old installer being called, with "-uninstall" towards the end of the process.
The log of the uninstall from the old installer shows State of MsiPackages as "Obsolete" and "uncache: Yes" (so they are just removed from the cache).
However, State of the ExePackage is "Present" and "ba requested: Absent" (so it gets uninstalled)

Any ideas why this is happening?
More importantly, any suggestions for how to fix it?

Kevin Parkes

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.

More information about the wix-users mailing list