NsProcess plugin: Difference between revisions

From NSIS Wiki
Jump to navigationJump to search
No edit summary
Line 16: Line 16:
*Find a process by name
*Find a process by name
*Kill all processes with specified name (not only one)
*Kill all processes with specified name (not only one)
*Сlose all processes with specified name (first tries to close all process windows, waits for 3 seconds for process to exit, terminates if still alive, use _CloseProcess function)
*Close all processes with specified name (first tries to close all process windows, waits for 3 seconds for process to exit, terminates if still alive, use _CloseProcess function)
*The process name is case-insensitive
*The process name is case-insensitive
*Win95/98/ME/NT/2000/XP/Win7 support
*Win95/98/ME/NT/2000/XP/Win7 support

Revision as of 22:38, 4 February 2013

Author: Instructor (talk, contrib)


Links

Download v1.5:
nsProcess.zip (14 KB)

Download v1.6 (NSIS UNICODE support, by brainsucker):
nsProcess_1_6.7z

Discussion:
Forum thread

Description

Features:

  • Find a process by name
  • Kill all processes with specified name (not only one)
  • Close all processes with specified name (first tries to close all process windows, waits for 3 seconds for process to exit, terminates if still alive, use _CloseProcess function)
  • The process name is case-insensitive
  • Win95/98/ME/NT/2000/XP/Win7 support
  • Finds processes of other user(s) when running 'as Administrator' or when having switched to another user
  • Small plugin size (4 Kb)
  • NSIS UNICODE support (just rename nsProcessW.dll into nsProcess.dll)

Thanks

Ravi Kochhar (source function FIND_PROC_BY_NAME based upon his code)
iceman_k (Find_Process_By_Name) and DITMan (KillProcDLL_Manual) for direct me