How can I terminate a process with install4j (5.1.11)

241 Views Asked by At

I found this link (look for "Support for Windows processes"), but I can't find out how to get to this screen in the install4j UI. Any help with that?

2

There are 2 best solutions below

0
On BEST ANSWER

Just found it:

Right click and select "Add Action" and then select "Miscellaneous" -> "Check for running processes on indows"

enter image description here

0
On

There is also an API for it:

WinProcesses.Info[] infos = WinProcesses.getRunningProcesses();
int idsToBeClosed[] = ...;
WinProcesses.terminateProcesses(idsToBeClosed);