June 2003
Intermediate to advanced
800 pages
34h 20m
English
You need to install your Windows service so that you can run or test it.
Create an installer class, and use the InstallUtil command-line utility.
Because Windows services are controlled by the SCM, you must install them before you can run or debug them. To install a Windows service, you must create an installer class. Microsoft Visual Studio .NET can generate this installer class automatically. In the Solution Explorer, simply right-click your service code file, choose View Designer, and select the Add Installer link that displays in the Properties window (as shown in Figure 13-1).

Figure 13-1. The ...
Read now
Unlock full access