Installation of Windows Services (1)

Source: Internet
Author: User

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)

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.