[wix-users] Burn dependencies do not work after uninstall/upgrade
Rob Mensching
rob at firegiant.com
Tue Apr 26 09:00:45 PDT 2016
Adding more information about what you are seeing is not a bad thing.
That doesn't sound right. Could be a bug in Burn or something else going on needs more investigation. I wouldn't assume this is the desired behavior.
_____________________________________________________________
Short replies here. Complete answers over there: http://www.firegiant.com/
-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Reuss, Matthias
Sent: Tuesday, April 26, 2016 5:46 AM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Subject: Re: [wix-users] Burn dependencies do not work after uninstall/upgrade
Sorry that I have to follow up to myself...
I found out that the subkeys of HKCR\Installer\Dependencies are removed on uninstallation of the bundle (regardless whether it is a "real" uninstall or an uninstall during bundle upgrade) if the CustomBA sets the request state of the respective package to None (in PlanPackageBegin). In this case, the Burn log file contains lines such as
[0660:090C][2016-04-21T16:50:30]i329: Removed package dependency provider: {F34A6950-7E0E-4F92-8B0E-C552F4989DA4}, package: MyPackage
If the CustomBA does not touch the request state, the dependency registration remains intact.
My conclusion is that I must either fully rely on the registered dependencies (not touch the request states) - which is likely to be sufficient in most cases or - if I have to touch the request states because of some conditional uninstallation - I cannot use the registered dependencies at all.
Is that true?´
Best regards
Matthias Reuss
More information about the wix-users
mailing list