2024-11-22 06:37:52 +00:00
<CPackWiXPatch >
<CPackWiXFragment Id= "CM_CP_deskflow_daemon.exe" >
2025-03-07 10:08:39 +00:00
<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" >
2024-11-22 06:37:52 +00:00
<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>