Page 1 of 1

Self Registering DLL - Dialog not closing since X15

Posted: Tue May 16, 2023 12:53 pm
by Günther Schoch
Hi

I switched from X14 to X15 and now the setup does close the installation dialog.
- turning off "file is self registering" -> works (but does not register the dll)
- turning on "file is self registering" -> blocks (BUT the DLL gets installed)
Looks as the main installer does not notice that the installation (REGSVR) process has finished.

REALLY an urgent problem. I recreated a minimal project from scratch. Exactly the same problem.
Does the "file is self registering" still works for others?

Re: Self Registering DLL - Dialog not closing since X15

Posted: Mon May 22, 2023 9:01 am
by FrancescoT
Can you please post a vary minimal sample project that replicates the issue?

Re: Self Registering DLL - Dialog not closing since X15

Posted: Sat Jun 03, 2023 3:59 am
by Günther Schoch
as the case was really urgent, I implemented a workaround

Code: Select all

 
    ...
    Set Variable REGSERVEDLL to "#TARGETDIR#\XXXComServer.dll"
    Run Program RegSvr32.exe $REGSERVEDLL$, startup in folder $TARGETDIR$ (WAIT)

BTW: Id I use the syntax with the parameter /s (silent), then I have the same problem as described. The install does block.
I assume, the setup cannot find the handle of the process properly and scans forever that "something" does close.