NsProcess plugin

From NSIS Wiki

Author: Instructor (talk, contrib)


Links

Download v1.5:
nsProcess.zip (25 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

Personal tools
donate
ads