One way to install Services on Windows system
First , test the sc command in the command windows. if no sc command , copy it from other system For my environment, the folder is "C:\Program Files (x86)\Microsoft Visual Studio 8\Common7\Tools\Bin\winnt" if your environment is different , please search it.
sc create <service-name> binpath= "D:\CompareString\CompareStringTest.exe"
sc delete <service-name>