Hi Wyatt
We are planning to integrate WyBuild/WyUpdate mechanism with one of our project that deploys two windows services under the same .exe file. For example:static class Program{ /// <summary> /// The main entry point for the application. /// </summary> static void Main() { ServiceBase[] ServicesToRun; ServicesToRun = new ServiceBase[] { new EreportScheduler(), new ReportMailScheduler() }; ServiceBase.Run(ServicesToRun); }}
Your walkthrough/tutorial for the AutomaticUpdaterBackend is excellent, but it explains that the instance need to be created in the OnStart method of the service.
What happen is that my two windows services are working with the same .exe file hence I have two OnStart events in each service.
I believe that the event auBackend_ReadyToBeInstalled(object sender, EventArgs e) will be triggered only for one service.
It is possible to use the AutomaticUpdaterBackend from the main program instead of the service? Will the auBackend.InstallNow(); method stop all services under the same .exe?
Kind RegardsJorge Choy