21 lines
1.3 KiB
XML
21 lines
1.3 KiB
XML
<CPackWiXPatch>
|
|
<CPackWiXFragment Id="CM_CP_deskflow_daemon.exe">
|
|
<ServiceInstall Description="Controls the Deskflow foreground processes." DisplayName="Deskflow" ErrorControl="normal" Id="ServiceInstall" Name="Deskflow" Start="auto" Type="ownProcess">
|
|
<util:ServiceConfig FirstFailureActionType="restart" ResetPeriodInDays="1" RestartServiceDelayInSeconds="1" SecondFailureActionType="restart" ThirdFailureActionType="restart"/>
|
|
</ServiceInstall>
|
|
<ServiceControl Id="ServiceControl" Name="Deskflow" Remove="uninstall" Start="install" Stop="both"/>
|
|
</CPackWiXFragment>
|
|
<CPackWiXFragment Id="CM_CP_deskflow_server.exe">
|
|
<firewall:FirewallException Id="ServerFirewallException" Name="Deskflow Server" Program="[INSTALL_ROOT]deskflow-server.exe" Scope="any"/>
|
|
</CPackWiXFragment>
|
|
<CPackWiXFragment Id="CM_CP_deskflow_client.exe">
|
|
<firewall:FirewallException Id="ClientFirewallException" Name="Deskflow Client" Program="[INSTALL_ROOT]deskflow-client.exe" Scope="any"/>
|
|
</CPackWiXFragment>
|
|
<CPackWiXFragment Id="#PRODUCT">
|
|
<CustomAction Id="Run_Deskflow" ExeCommand="Deskflow" FileRef="CM_FP_deskflow.exe" Return="asyncNoWait"/>
|
|
<InstallExecuteSequence>
|
|
<Custom Action="Run_Deskflow" OnExit="success" Condition="NOT Installed"/>
|
|
</InstallExecuteSequence>
|
|
</CPackWiXFragment>
|
|
</CPackWiXPatch>
|