Archive: error registering vb6 dlls


More errors registering dll
I am getting an error registering some of the vb6 dlls

I have the following in my script:

!insertmacro InstallLib REGDLL 0 REBOOT_NOTPROTECTED "MSVBVM60.DLL" "$SYSDIR\msvbvm60.dll" "$SYSDIR"
!insertmacro InstallLib REGDLL 0 REBOOT_NOTPROTECTED "MSVCRT.DLL" "$SYSDIR\MSVCRT.DLL" "$SYSDIR"
!insertmacro InstallLib REGDLL notshared NOREBOOT_NOTPROTECTED "OTAClient80.dll" "$INSTDIR\OTAClient80.dll" "$INSTDIR"
!insertmacro InstallLib REGDLL 0 REBOOT_NOTPROTECTED "SCRRUN.DLL" "$SYSDIR\SCRRUN.DLL" "$SYSDIR"

The MSVBM60.dll fails to register..with the following error:
Could not find symbol DLLRegisterServer

The rest if the dlls register fine


Are you sure you're using the right msvbvm60.dll and that it is not corrupted?


its actually the msvcrt.dll
my apologies
its actually the msvcrt.dll that has problems registering..

the message from the install log file is:

Error registering DLL: DllRegisterServer not found in C:\WINDOWS\system32\MSVCRT.DLL


There is no need to register MSVCRT.dll. Use DLL instead of REGDLL.


Great thanks alot..