deskflow/deploy/windows/wix-patch.xml.in

34 lines
1.4 KiB
XML
Raw Normal View History

<CPackWiXPatch>
<CPackWiXFragment Id="CM_CP_deskflow_daemon.exe">
<ServiceInstall
Description="Runs the Core process on secure desktops (UAC prompts, login screen, etc)."
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>