Install4j ServiceException during "stop a service" action

150 views Asked by At

Our uninstaller has to remove a windows service that was installed. Sometimes this action "stop a service" throws an error:

[ERROR] com.install4j.runtime.beans.actions.services.StopServiceAction [ID 1194]: ServiceException{errorCode=5001}

What is the cause of this?

1

There are 1 answers

2
Ingo Kegel On BEST ANSWER

This means that the service did not shut down within the maximum shutdown time, typically 20 seconds.

To increase that shutdown time, see

https://support.microsoft.com/en-us/kb/146092