Skip to content
⌘ NSIS Forum Archive

error registering vb6 dlls

5 posts

Guest#

error registering vb6 dlls

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
Guest#
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