Archive: How 2 kick out an open process when Uninstalling ?


How 2 kick out an open process when Uninstalling ?
Dear all.

got another one 4 today,

Say I uninstall but my app.exe is runing
can I use this fine installer to kill the process ?

How ?


It really depends on your process. If you have created it you should know how to kill it. Usually you find its window using FindWindow and then send WM_CLOSE to it using SendMessage (SendMessage (hwnd) ${WM_CLOSE} 0 0 - don't forget to include WinMessages.nsh for WM_CLOSE definition).


Wao. I didn't know that.
Thanks KichiK :up: