View Full Version : Terminate A Process

10-27-2003, 12:00 PM
Hi, everyone. I'm currently using the Standard Project Type to do a project that uninstalls an installed program. However during the uninstallation, there's a dialog saying that there's a file being used. Then I found out that there's a process using the file. Would you please tell me how to terminate a process? Thank you.

10-28-2003, 04:17 PM
I do not know of a way to do that in InstallShield, have not seen a way, or heard of a way. I would suggest you write a Delphi, C++, or VB .dll that does this for you.

10-29-2003, 01:14 PM
Hi, Philiph. Thank you for your help. I'll continue to search to see if InstallShield can do this or not. If InstallShield really cannot do this, then I'll write a C++ program to do this. Anyway, thanks for your help.

10-31-2003, 02:05 PM
If you go to InstallSite.org and go to the InstallScript Samples page, you will see a listing for "List and Shut Down Running Applications".

That should do it.