|
|
|
|
#1 |
|
Senior Member
Join Date: Oct 2007
Location: Shanghai, China
Posts: 207
|
to kill more process
Section "Kill"
KillProcDLL::KillProc "QQ.exe" SectionEnd User the above script,when setup is running,the process "QQ.exe" will be killed,but it can only kill one process.if there are 5 QQ.exes in the task manager,1 will be killed or the all?to kill all the processes of the same name,how to write the code? |
|
|
|
|
|
#2 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,343
|
You can call KillProc multiple times until it returns an error indicating the process was not found.
NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|