Page 1 of 1

DLL Registring during install, but NOT uninstall

Posted: Fri Apr 07, 2017 1:31 pm
by gsaunders
I have a dll, let's call test.dll.

This entry is made with the gui and it has "File is Vital for Installation" and "File is Self Registering DLL" checked and it does indeed register and all is good.

HOWEVER, if I uninstall the application it does not unregister and it does not delete the file.

I ended up adding a manual run program with regsvr32.exe /u /s to unregister which works. But the file still exists and is not removed.

What would prevent it from being removed and also not unregistering without me manually doing it in script.

Thanks,

Greg

Re: DLL Registring during install, but NOT uninstall

Posted: Mon Apr 10, 2017 4:46 am
by FrancescoT
Dear Greg,

are you sure that such DLL isn't used by another process when the product gets un-installed?

Regards

Re: DLL Registring during install, but NOT uninstall

Posted: Mon Apr 10, 2017 7:55 am
by gsaunders
I have checked the other 2 applications that are tied to the whole "suite of apps" and nothing is using it.

I have worked around it, but just found it odd it would not unregister and remove.

I can manually unregister and remove and of course all apps from this suite continue working without issue.

Just found it very odd.

If I had the version of Installaware with debugging would that give any indication of whether it even attempted to do it or why it would not?

Re: DLL Registring during install, but NOT uninstall

Posted: Mon Apr 10, 2017 9:23 am
by FrancescoT
Dear Greg,

you may eventually run a logged execution of the un-install process.
> <setup.exe> /l=<path to logfile>

If the Windows Installer engine founds a problem to un-register that DLL, this should be reported with the log.

At any rate and if you a chance to send me a very "MINIMAL" project that replicates the issue, I'll try to have a look.

Regards