How to deploy Window service project?

  • Thread starter Thread starter Cylix
  • Start date Start date
C

Cylix

I have create and finished a windows service project.
I test and debug the project in my computer by just rebuild the file,
and so the service is installed in my computer before.

Now, I need to deploy it to the admin computer, but I don't know the
way.
I have tried to copy file in \bin and using command:
installutil <the service file path>
Exception return: System.IO.FileNotFoundException: File or assembly
name XXXXXXXXXXX.exe, or one of its dependencies, was not found ...

Thanks!
 
Ad a service installer and optionally a service controler to your service
project ( controls can be found in the tools window )

If you now create a new setup project and add the service project to this
setup it wil automaticly take care of correct installation on the target
computer by just clicking the setup.exe


regards

Michel Posseth [MCP]
 
I can deploy the service now,
but I cannot using the installer to upgrade the service by just double
click the new installer.
It show me that the service is already exists...
 
Back
Top