Detect apps holding my dll and kill them

Got a problem you cannot solve? Try here.
Post Reply
tofutim
Posts: 176
Joined: Thu Mar 01, 2012 1:16 pm

Detect apps holding my dll and kill them

Post by tofutim »

On uninstall, I would like to detect apps holding on to a particular dll (in my installation directory) and kill them before running uninstall. If I do not do this, I will require a reboot. I can get all the images running my dll by using SysInternal's 'listdll'. 'tasklist' sort of works, but is incomplete in Windows 8. Has anyone else run into this need and figured out how to do it?
FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Detect apps holding my dll and kill them

Post by FrancescoT »

Dear Tofutim,

unfortunately I never used SysInternal's 'listdll' and I do not know if other similar tool may be available.

Anyway doing a quick Google search, I found the following discussion that you may find interesting.
http://stackoverflow.com/questions/4500 ... pendencies

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