http://bugs.winehq.org/show_bug.cgi?id=11651
--- Comment #3 from James Hawkins truiken@gmail.com 2008-02-19 19:47:18 --- Oh how I'd love to fix this if I had the time. The problem with a test is that Windows does not use the registry to check for the existence of services when calling CreateService. On Windows, the Service Control Manager service loads the initial services database from the registry at boot, and when checking for the existence of a specific service, it only checks the database, which can be modified by advapi32 Service calls, but not by modifying the registry. The solution is to fully implement the SCM and reimplement the advapi32 service API to call into the SCM service.