uninstall existing LF agents before installing

This commit is contained in:
2023-08-22 16:23:39 -04:00
parent f6ebc2f0fa
commit 3929a896ed
+3
View File
@@ -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}"""