From 3929a896ed05e689e5b57784d3a1c354a963a56b Mon Sep 17 00:00:00 2001 From: David Yoder Date: Tue, 22 Aug 2023 16:23:39 -0400 Subject: [PATCH] uninstall existing LF agents before installing --- Install-LiquidFilesOutlookAgent.ps1 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Install-LiquidFilesOutlookAgent.ps1 b/Install-LiquidFilesOutlookAgent.ps1 index afe36f3..bfbd1f9 100644 --- a/Install-LiquidFilesOutlookAgent.ps1 +++ b/Install-LiquidFilesOutlookAgent.ps1 @@ -15,6 +15,9 @@ If ($RunningProcess) { $RunningProcess | Stop-Process -Force } +# Uninstall existing LiquidFiles agent/plugin +Uninstall-MSI -APP_NAME 'LiquidFiles Windows Agent and Outlook Add-in' + # Run the installer $INSTALLER = Download-File -URL $MSIURL LogMsg "Installing Liquid Files Outlook Agent from ""${INSTALLER}"""