Im trying to run a windows service application with wine (downloaded with apt on Debian 4.0, I believe its 1.0.1). The application can install itself by typing "wine app.exe -install". This will return a successfull message saying that the app is installed as a service. When I try to start (wine net start app) the service it says that its already running, which is not. I've looked in the documentation/wiki/forum but haven't found anything that describing how to start/stop a service etc. Am I doing it the right way? Any tip would be helpful! / E
duja wrote:> Am I doing it the right way?Yes. Use 'ps x' to verify if it's running or not. Also try with newer Wine version.
Should I see it running as a seperate app like if I start my service named "app" should I then see app.exe in the "ps x" -list?
duja wrote:> Should I see it running as a seperate app like if I start my service named "app" should I then see app.exe in the "ps x" -list?Yes, as well as few Wine own processes (explorer.exe, wineserver, etc). duja wrote:> EDIT: Is there anyway in wine to see all the installed services?The only way for now is to look under this registry key: [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services] Some entries are not services however but just some registry data. You should for entries with "DisplayName".
duja wrote:> bump :)Why do you need it as service? If it runs from console - then run it that way.
I tried to run it as you said, with "wine winemine" running and then starting the server. But it didn't work :/ Btw, why does wine kill the service if no wine app is running? Shouldn?t a service run in the background like in Windows? / E