Self Registering DLL - Dialog not closing since X15

Got a problem you cannot solve? Try here.
Günther Schoch
Posts: 12
Joined: Fri Mar 27, 2020 5:11 am

Self Registering DLL - Dialog not closing since X15

Postby Günther Schoch » Tue May 16, 2023 12:53 pm

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?

FrancescoT
Site Admin
Posts: 5360
Joined: Sun Aug 22, 2010 4:28 am

Re: Self Registering DLL - Dialog not closing since X15

Postby FrancescoT » Mon May 22, 2023 9:01 am

Can you please post a vary minimal sample project that replicates the issue?
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE

Günther Schoch
Posts: 12
Joined: Fri Mar 27, 2020 5:11 am

Re: Self Registering DLL - Dialog not closing since X15

Postby Günther Schoch » Sat Jun 03, 2023 3:59 am

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.


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 46 guests