Itay Gal
Itay Gal

Reputation: 10834

How can I terminate a process with install4j (5.1.11)

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?

Upvotes: 1

Views: 242

Answers (2)

Ingo Kegel
Ingo Kegel

Reputation: 48025

There is also an API for it:

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

Upvotes: 0

Itay Gal
Itay Gal

Reputation: 10834

Just found it:

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

enter image description here

Upvotes: 2

Related Questions