Clarification on what the OP wants to do. This is not running a service in wine but starting a program when Wine is started. -----Forwarded Message----- >-----Original Message----- >From: James Mckenzie [mailto:jjmckenzie51@xxxxxxxxxxxxx] >Sent: Wednesday, November 04, 2009 12:00 PM >To: Zhaohui Wang >Subject: Re: how to install a windows service in wine? > >On November 4, 2009, Zhaohui Wang wrote to the Wine Users List about How to install a windows service to Wine: > >Please bottom post, it is how we add replies in this list and it is per RFC 1855. >>-----Original Message----- >>From: wine-users-bounces@xxxxxxxxxx [mailto:wine-users-bounces@xxxxxxxxxx] >>On Behalf Of fachamix >>Sent: Wednesday, November 04, 2009 11:20 AM >>To: wine-users@xxxxxxxxxx >>Subject: Re: how to install a windows service in wine? >> >>NetBios ????? >> >>you should look for SAMBA. >> >>SAMBA is the implkementation of netbios for Linux. >> >>take a look at it ... google it! >> >>windows services at wine .... you cant!. >>because ... imagine the situation .... a service in windows starts up when >>windows starts up , and runs in background mode. >>well .... when we use WINE ,.... WE DONT HAVE A WINDOWS INSTALLED!!!!!, WINE >>.. is a layer, beetwen a windows program and linux, thats all. >> >>hope my reply helps you >> >-----Original Message----- >>From: Zhaohui Wang <zwange@xxxxxxx> >>Sent: Nov 4, 2009 9:37 AM >>To: wine-users@xxxxxxxxxx >>Subject: Re: how to install a windows service in wine? >> >>Thank you! >> >>Yea, netbios (traditional windows services) is what I meant, not samba or >>winbind. >> >> >>But what are the services.exe hosting? >> >> >>Anyone can clarify? >> >The problem is that once you close the last Wine window, Wine terminates. Yes, you can setup a service to start with Wine and run while Wine is running. The solution to having a permanently running process is to leave at least one Wine window open. > >As to the use of NETBIOS, what exactly are you trying to do? Make your system appear to be on the network at all times? There are better methods to do this than leaving Wine running all of the time. > >James McKenzie > >From: Zhaohui Wang <zwange@xxxxxxx> >Sent: Nov 4, 2009 10:20 AM >To: 'James Mckenzie' <jjmckenzie51@xxxxxxxxxxxxx> >Subject: RE: how to install a windows service in wine? > >Thank you James. > >Let me clarify, what I mean by service is what you said" setup a service to start with Wine and run while Wine is running. ", how to do this? > >I don't care the service is persistent or not, it of course will be down if I close wine. > >What I want is when I open an application A in wine, wine also start it (without my command typing ) by wine registry. > >I appreciate your help. > >