Installers for services

  • Thread starter Thread starter Claire
  • Start date Start date
C

Claire

I've created an installer project for my dotnet windows service from visual
studio. I've run the installer and it's depositing the files in their
directory ok
What do I now need to do to install/register the service? I notice that COM
objects are provided for registering automatically but not services.
I've included the file "installutil.exe" in the project. Do I add something
to my project to run this file? Where does it go ?
I assume I'll also have to add something to check for a previous version and
unregister that one.

many thanks
 
Hi,

Add the installer to the project, then add a setup project to the solution,
add the primary output of your service to the setup, finally add a custom
action. IIRC there is a very good article in MSDN about this.

Cheers,
 
Back
Top