From 8701b06765803d1af0672df7cff533662990a82e Mon Sep 17 00:00:00 2001 From: Sean Hall Date: Tue, 15 Dec 2020 20:02:53 -0600 Subject: WIXBUG:4539 - Fix overall Cache action planning with related bundles. --- src/engine/plan.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/engine/plan.cpp') diff --git a/src/engine/plan.cpp b/src/engine/plan.cpp index 990ef554..ccb7b3ce 100644 --- a/src/engine/plan.cpp +++ b/src/engine/plan.cpp @@ -1223,6 +1223,12 @@ extern "C" HRESULT PlanDefaultRelatedBundleRequestState( HRESULT hr = S_OK; int nCompareResult = 0; + // Never touch related bundles during Cache. + if (BOOTSTRAPPER_ACTION_CACHE == action) + { + ExitFunction1(*pRequestState = BOOTSTRAPPER_REQUEST_STATE_NONE); + } + switch (relatedBundleRelationType) { case BOOTSTRAPPER_RELATION_UPGRADE: -- cgit v1.2.3-55-g6feb