diff options
| author | Sean Hall <r.sean.hall@gmail.com> | 2021-02-24 17:02:31 -0600 |
|---|---|---|
| committer | Sean Hall <r.sean.hall@gmail.com> | 2021-03-02 15:47:43 -0600 |
| commit | b5c4d92528dd088d0065c634eb1a353c424a4441 (patch) | |
| tree | 428d6caf8bd414f0735b5fbc28b1add950324d15 /src/engine/registration.cpp | |
| parent | a98115d996d65834e7c8d593c10d2cfa66096ccd (diff) | |
| download | wix-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.cpp | 3 |
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 | *******************************************************************/ |
| 870 | extern "C" HRESULT RegistrationSessionEnd( | 870 | extern "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. |
