DLL Registring during install, but NOT uninstall

Got a problem you cannot solve? Try here.
Post Reply
gsaunders
Posts: 81
Joined: Mon Aug 16, 2010 2:37 pm

DLL Registring during install, but NOT uninstall

Post 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
FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: DLL Registring during install, but NOT uninstall

Post by FrancescoT »

Dear Greg,

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

Regards
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
gsaunders
Posts: 81
Joined: Mon Aug 16, 2010 2:37 pm

Re: DLL Registring during install, but NOT uninstall

Post 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?
FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: DLL Registring during install, but NOT uninstall

Post 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
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
Post Reply