From b5c4d92528dd088d0065c634eb1a353c424a4441 Mon Sep 17 00:00:00 2001 From: Sean Hall Date: Wed, 24 Feb 2021 17:02:31 -0600 Subject: Always remove all dependencies the bundle could have registered. #6297 --- src/engine/registration.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/engine/registration.cpp') diff --git a/src/engine/registration.cpp b/src/engine/registration.cpp index 9c821422..dc4b88bf 100644 --- a/src/engine/registration.cpp +++ b/src/engine/registration.cpp @@ -869,6 +869,7 @@ LExit: *******************************************************************/ extern "C" HRESULT RegistrationSessionEnd( __in BURN_REGISTRATION* pRegistration, + __in BURN_PACKAGES* pPackages, __in BURN_RESUME_MODE resumeMode, __in BOOTSTRAPPER_APPLY_RESTART restart, __in BURN_DEPENDENCY_REGISTRATION_ACTION dependencyRegistrationAction @@ -912,7 +913,7 @@ extern "C" HRESULT RegistrationSessionEnd( BURN_DEPENDENCY_REGISTRATION_ACTION_UNREGISTER == dependencyRegistrationAction) { // Remove the bundle dependency key. - DependencyUnregisterBundle(pRegistration); + DependencyUnregisterBundle(pRegistration, pPackages); } // Delete update registration key. -- cgit v1.2.3-55-g6feb