aboutsummaryrefslogtreecommitdiff
path: root/src/engine/registration.cpp
diff options
context:
space:
mode:
authorSean Hall <r.sean.hall@gmail.com>2021-02-24 17:02:31 -0600
committerSean Hall <r.sean.hall@gmail.com>2021-03-02 15:47:43 -0600
commitb5c4d92528dd088d0065c634eb1a353c424a4441 (patch)
tree428d6caf8bd414f0735b5fbc28b1add950324d15 /src/engine/registration.cpp
parenta98115d996d65834e7c8d593c10d2cfa66096ccd (diff)
downloadwix-b5c4d92528dd088d0065c634eb1a353c424a4441.tar.gz
wix-b5c4d92528dd088d0065c634eb1a353c424a4441.tar.bz2
wix-b5c4d92528dd088d0065c634eb1a353c424a4441.zip
Always remove all dependencies the bundle could have registered.
#6297
Diffstat (limited to 'src/engine/registration.cpp')
-rw-r--r--src/engine/registration.cpp3
1 files changed, 2 insertions, 1 deletions
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:
869 *******************************************************************/ 869 *******************************************************************/
870extern "C" HRESULT RegistrationSessionEnd( 870extern "C" HRESULT RegistrationSessionEnd(
871 __in BURN_REGISTRATION* pRegistration, 871 __in BURN_REGISTRATION* pRegistration,
872 __in BURN_PACKAGES* pPackages,
872 __in BURN_RESUME_MODE resumeMode, 873 __in BURN_RESUME_MODE resumeMode,
873 __in BOOTSTRAPPER_APPLY_RESTART restart, 874 __in BOOTSTRAPPER_APPLY_RESTART restart,
874 __in BURN_DEPENDENCY_REGISTRATION_ACTION dependencyRegistrationAction 875 __in BURN_DEPENDENCY_REGISTRATION_ACTION dependencyRegistrationAction
@@ -912,7 +913,7 @@ extern "C" HRESULT RegistrationSessionEnd(
912 BURN_DEPENDENCY_REGISTRATION_ACTION_UNREGISTER == dependencyRegistrationAction) 913 BURN_DEPENDENCY_REGISTRATION_ACTION_UNREGISTER == dependencyRegistrationAction)
913 { 914 {
914 // Remove the bundle dependency key. 915 // Remove the bundle dependency key.
915 DependencyUnregisterBundle(pRegistration); 916 DependencyUnregisterBundle(pRegistration, pPackages);
916 } 917 }
917 918
918 // Delete update registration key. 919 // Delete update registration key.