Skip to content
⌘ NSIS Forum Archive

cannot install tomcat as a service through NSIS

4 posts

ehsansad#

cannot install tomcat as a service through NSIS

Hello
I have the following line

ExecWait '"$InstallDirState\ModelServer\apache-tomcat-8.0.9\bin\service" "install" "Tomcat8"'
but this line does not install the service. Any idea what the problem is and how I can fix it?

cheers,
Ehsan
Anders#
What is the exit code?

You should try Process Monitor and check if the application is started etc...
Anders#
So you used
ExecWait '"$InstallDirState\ModelServer\apache-tomcat-8.0.9\bin\service" "install" "Tomcat8"' $0
and $0 was 255?

Originally Posted by ehsansad View Post
it's 255, where can I get the list of errors?
By asking the apache-tomcat people?