Archive: Installer does not continue after RegDLL


Installer does not continue after RegDLL
Hi,

I have a problem on registering a DLL (3rd party) with my installer.

First of all I assume it is not really a NSIS problem, because an older version
of the DLL will be registered successfully every time.
But nevertheless I hope to get help here.

Now the description of my problem:

I use RegDLL to register a DLL like this:
RegDLL "$INSTDIR\My.dll"

Usually this works fine!

But now with a new version of My.dll the installer doesn't continue after RegDLL.

I've tried to call RegSvr32 with ExecWait:
ExecWait '"regsvr32.exe" "$INSTDIR\My.dll"'

The result is a success message from RegSvr32 but after this the setup also halts.

With RegDllView I can see that in both cases the DLL was registered to the system.
There is one other effect. It is not possible to delete the file unitl I re-boot my system, even if I de-register it.

I think the main problem is in the new DLL. but I can't reach the developer of it :rolleyes:.
Now I'm searching for some usefull ideas to bring him on the right way if he will back in office.


Thanks for reading.

Mikesch


No idea?


I have seen this. We were never able to solve it and had to just Hail Mary the RegSvr32 with Exec instead of ExecWait and provide the customer with a support item of the DLL failed to register.


My problem was solved!

The developer of the DLL fixed a bug and now my installer run as expected.

Thank you all for reading my post.

Bye
Mikesch