This document describes how to create, install, and uninstall a Windows service by creating a folder Monitoring Service.
Contents
Create and install Windows Services.
1. Create a Windows Service Project frjwindowsservice
2. Add a filesystemwather component on the frjservice design interface.
3. Set frjservice attributes
4. Write functional code for the service
5. Add serviceprocessinstaller and serviceinstaller components to the service.
6. compile and generate the Service Program
7. Install and uninstall Windows Services
7.1 use the. NET frameword program installutil.exe to install and uninstall
7.2 install and uninstall using scripts
7.2.1 installation:
7.2.2 uninstall:
========================================================== ========================
Download source code from CHM
========================================================== ========================