Using msdn:
http://msdn.microsoft.com/library/default.asp url=/library/en-us/vbcon/html/vbtskaddinginstallerstoyourserviceapplication.asp
To add installers to your service application
- In Solution Explorer, access Design view for the service for which you want to add an installation component.
- Click anywhere within the designer's surface.
- In the Description area of the Properties window, click the Add Installer link.
Where is the Description area
I have this so far:
using System;
using
System.Collections.Generic;using
System.Text;namespace
Project1{
public class UserService1 : System.ServiceProcess.ServiceBase{
public static void Main(){
System.ServiceProcess.
ServiceBase.Run(new UserService1());}
public UserService1(){
this.ServiceName = "MyService1"; this.CanStop = true; this.CanPauseAndContinue = true; this.AutoLog = true;}
protected override void OnStart(string[] args){
// Insert code here to define processing.}
}
}

Service C# Express
Mark_Hill
Dont forget to add System.Configuration.Install in your References !
slimjinky
http://samples.gotdotnet.com/quickstart/howto/doc/simpleservice.aspx
Navees
Here is a small project installer class,
the_skipster
Where do I call class ProjectInstaller
eman_26