make sure the agent can be started after install
This commit is contained in:
@@ -44,6 +44,11 @@ Try {
|
|||||||
Catch { LogErr $_.Exception.Message }
|
Catch { LogErr $_.Exception.Message }
|
||||||
|
|
||||||
# Start the agent
|
# Start the agent
|
||||||
|
If ( Test-Path $PathToAgentExe64 ) {
|
||||||
|
$PathToAgentExe = $PathToAgentExe64
|
||||||
|
} ElseIf ( Test-Path $PathToAgentExe32 ) {
|
||||||
|
$PathToAgentExe = $PathToAgentExe32
|
||||||
|
}
|
||||||
If ($PathToAgentExe) {
|
If ($PathToAgentExe) {
|
||||||
LogMsg "Starting LiquidFiles agent"
|
LogMsg "Starting LiquidFiles agent"
|
||||||
Try { Start-Process $PathToAgentExe }
|
Try { Start-Process $PathToAgentExe }
|
||||||
|
|||||||
Reference in New Issue
Block a user