James Hawkins : advpack: Don't fail if the dll to register doesn't exist.

Alexandre Julliard julliard at wine.codeweavers.com
Fri May 5 14:08:11 CDT 2006


Module: wine
Branch: refs/heads/master
Commit: 3e46363bfdcf6df3119f557ddc4bf454498dc7cf
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=3e46363bfdcf6df3119f557ddc4bf454498dc7cf

Author: James Hawkins <truiken at gmail.com>
Date:   Sun Apr 30 17:43:16 2006 -0500

advpack: Don't fail if the dll to register doesn't exist.

---

 dlls/advpack/install.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/dlls/advpack/install.c b/dlls/advpack/install.c
index c65a7e2..efbf185 100644
--- a/dlls/advpack/install.c
+++ b/dlls/advpack/install.c
@@ -156,10 +156,7 @@ static HRESULT register_ocxs_callback(HI
 
         hm = LoadLibraryExW(buffer, NULL, LOAD_WITH_ALTERED_SEARCH_PATH);
         if (!hm)
-        {
-            hr = E_FAIL;
             continue;
-        }
 
         if (do_ocx_reg(hm, TRUE))
             hr = E_FAIL;




More information about the wine-cvs mailing list