diff --git a/Install-LiquidFilesOutlookAgent.ps1 b/Install-LiquidFilesOutlookAgent.ps1 index 6c24459..93839d4 100644 --- a/Install-LiquidFilesOutlookAgent.ps1 +++ b/Install-LiquidFilesOutlookAgent.ps1 @@ -11,7 +11,7 @@ If ( Test-Path $PathToAgentExe64 ) { } # Exit this script if the agent is already installed -If ( Test-Path $PathToAgentExe ) { +If ( $PathToAgentExe ) { LogMsg "LiquidFiles agent is already installed. This installer will exit." Exit }