PC Review


Reply
Thread Tools Rate Thread

How to deploy Window service project?

 
 
Cylix
Guest
Posts: n/a
 
      8th Feb 2007
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!

 
Reply With Quote
 
 
 
 
Michel Posseth [MCP]
Guest
Posts: n/a
 
      8th Feb 2007

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]

"Cylix" <(E-Mail Removed)> schreef in bericht
news:(E-Mail Removed)...
>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!
>



 
Reply With Quote
 
Herfried K. Wagner [MVP]
Guest
Posts: n/a
 
      9th Feb 2007
"Cylix" <(E-Mail Removed)> schrieb:
>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.


How to create a Setup project for a Windows Service in Visual Basic .NET or
in Visual Basic 2005
<URL:http://support.microsoft.com/?scid=kb;EN-US;317421>

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

 
Reply With Quote
 
Cylix
Guest
Posts: n/a
 
      12th Feb 2007
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...


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to deploy dlls included in a project that is not the startup project. BLUE Microsoft C# .NET 4 25th May 2007 09:51 PM
Deploy ASP.NET project David Microsoft ASP .NET 1 8th Jan 2005 03:06 PM
Best way to Deploy an ASP.NET project =?Utf-8?B?cG11ZA==?= Microsoft ASP .NET 2 4th Jan 2005 04:43 AM
deploy project \Allen Iverson\ Microsoft Dot NET 0 25th May 2004 08:39 AM
Setup & Deploy for Windows Service project =?Utf-8?B?Tm9ybSBEb3R0aQ==?= Microsoft Dot NET Framework 1 12th Mar 2004 02:01 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:31 PM.