Replies: 1 comment 1 reply
-
While looking into some other issue, I found out an interesting piece of information: This behavior is influenced by Case 1:
In this case the Case 2:
In this case the @robmen @barnson Any chance either of you can shed some light on whether this is intentional or not? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I've recently updated a WiX based installer from v3 to v5. We are seeing the following behavioral difference for which I'm not sure if it is intended or a bug:
We install some
ExePackage
s in a burn bundle. They are prerequisites that need to stay installed after uninstall because they are shared components and may still be used by other, unrelated applications on the system. So we usePermanent="yes"
for them. We currently don't specify any cache-behavior, so they are using the defaultCache="keep"
. This has behaved as expected in WiX v3, caching the packages on install and removing them from the cache on uninstall. In WiX v5 however, they remain in the cache even after uninstall.It seems there ware some changes to caching behavior as written here and here. From the corresponding documentation it sounds like what I'm seeing might be intentional.
This seems weird to me however, because after the bundle is uninstalled, there is nothing referencing the packages anymore (unless of course you reinstall the same version again) and I don't understand for what reason they would need to be kept. So to me it feels like they are just wasting disk space at that point. I haven't tested yet, but I guess these would also accumulate in multiple versions if you upgrade through multiple versions of the bundle.
Note that using
Cache="remove"
is not helpful for our use case either. We still want to be able to have Repair repair accidentally uninstalled prerequisites, WithCache="remove"
it can't do that because it is missing the package at the time of repair.Can somebody clarify if this is intentional behavior or a bug? And if it is intentional: What is the use-case being supported by it?
Beta Was this translation helpful? Give feedback.
All reactions