Old 12th May 2003, 07:09   #1
Yovav
Member
 
Join Date: May 2003
Location: Holy Land
Posts: 63
Send a message via ICQ to Yovav
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 ?
Yovav is offline   Reply With Quote
Old 12th May 2003, 11:34   #2
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
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).

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Old 12th May 2003, 15:23   #3
Joel
Debian user
(Forum King)
 
Joel's Avatar
 
Join Date: Jan 2003
Location: Arch land
Posts: 4,917
Wao. I didn't know that.
Thanks KichiK


* PC: Intel Core 2 DUO E6550 @ 2.33 GHz with 2 GB RAM: Archlinux-i686 with MATE.
* Laptop: Intel Core 2 DUO T6600 @ 2.20 GHz with 4 GB RAM: Archlinux-x86-64 with MATE.
Joel is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump