Windows Service is another preferred deployment method for production servers. Steps to set up and configure HyperServer in Service mode share many common steps with other deployment methods.
1
1. Copy service files
Copy hyper_service.exe and hyper_service.cfg to your application folder.
2
2. (Optional) Rename the service executable
You may rename hyper_service.exe. If you want to run several instances of the HyperServer service, give a unique name to each service executable. Note: for each service executable there is no need for a CFG file with the same name.
3
3. Install the service
Open a command line window with administrative rights and run:
hyper_service.exe /install <ServiceName>
Parameter <ServiceName> will be used to generate a custom service name for this service instance. HyperServer will add HyperService in front of your provided service name.
Example:
hyper_service.exe /install myapp
4
6. Build your node application
Make sure your node application EXE is compiled as a standalone server: https://unigui.com/doc/online_help/standalone_server.htm
clip0147
For more information about Windows services see: https://unigui.com/doc/online_help/windows_service.htm