OLD | NEW |
1 <?xml version="1.0"?> | 1 <?xml version="1.0"?> |
2 <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> | 2 <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> |
3 | 3 |
4 <?define EventSourceName = "chromoting" ?> | 4 <?define EventSourceName = "chromoting" ?> |
5 <?define ServiceName = "chromoting" ?> | 5 <?define ServiceName = "chromoting" ?> |
6 | 6 |
7 <!-- TODO(alexeypa): There strings should be localized, | 7 <!-- TODO(alexeypa): There strings should be localized, |
8 see http://crbug.com/121785 --> | 8 see http://crbug.com/121785 --> |
9 <?if $(var.Branding) ~= Chrome ?> | 9 <?if $(var.Branding) ~= Chrome ?> |
10 <?define ChromotingHost = "Chrome Remote Desktop Host" ?> | 10 <?define ChromotingHost = "Chrome Remote Desktop Host" ?> |
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
210 <ServiceInstall Id="install_service" | 210 <ServiceInstall Id="install_service" |
211 Type="ownProcess" | 211 Type="ownProcess" |
212 Vital="yes" | 212 Vital="yes" |
213 Name="$(var.ServiceName)" | 213 Name="$(var.ServiceName)" |
214 DisplayName="[chromoting_service_display_name]" | 214 DisplayName="[chromoting_service_display_name]" |
215 Description="[chromoting_service_description]" | 215 Description="[chromoting_service_description]" |
216 Arguments="--type=daemon --host-config="[config_fil
es]host.json"" | 216 Arguments="--type=daemon --host-config="[config_fil
es]host.json"" |
217 Start="demand" | 217 Start="demand" |
218 Account="LocalSystem" | 218 Account="LocalSystem" |
219 ErrorControl="ignore" | 219 ErrorControl="ignore" |
220 Interactive="no" /> | 220 Interactive="no"> |
| 221 <!-- Configure the service to restart after one minute when it |
| 222 crashes. |
| 223 --> |
| 224 <util:ServiceConfig |
| 225 xmlns:util="http://schemas.microsoft.com/wix/UtilExtension" |
| 226 FirstFailureActionType="restart" |
| 227 ResetPeriodInDays="1" |
| 228 RestartServiceDelayInSeconds="60" |
| 229 SecondFailureActionType="restart" |
| 230 ThirdFailureActionType="restart"/> |
| 231 </ServiceInstall> |
221 | 232 |
222 <ServiceControl Id="start_service" | 233 <ServiceControl Id="start_service" |
223 Stop="both" | 234 Stop="both" |
224 Remove="uninstall" | 235 Remove="uninstall" |
225 Name="$(var.ServiceName)" | 236 Name="$(var.ServiceName)" |
226 Wait="yes" /> | 237 Wait="yes" /> |
227 | 238 |
228 <?if $(var.RemotingMultiProcess) != 0 ?> | 239 <?if $(var.RemotingMultiProcess) != 0 ?> |
229 <fire:FirewallException xmlns:fire="http://schemas.microsoft.com/wix/F
irewallExtension" | 240 <fire:FirewallException xmlns:fire="http://schemas.microsoft.com/wix/F
irewallExtension" |
230 Id="me2me_firewall_exception" | 241 Id="me2me_firewall_exception" |
(...skipping 377 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
608 <Custom Action="set_service_description" Before="InstallInitialize"> | 619 <Custom Action="set_service_description" Before="InstallInitialize"> |
609 <![CDATA[VersionNT >= 600]]> | 620 <![CDATA[VersionNT >= 600]]> |
610 </Custom> | 621 </Custom> |
611 | 622 |
612 <!-- Schedule RemoveExistingProducts before installing any files. | 623 <!-- Schedule RemoveExistingProducts before installing any files. |
613 See http://msdn.microsoft.com/en-us/library/aa371197.aspx. --> | 624 See http://msdn.microsoft.com/en-us/library/aa371197.aspx. --> |
614 <RemoveExistingProducts After="InstallInitialize" /> | 625 <RemoveExistingProducts After="InstallInitialize" /> |
615 </InstallExecuteSequence> | 626 </InstallExecuteSequence> |
616 </Product> | 627 </Product> |
617 </Wix> | 628 </Wix> |
OLD | NEW |