created the window service http://www.cnblogs.com/netqq/p/4182259.html in the previous article
In this article will teach you how to install this service
The development and operating environment of the Service Program are: Window 8.1
Here is a formal description of how to install the service
Run the command prompt as administrator (Win8 press wind+x,)
At the command prompt interface, run CD C:\Windows\Microsoft.NET\Framework\v4.0.30319 into the. NET 4.0 installation directory
Then run the Installutil.exe command: The physical path of the Installutil.exe service file
As shown in the author's installation commands, please refer to the
Installation effects such as
Now that the window service is installed, we will test after installation and find the service just installed in My computer right-management-services and applications-services
Double-click and start the service.
Then run the test program, and at the time of writing the service has written a test tool, please refer to the previous article
Find the ServiceTestClicent.exe and run and see as
Click GetQuote to see a message showing
This completes the entire service installation.
If the reader fails to start after installation, the service program is problematic, please modify the service program, and the test program should be aware that the service is open in the same port.
In addition service uninstall please use the command
Installutil.exe the physical path of the service file/u
That is, add/u after the install command
In the next article, I'll show you how to install the window service through a C # program, so stay tuned
Installation of Windows Services (1)