Archive: Problem with regsvr32-batch - working from cmd, but NOT in installer !


Problem with regsvr32-batch - working from cmd, but NOT in installer !
Hi there,

I have got a problem with regsvr32 on a 64Bit Windows 2003 Server System

During installer i call a batch file per execwait
that is doing

regsvr32.exe ABRCIDLL.DLL

The batch-file is unzippt per installer.

When installer comes to the point to execute the batchfile there is the following error in a popping up message windows (from windows)

LoadLibrary("D:\abrkfue_x64\app\CI\bin\ABRCIDLL.DLL") failed - The specified module could not be found.

THE STRANGE THING is: When I call the SAME (!) batch file AFTER the installer ends from a cmd, there is NO ERROR, Registering the DLL works ! So it can't be an error in the batch-file or a DLL Problem. It must have to do with the Installer !

Who can give me a tip, what it could be ?

Thank you in advance


RegDLL doesn't work
instead of regsvr.32 per batch I also tried RegDLL direct in the Installer.

It didn't work - perhaps due to the 64Bit System.

The DLL ist NOT a 64-Bit dll, it depends on 32Bit Programming Technik


You don't need to use a batch file. Call regsvr32.exe directly with ExecWait. This way you can make sure all the paths are right. Make sure all the DLL files that DLL file depends on are already installed too.