make sure the agent can be started after install
This commit is contained in:
@@ -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 }
|
||||
|
||||
Reference in New Issue
Block a user