http://www.esanu.name/programs/NSISKillProcess.html

Plug-in help to terminate, close, quit and detect working any process from NSIS installer.

Notes for usage:

  1. Download NSIS Installer
  2. NSIS Installer
  3. Download Kill Process for NSIS
  4. Unrar it and to NSIS instaled path, ussualy are C:\Program Files\NSIS\Plugins\
  5. Make any script install.
  6. Exported Function are: ExistsProcess, KillProcess, CloseProcess, QuitProcess
  7. Use inside script:
Function CloseParentWithUserApproval
    Push $5
    loop:
        push "msimn.exe"
        processwork::existsprocess
        pop $5
        IntCmp $5 0 done
        MessageBox MB_RETRYCANCEL|MB_ICONSTOP
            'Outlook Express must be closed during             this installation.$\r$\n             Close Outlook Express now,             or press "Retry" to automatically close             Outlook Express and continue or press             "Cancel" to cancel the             installation entirely.'  IDCANCEL BailOut
        push "msimn.exe"
        processwork::KillProcess
        Sleep 2000
    Goto loop
BailOut:
Abort
done:
Pop $5
FunctionEnd

If want more features or any bug, fill free to contact me.

Download Kill Process for NSIS

Keywords related to this page:
kill processes, kill windows processes, nullsoft streaming video, nullsoft, nullsoft video, nsis, nullsoft installer, nullsoft winamp, nsis installer, close processes, closing processes, eclipse nsis, how to kill processes, kill all child processes