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

This commit is contained in:
James Hawkins 2006-04-30 17:43:16 -05:00 committed by Alexandre Julliard
parent 2b32128d42
commit 3e46363bfd

View File

@ -156,10 +156,7 @@ static HRESULT register_ocxs_callback(HINF hinf, PCWSTR field, void *arg)
hm = LoadLibraryExW(buffer, NULL, LOAD_WITH_ALTERED_SEARCH_PATH);
if (!hm)
{
hr = E_FAIL;
continue;
}
if (do_ocx_reg(hm, TRUE))
hr = E_FAIL;