Well you can't. It's a special process to install a service, most commonly performed by the setup program. If you read that page, it shows you how to install a service with a program bundled with Visual Studio .NET.