Programs on WHS RRS feed

  • Question

  • I'm messing about with writing a program designed for running on WHS. I've got the program side of things down, but as I've never written software for a server I was wondering how you get it to run without a logged in user? As normally a WHS has no user logged in.


    Does the program have to be a service? What kind of setup and install do I need to do in order to get it run (if any). I've never tried it so some high level obvious pointers would be nice. Im writing it in c# if theres any nice helper functions from that.


    Actually writing a service program I think I can do, I'm more wondering how I install it to my server computer.

    Monday, July 16, 2007 2:46 PM

All replies

  • Yes, you need to create a Windows Service for your application and make its start up type = Automatic. Visual Studio has built-in wizards to easily create Services. The way to install it would be using installutil.exe which comes with .Net framework.
    Monday, July 16, 2007 7:02 PM