setupapi: Create fake dlls before performing dll registration.

This commit is contained in:
Alexandre Julliard 2009-10-27 11:26:12 +01:00
parent dbfe34eceb
commit 4ae262df8e
1 changed files with 2 additions and 2 deletions

View File

@ -1082,10 +1082,10 @@ BOOL WINAPI SetupInstallFromInfSectionW( HWND owner, HINF hinf, PCWSTR section,
}
else info.callback = NULL;
if (!iterate_section_fields( hinf, section, RegisterDlls, register_dlls_callback, &info ))
if (!iterate_section_fields( hinf, section, WineFakeDlls, fake_dlls_callback, NULL ))
return FALSE;
if (!iterate_section_fields( hinf, section, WineFakeDlls, fake_dlls_callback, NULL ))
if (!iterate_section_fields( hinf, section, RegisterDlls, register_dlls_callback, &info ))
return FALSE;
}
if (flags & SPINST_UNREGSVR)