make sure the agent can be started after install

This commit is contained in:
2023-08-22 11:40:27 -04:00
parent 9747a38fab
commit 20fb02e026
+5
View File
@@ -44,6 +44,11 @@ Try {
Catch { LogErr $_.Exception.Message }
# Start the agent
If ( Test-Path $PathToAgentExe64 ) {
$PathToAgentExe = $PathToAgentExe64
} ElseIf ( Test-Path $PathToAgentExe32 ) {
$PathToAgentExe = $PathToAgentExe32
}
If ($PathToAgentExe) {
LogMsg "Starting LiquidFiles agent"
Try { Start-Process $PathToAgentExe }