Module: wine Branch: master Commit: 4ae262df8efbcf4cd2e213a1899801c09d6b5047 URL: http://source.winehq.org/git/wine.git/?a=commit;h=4ae262df8efbcf4cd2e213a189...
Author: Alexandre Julliard julliard@winehq.org Date: Tue Oct 27 11:26:12 2009 +0100
setupapi: Create fake dlls before performing dll registration.
---
dlls/setupapi/install.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/setupapi/install.c b/dlls/setupapi/install.c index 293f977..49b61d9 100644 --- a/dlls/setupapi/install.c +++ b/dlls/setupapi/install.c @@ -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)