From: Daniel Berger Date: 2008-04-05T11:25:04+09:00 Subject: Re: win32 service Brian Scott wrote: > If I use the following code: > > Service.create('TBWin32Agt', nil, > :service_type => Service::WIN32_OWN_PROCESS, > :description => ' Reporting Agent', > :start_type => Service::AUTO_START, > :error_control => Service::ERROR_NORMAL, > :binary_path_name => 'C:\\TBWin32\\TB Reporting > Agent\\TBWin32ReportingAgt.exe', > :load_order_group => 'Network', > :dependencies => ['W32Time','Schedule'], > :service_start_name => '', > :password => '', > :display_name => 'TBWin32RptAgt', > ) > > I get "unexpected )" error You've got a trailing comma after 'TBWin32RptAgt'. Ruby doesn't like that. Regards, Dan