Using install4j I want to create a windows service that runs nginx.exe.
I tried to create a service using the option of Other service executable, it manages to install it but when started it throws an error: Error 1053: The service didn't respond to the start or control request in a timely fashion
I understand that I would need a special .exe file that is accepted by windows to be wrapped as a service.
Can this be done in anyway using install4j and without any 3rd party tool?
In the "Install a service" action in install4j, you have to specify a generated service launcher or an external Windows service executable.
nginix.exeis not a Windows service executable, but a console executable.