PDA

View Full Version : Detect locked files with SB5 Dev?



Unregistered
11-06-2005, 04:29 AM
Hello,

Is it possible to check before install a setup if there are files locked which will be replaced during the installation and then show the user a message? All files are located under c:\program files\sempra energy\poweradmin. I want to prevent a reboot of the machine after the installation

Thanks in advance,
Jesse

stuartj
11-07-2005, 05:10 PM
Jesse,

There's a few ways to do this. You could use the "Check In-use File" function, the "Check In-use Folder Tree" function, or perhaps even the "Detect Active Application" function, whichever suits you best.

Stuart

Unregistered
11-08-2005, 02:37 AM
Stuart,

Thank you very much. This works perfect!

Jesse