trouble registering dll
hi all.
i'm having trouble registering my BHO DLL.
i can manually register it using "regasm /codebase file.dll" and all the appropriate registry entries are created.
however, after searching through the forums for quite some time and trying all the offered solutions for registering a DLL with nsis, i'm still stuck.
i tried the following:
SetOutPath $INSTDIR
...
File "file.dll"
RegDLL "$INSTDIR\file.dll"
but i get an error when i check with IfErrors.i also tried using the InstallLib macro as follows:
!define LIBRARY_COM
!insertmacro InstallLib REGDLL NOTSHARED NOREBOOT_NOTPROTECTED "path_to_local\file.dll" "$INSTDIR\file.dll" "$SYSDIR"
but this also raised the error flag. i checked the registry manually and the DLL is never being registered properly.i don't know if it has to do with it being a COM object. i've tried installing the dependency into the same directory before registering but still no luck. it's strange, though, because regasm registers the DLL fine when the dependency is not there.
thanks for any help...