[wix-devs] 6297 - Burn needs to do better at unregistering

Sean Hall r.sean.hall at gmail.com
Tue Dec 29 15:57:34 PST 2020

I've started looking at implementing this. It looks like I need to modify
the proposal for how Burn decides whether to keep the ARP entry during a
normal operation:

1. Burn needs to track non-permanent packages installed or anything being
2. Due to non-Vital packages and rollback boundaries, Burn needs to keep
track of these during Apply instead of determining it ahead of time in Plan.

This brings me to a question I had a long time ago -
Burn currently always unregisters and uncaches the bundle during Uninstall
(if it succeeds), but I think the answer here is that it shouldn't actually
uninstall the bundle if there will still be non-permanent packages
installed or anything in the cache. That's going to break a lot of
assumptions in the code, though.

On Fri, Dec 11, 2020 at 6:07 PM Sean Hall <r.sean.hall at gmail.com> wrote:

> I created a WIP for the automatic uninstalling of the bundle discussion we
> were having in 4822 at
> https://wixtoolset.org/development/wips/6297-cleanup-bundle-after-quit/.
> I think the interesting parts here are:
> 1. Under what conditions does the engine try to automatically uninstall?
> 2. When during runtime does it cleanup the bundle?
> 3. Should the BA be involved at all during this automatic behavior?

More information about the wix-devs mailing list