Register an Executable as Windows Service
Need to register a self programmed executable as a Windows Service, that will:
1) start whenever system request
2) allow it to start if the service it depended on has started (This will be another topic)
What you need is really easy.
1) Go to microsoft to download Windows Resource Toolkits which is found here:
http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=9d467a69-57ff-4ae7-96ee-b18c4790cffd
2) Run the rktools to unpack it, Default directories it unpacked to is: "C:\\Program Files\Windows Resource Toolkits\Tools"
3) Go Start->Run->cmd, using dos command navigate to the directories specified in step 3.
4) Type in->instsrv (Your service name) (the location of the executables file)
e.g., instsrv MyService "c:\\MyService\\Test.exe"
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment