2012-07-09, 16:44
(2012-07-09, 08:36)Finchy Wrote: Ah, no, I didn't know there couldn't be any spaces in the paths. OK, so I've moved the Headphones folder into the Python one but it's still not playing ball;
Re the config file, I copied over the config file from the test Headphones on my laptop which did use the exe so I could edit the port number.
The pic looks OK. Try moving srvany, anyServiceInstaller and instserv to their own directory, maybe it's confusing them to be in the path or something. Look into the Windows logs to try and find the reason for failure. It's really very simple, I don't understand why it's failing. If all else fails you can try to download and install the Windows 2003 Resource kit, it's where srvany and instserv came from, I have used just the files in the .zip and had success. You are running as Administrator aren't you? If you run the command manually does it work? "c:\python27\python.exe c:\headphones\headphones.py" minus quotes and paths adjusted for your system. I really don't think it matters but you may want to try putting the headphones directory on the root of c:\
Mike