advpack: Don't fail if the dll to register doesn't exist.
This commit is contained in:
parent
2b32128d42
commit
3e46363bfd
|
@ -156,10 +156,7 @@ static HRESULT register_ocxs_callback(HINF hinf, PCWSTR field, void *arg)
|
||||||
|
|
||||||
hm = LoadLibraryExW(buffer, NULL, LOAD_WITH_ALTERED_SEARCH_PATH);
|
hm = LoadLibraryExW(buffer, NULL, LOAD_WITH_ALTERED_SEARCH_PATH);
|
||||||
if (!hm)
|
if (!hm)
|
||||||
{
|
|
||||||
hr = E_FAIL;
|
|
||||||
continue;
|
continue;
|
||||||
}
|
|
||||||
|
|
||||||
if (do_ocx_reg(hm, TRUE))
|
if (do_ocx_reg(hm, TRUE))
|
||||||
hr = E_FAIL;
|
hr = E_FAIL;
|
||||||
|
|
Loading…
Reference in New Issue