diff options
author | Sean Hall <r.sean.hall@gmail.com> | 2022-01-31 15:44:20 -0600 |
---|---|---|
committer | Sean Hall <r.sean.hall@gmail.com> | 2022-02-01 23:36:23 -0600 |
commit | b152761dfddc0a131dcd13f70ae0e9b9e41b37fe (patch) | |
tree | 40086227e4808bdd99be972f123c57bb1ed23731 /src/ext | |
parent | 56c980318e7167be591f7807c2fc34cea7d5cb42 (diff) | |
download | wix-b152761dfddc0a131dcd13f70ae0e9b9e41b37fe.tar.gz wix-b152761dfddc0a131dcd13f70ae0e9b9e41b37fe.tar.bz2 wix-b152761dfddc0a131dcd13f70ae0e9b9e41b37fe.zip |
Remove orphan package providers when unregistering the bundle.
Fixes #3850
Diffstat (limited to 'src/ext')
-rw-r--r-- | src/ext/Dependency/ca/wixdepca.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ext/Dependency/ca/wixdepca.cpp b/src/ext/Dependency/ca/wixdepca.cpp index 88342217..e9278e04 100644 --- a/src/ext/Dependency/ca/wixdepca.cpp +++ b/src/ext/Dependency/ca/wixdepca.cpp | |||
@@ -338,6 +338,10 @@ static HRESULT EnsureAbsentDependents( | |||
338 | 338 | ||
339 | // Check the registry to see if the provider has any dependents registered. | 339 | // Check the registry to see if the provider has any dependents registered. |
340 | hr = DepCheckDependents(hkHive, sczProviderKey, iAttributes, sdIgnoredDependents, &rgDependents, &cDependents); | 340 | hr = DepCheckDependents(hkHive, sczProviderKey, iAttributes, sdIgnoredDependents, &rgDependents, &cDependents); |
341 | if (E_FILENOTFOUND == hr) | ||
342 | { | ||
343 | hr = S_OK; | ||
344 | } | ||
341 | ExitOnFailure(hr, "Failed dependents check for %ls.", sczId); | 345 | ExitOnFailure(hr, "Failed dependents check for %ls.", sczId); |
342 | } | 346 | } |
343 | 347 | ||