Old 8th September 2014, 15:06   #1
ehsansad
Junior Member
 
Join Date: Apr 2012
Posts: 22
cannot install tomcat as a service through NSIS

Hello
I have the following line
code:

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
ehsansad is offline   Reply With Quote
Old 8th September 2014, 15:23   #2
Anders
Moderator
 
Anders's Avatar
 
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,321
What is the exit code?

You should try Process Monitor and check if the application is started etc...

IntOp $PostCount $PostCount + 1
Anders is offline   Reply With Quote
Old 9th September 2014, 12:55   #3
ehsansad
Junior Member
 
Join Date: Apr 2012
Posts: 22
it's 255, where can I get the list of errors?
ehsansad is offline   Reply With Quote
Old 9th September 2014, 16:23   #4
Anders
Moderator
 
Anders's Avatar
 
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,321
So you used
Quote:
ExecWait '"$InstallDirState\ModelServer\apache-tomcat-8.0.9\bin\service" "install" "Tomcat8"' $0
and $0 was 255?

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

IntOp $PostCount $PostCount + 1
Anders is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Tags
execwait, service, tomcat

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump