PDA

View Full Version : Detecting running processes during uninstallation



rkrishnan
04-18-2006, 09:24 AM
Hi All!
During uninstallation i deleted logfiles folder which are created by the application using the CA. Log files are being used by another process say notepad / wordpad or any text editor.I cant expect which application they are using to use for log files. So i can't hardcode the values "notepad" or else to detect the running application.

My question is , if the file is detected that is being locked by some other application / process using Is() with FILE_LOCKED flag , is there any way to determine the associated processes / process ids (which causes file being locked) .....

and one more thing how can i call a SdFileInUse Dialog in my Basic MSI Project ...

Thanks in Advance ......