Skip to content
⌘ NSIS Forum Archive

Detect working application

5 posts

Kerzh#

Detect working application

Hi to all!

I have exe application and want to kill it before entering installer.

How can i do this?

Thank you.
onad#
WM_CLOSE may not always be enough, better try close , wait a few seconds, see if still running and than kill the wanted process
Takhir#
Originally posted by onad
WM_CLOSE may not always be enough, better try close , wait a few seconds, see if still running and than kill the wanted process
Precisely what FCT does 😉
+ enumwindows (few instances of one application, for example all IE or OE), multithreading (stopping few apps at the same time), optional user confirmation message box, window search by caption/class full text or it's part only. And 1-2 lines of NSIS script only 😉.