diff options
Diffstat (limited to 'src/burn/engine/registration.cpp')
-rw-r--r-- | src/burn/engine/registration.cpp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/burn/engine/registration.cpp b/src/burn/engine/registration.cpp index 59947867..a1b1b607 100644 --- a/src/burn/engine/registration.cpp +++ b/src/burn/engine/registration.cpp | |||
@@ -900,12 +900,8 @@ extern "C" HRESULT RegistrationSessionEnd( | |||
900 | { | 900 | { |
901 | AssertSz(BOOTSTRAPPER_REGISTRATION_TYPE_NONE == registrationType, "Registration type must be NONE if resume mode is NONE"); | 901 | AssertSz(BOOTSTRAPPER_REGISTRATION_TYPE_NONE == registrationType, "Registration type must be NONE if resume mode is NONE"); |
902 | 902 | ||
903 | // If we own the bundle dependency then remove it. | 903 | // Remove the bundle dependencies. |
904 | if (!pRegistration->fDetectedForeignProviderKeyBundleId) | 904 | DependencyUnregisterBundle(pRegistration, pPackages); |
905 | { | ||
906 | // Remove the bundle dependency key. | ||
907 | DependencyUnregisterBundle(pRegistration, pPackages); | ||
908 | } | ||
909 | 905 | ||
910 | // Delete update registration key. | 906 | // Delete update registration key. |
911 | if (pRegistration->update.fRegisterUpdate) | 907 | if (pRegistration->update.fRegisterUpdate) |