patch for regDLL
If you try to use regDLL on a DLL that has load time dependencies on other DLL's that are installed local to the DLL, it will fail, as the install dir is not on the current search path during install. The is can be fixed by making the directory the DLL is in the current directory before calling loadLibrary. Here's the changes needed to do this.

exec.c line 820, add
GetCurrentDirectory(NSIS_MAX_STRLEN, buf4) ;
lstrcpy(buf3,buf) ;
*scanendslash(buf3) = 0 ;
SetCurrentDirectory(buf3) ;
before the LoadLibrary line

and add at line 862 [before the OleUninitialize() call]
SetCurrentDirectory(buf4) ;

Cheers
Simon
www.pocketsoap.com