You can convert any application (executable .exe) into windows service using the methods mentioned in http://digital.ni.com/public.nsf/allkb/21BA0F671A63A60386256CB4004DF99B . And,Sappster has done a good job of using Microsft Resource Toolkit to achieve it in http://decibel.ni.com/content/docs/DOC-4741
In some cases you would find it's hard to install Microsoft Resource Toolkit (example of where you don't have proper windows authentication to install toolkit). So do I. Also, I needed more than just installing the service i.e., START service, STOP service and REMOVE service. Hence I have created a wrapper of modified Sappster's work to achieve such needs. The VI in the attached zip file here makes use of only two executables from resource toolkit (instsrv.exe and srvany.exe) to convert any executable into windows service and enables to do
- Install any executable as windows service.
- Start the windows service
- Stop the windows service
- Remove the windows service which you installed