Index: remoting/host/installer/win/chromoting.wxs |
diff --git a/remoting/host/installer/win/chromoting.wxs b/remoting/host/installer/win/chromoting.wxs |
index 58a766cbe4eed8b5de6697a46f5a7c822e5d6c15..bd982813fcf56c0cb1cf23caad56fb1e5878aa48 100644 |
--- a/remoting/host/installer/win/chromoting.wxs |
+++ b/remoting/host/installer/win/chromoting.wxs |
@@ -217,7 +217,18 @@ |
Start="demand" |
Account="LocalSystem" |
ErrorControl="ignore" |
- Interactive="no" /> |
+ Interactive="no"> |
+ <!-- Configure the service to restart after one minute when it |
+ crashes. |
+ --> |
+ <util:ServiceConfig |
+ xmlns:util="http://schemas.microsoft.com/wix/UtilExtension" |
+ FirstFailureActionType="restart" |
+ ResetPeriodInDays="1" |
+ RestartServiceDelayInSeconds="60" |
+ SecondFailureActionType="restart" |
+ ThirdFailureActionType="restart"/> |
+ </ServiceInstall> |
<ServiceControl Id="start_service" |
Stop="both" |