Deploying windows service

  • Thread starter Thread starter Sam Straub
  • Start date Start date
S

Sam Straub

I created a windows service and it installs and runs fine on my own machine.
I'm curious, how do I deploy it to a server? The project contains an
app.config file which holds my environment dependant variables, so where do
I put this file when I install the service on the server? In the case of an
asp.net web app the web.config file would just go into the web root, but
I've never done this before. Any help? Thanks.
 
I did this, I have a ProjectInstaller.vb with ServiceProcessInstaller1 and
ServiceInstaller1 and as I understand this was necessary to install on my
local machine, but I'm still not sure how this all works, are you saying
just use installutil.exe on the server and everything is taken care of? How
do I have an app.config on the server with differing variables? Would you
mind giving me more detail on the process / how it works? Thanks.
 
You have to create an installer project and then install the exe on the
server usint installutil.exe from the command line. At least that is how I
have done it.

Jim
www.jimandal.com
 
Back
Top