http://bugs.winehq.org/show_bug.cgi?id=20630 --- Comment #6 from Austin English <austinenglish(a)gmail.com> 2012-04-03 18:15:49 CDT --- (In reply to comment #5)
@austin
You have to register the service first in newly created WINEPREFIX, e.g.:
--- snip --- $ wine TestService.exe /install --- snip ---
For starting and stopping you need to use the service name, e.g.:
--- snip --- $ wine net start delphitestservice
$ wine net stop delphitestservice --- snip ---
Regards
austin(a)aw25 ~/TestService $ wine TestService.exe /install fixme:service:svcctl_CreateServiceW Don't know how to add a password austin(a)aw25 ~/TestService $ wine net start fixme:service:EnumServicesStatusExW resume handle not supported The following services are running: Test Delphi service Mount Manager Plug and Play Service austin(a)aw25 ~/TestService $ wine net stop delphitestservice The Test Delphi service service is stopping. fixme:service:EnumDependentServicesW 0x11f818 0x00000001 (nil) 0x00000000 0x33dd54 0x33dd50 - stub The Test Delphi service service was stopped successfully. austin(a)aw25 ~/TestService $ wine net start delphitestservice The Test Delphi service service is starting. Service request timeout. austin(a)aw25 ~/TestService $ wine net stop delphitestservice The Test Delphi service service is stopping. fixme:service:EnumDependentServicesW 0x11f818 0x00000001 (nil) 0x00000000 0x33dd54 0x33dd50 - stub The Test Delphi service service was stopped successfully. austin(a)aw25 ~/TestService $ rm -rf ~/.wine austin(a)aw25 ~/TestService $ /opt/oldwine/wine-1.3.1/bin/wine TestService.exe /install wine: created the configuration directory '/home/austin/.wine' Could not load wine-gecko. HTML rendering will be disabled. wine: configuration in '/home/austin/.wine' has been updated. fixme:service:svcctl_CreateServiceW Don't know how to add a password fixme:service:svcctl_CreateServiceW Dependencies not supported yet austin(a)aw25 ~/TestService $ /opt/oldwine/wine-1.3.1/bin/wine net start delphitestservice The Test Delphi service service is starting. Service already running appears to have been fixed for a while. Or am I missing something? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.