You want to restart just the service or the entire machine? You can set ServiceControl/@Start='install' & ServiceControl/@Stop='both' if you are talking about a service, but that requires you somehow cause the component containing that service to be re-installed for that to reliably work.
You can add (and condition) a <ScheduleReboot> action in your execute sequence if you are trying to restart the entire machine. You get prompted if you enable the MSI UI, and you get the reboot without prompting if you disable the UI (e.g. msiexec /q) -----Original Message----- From: Ross H [mailto:ro...@subnetsolutions.com] Sent: Tuesday, August 18, 2009 2:00 PM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Restart Service on Change/Repair I managed to get it prompt for restart when a change or repair is done but I would really prefer just to restart the service instead. Is it possible to do this Thanks for the help Ross H wrote: > > In my installer I install a service and optional features that use it. Is > it possible that on a repair or changing what features are installed I > restart the service otherwise I would need to prompt for restart because > this service must be restarted before anything will work properly again. > -- View this message in context: http://n2.nabble.com/Restart-Service-on-Change-Repair-tp3468316p3468578.html Sent from the wix-users mailing list archive at Nabble.com. ---------------------------------------------------------------------------- -- 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 _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ 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 _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users