Hello Remya,
In order to achieve what you want you can use our
"Tomcat Web Application" installer template. Also, please note that the "Tomcat Web Application" template will create an "Enterprise" project type too.
1 install the war file to a remote tomcat server . installer will ask the tomcat url, username and password and will deploy the war file to that server
I'm afraid I don't fully understand your scenario. Can you give us more details about this (maybe exemplify)? Normally, the installation package it is deployed in a local installation folder. However, if the current installing user has permissions to access a network path, then you should be able to install your war file to a network path. Also, you can take a look on our
"Network browser" thread which could be useful for you.
2. restart the server
In order to achieve this you can create your own
custom action. For example, you can write a BAT file which will restart the Tomcat server and launch it using a "Launch file or open URL" custom action.
3. lanuch the website
In order to achieve this you can
launch your application URL on [Finish] button. Just go to "Dialogs" page -> "ExitDialog" and select [Finish] button. In the "Finish Actions" tab check "Launch application at the end of installation" option and add your application URL like this:
Also, you can add a
"Launch file or open URL" custom action without sequence like this:
Code: Select all
Command: http://localhost:8080/file.html
and
run it on a button push.
1. install tomcat in the system if not available
2. deploy the war file
For this you can add our "Apache Tomcat" predefined prerequisite to your project. Then, you should add the war file in "Files and Folders" page.
All the best,
Daniel