Installing Any Executable as a Windows Service
• Jason M Penniman
I’ll clean this up later, but in short:
- Download SrvAny.exe as part of the Windows server resource kit here: http://www.microsoft.com/downloads/details.aspx?familyid=9d467a69-57ff-4ae7-96ee-b18c4790cffd&displaylang=en
- Run: InstSrv.exe yourservicename “d:\pathtosrvany\svrany.exe”
- Edit the registry entry for the newly created service and add a “Parameters” key called “Application”. Set the value to the full path of your executable.