0

So I've used a few different tools, like procexp and openfiles. I have noticed however that when running an installer it is able to create a list of in-use files that it is going to overwrite. (Installers will often prompt with this list and give an option to close running instances of previous versions of the software).

The thing is, the installer seems able to do this very quickly, while procexp and openfiles seem quite slow (can take many minutes to run).

What magic is the installer using? Is there a tool available that uses the same magic to quickly find/list open files?

joeking
  • 1,912
  • 16
  • 28
  • Yes! Looks like the code on your blog entry is just what I want. I assume then, that this will work for files that are already open at the time you call RmRegisterResources()? In other words, this API doesn't need to know ahead of time that it needs to track usage of a particular file. – joeking Jan 28 '22 at 20:44

0 Answers0