[Download source code] share a Windows service that supports self-Installation and self-installation. Download the source code for windows

Source: Internet
Author: User

[Download source code] share a Windows service that supports self-Installation and self-installation. Download the source code for windows

This program comes from www.codeproject.com

I forgot the specific source.

On the server side, I generally use the open method called in the windows service, so that you can see the interface and avoid exiting the program when the system logs out. It also supports boot.

It is only used in windows server 2003 and. net2.0 environments, and is not tested in other runtime environments.

Clicking a service program can enable automatic installation and uninstallation, which is easy to use.

 

In the configuration file, the location and address of the server-side program are set.

The server program is another program used to communicate with the client. Windows Service is used to open this server-side program

The configuration file of the windows service program is as follows:

<? Xml version = "1.0" encoding = "UTF-8"?> <Configuration> <paiettings>
// Server-side program location <add key = "FileName" value = "F: \ AppServer \ AppServer.exe"/> </appSettings> </configuration>

After the service is started, the server program on this address will be opened

To view the program interface, you need to set up the service after installation.

In the service, find the service and right-click Properties.

 

Source File Download

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.