diff --git a/dll/win32/syssetup/install.c b/dll/win32/syssetup/install.c index ba8fd226b64..5feefa3611b 100644 --- a/dll/win32/syssetup/install.c +++ b/dll/win32/syssetup/install.c @@ -467,7 +467,7 @@ RegisterTypeLibraries(HINF hinf, LPCWSTR szSection) p = PathAddBackslash(szPath); wcscpy(p, szName); - hmod = LoadLibraryW(szName); + hmod = LoadLibraryW(szPath); if (hmod == NULL) { FatalError("LoadLibraryW failed\n");