I might be wrong but when I set ServiceControl to be Start='install' Stop='both', it restarted my service so I guess I found what I needed. Thank you anyway.
On Tue, Jun 22, 2010 at 1:56 PM, CP YEH <ntde...@gmail.com> wrote: > Thank you for your answer. I have not tried it yet but looking at the > page it is not clear to me how I should this to achieve what I want. I > just want to restart my service after upgrade is complete. Yet, the > page says that we can take actions when there is a failure. Could you > give me little more explanation? Thank you. > > > > On Tue, Jun 22, 2010 at 12:37 PM, Pally Sandher <pally.sand...@iesve.com> > wrote: >> http://wix.sourceforge.net/manual-wix3/util_xsd_serviceconfig.htm >> >> Palbinder Sandher >> Software Deployment & IT Administrator >> T: +44 (0) 141 945 8500 >> F: +44 (0) 141 945 8501 >> >> http://www.iesve.com >> **Design, Simulate + Innovate with the <Virtual Environment>** >> Integrated Environmental Solutions Limited. Registered in Scotland No. >> SC151456 >> Registered Office - Helix Building, West Of Scotland Science Park, >> Glasgow G20 0SP >> Email Disclaimer >> >> -----Original Message----- >> From: CP YEH [mailto:ntde...@gmail.com] >> Sent: 22 June 2010 16:38 >> To: General discussion for Windows Installer XML toolset. >> Subject: [WiX-users] How can I restart service after upgrade? >> >> Dear All, >> >> I would like to restart service when upgrade is done but I could not >> figure out how to do this. Could anyone give me some hint? >> Right now, the way I do upgrade is to use the following command. >> >> msiexec /i "C:\temp\setup.msi" REINSTALL=MainProgram REINSTALLMODE=vo >> >> Thank you. >> >> YEH >> >> ------------------------------------------------------------------------ >> ------ >> ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's >> Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the >> prize list and enter to win: >> http://p.sf.net/sfu/thinkgeek-promo >> _______________________________________________ >> WiX-users mailing list >> WiX-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/wix-users >> >> >> >> ------------------------------------------------------------------------------ >> ThinkGeek and WIRED's GeekDad team up for the Ultimate >> GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the >> lucky parental unit. See the prize list and enter to win: >> http://p.sf.net/sfu/thinkgeek-promo >> _______________________________________________ >> WiX-users mailing list >> WiX-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/wix-users >> > ------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users