|
From: Lars S. <Lar...@if...> - 2009-11-04 14:23:54
|
Hi Leif You mean on Windows XP from Control Panel->Administrative Tools->Services? I have a control panel for my application that allows the user to set some parameters and there I would like to allow the user to set whether the service should start automatically on system startup or if he/she has to start the service manually. When the user saves the settings I restart the service using WrapperManager.restart(), so it would be nice if the change would take affect at that point. I mean the service should restart, but if the user afterwards restarts the computer the change should have taken affect. I have no specific timing in mind, I just think it would be nice to be able to do it. Since my control panel only comes up when the service is running it would be sufficient to be able to do it while the service is running, but being able to do it when the service is simply installed would probably not hurt. Lars Leif Mortenson wrote: > Lars, > Not currently, no. You can do so from within the Service Control > Panel manually however. Does that work for you? > > If not, what is the timing that you would like to see it changed? > While the service is running, or simply installed. > > Cheers, > Leif > > On Wed, Nov 4, 2009 at 8:44 PM, Lars Schnoor <Lar...@if...> wrote: > >> Hi >> Is there a way to control the wrapper.ntservice.starttype parameter for >> a service that is installed? >> When I change the value for the wrapper.ntservice.starttype in >> wrapper.conf it does not take affect before uninstalling the service and >> then installing it again. I would like to be able to switch between >> AUTO_START and DEMAND_START without reinstalling the service. I am using >> version 3.2.3. >> Thanks in advance! >> >> Lars >> > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Wrapper-user mailing list > Wra...@li... > https://lists.sourceforge.net/lists/listinfo/wrapper-user > |