How in Install Windows Service

J

Jeremy S.

On my dev machine (XP/Pro with VS.NET 2003) I have been developing a Windows
Service and installing it on the local machine by opening the Visual Studio
Command Prompt and then executing [InstallUtil.exe MyServiceName.exe].

Now I want to test this service on a Windows Server 2003 box that doesn't
have the Visual Studio Command prompt.

How do I go about installing the service on the Windows Server 2003 box?

Thanks!
 
R

Ryan Trudelle-Schwarz

On my dev machine (XP/Pro with VS.NET 2003) I have been developing a
Windows Service and installing it on the local machine by opening the
Visual Studio Command Prompt and then executing [InstallUtil.exe
MyServiceName.exe].

Now I want to test this service on a Windows Server 2003 box that
doesn't have the Visual Studio Command prompt.

How do I go about installing the service on the Windows Server 2003
box?

IIRC, same way. InstallUtil is located in the framework directory in the
windows directory.
 
J

Jeremy S.

You are correct... (whew). I googled this topic before posting the question
and all the hits I looked at were from people who were claiming that
InstallUtil.exe was not to be distributed and they were therefore creating
installer packages. It looked like a lot of work and I just couldn't believe
it - thus my post.

Thanks again.


Ryan Trudelle-Schwarz said:
On my dev machine (XP/Pro with VS.NET 2003) I have been developing a
Windows Service and installing it on the local machine by opening the
Visual Studio Command Prompt and then executing [InstallUtil.exe
MyServiceName.exe].

Now I want to test this service on a Windows Server 2003 box that
doesn't have the Visual Studio Command prompt.

How do I go about installing the service on the Windows Server 2003
box?

IIRC, same way. InstallUtil is located in the framework directory in the
windows directory.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top