1, download Tomact decompression version
2, pressurized to a directory
3. Set the service name you want. service.bat file edit under Lib directory
/span>set service_name=ehms_server
Ehms_ The server changes to the service name you need, and this will be the one after which you use net Start/stop to manipulate the service names.
set Pr_displayname=apache tomcat 6.0.35 can also be ehms_server
Apache Tomcat instead of the display service name you need, this will be displayed in Service Manager, what name you want to take.
set pr_description=apache Tomcat Server -Http://jakarta.apache.org/tomcat
REM This line does not change does not matter, is the service description, according to own preference decides.
5. Save the installation service after the modification
In this step the installer OK can see the program you installed in the computer properties-"manage--" service and application--"
6. Remove the service program
Similarly run Service.bat Remove to remove the service
You can also use
SC Delete "service name" (if there is a space between the service name and double quotation marks)
Tomact decompression installation set to window service