Preload more dlls for Vista and 7 without KB2533623
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6700 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
7ddcbee988
commit
a0d918b472
2 changed files with 18 additions and 4 deletions
|
@ -1139,7 +1139,7 @@ HMODULE NSISCALL LoadSystemLibrary(LPCSTR name)
|
|||
cch = 0; // \\?\ paths so we have to settle for just the name.
|
||||
wsprintf(path + cch, fmt, TEXT("\\") + (!cch || path[cch-1] == '\\'), name);
|
||||
|
||||
return LoadLibrary(path);
|
||||
return LoadLibraryEx(path, NULL, LOAD_WITH_ALTERED_SEARCH_PATH);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue