fixed bug #1638191 - have RegDLL use LoadLibraryEx with LOAD_WITH_ALTERED_SEARCH_PATH

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4865 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
kichik 2007-01-23 18:16:57 +00:00
parent 31154c4424
commit 5201b056ba

View file

@ -956,7 +956,7 @@ static int NSISCALL ExecuteEntry(entry *entry_)
if (parm4)
h=GetModuleHandle(buf1);
if (!h)
h=LoadLibrary(buf1);
h=LoadLibraryEx(buf1, NULL, LOAD_WITH_ALTERED_SEARCH_PATH);
if (h)
{
FARPROC funke = GetProcAddress(h,buf0);