Deployment in an Organization

Deployment in an Organization / Installing the Software—Administrators / Automated Deployment on Multiple Devices / Automated Deployment by GPO / Uninstalling a Previous Edition

Uninstalling a Previous Edition

Before installing Antidote 12, you must uninstall any previous editions of Antidote in a manner compatible with its initial deployment mode. For more information on uninstalling, see Appendix A, where you will find the appropriate GUID, for example.

Here is a complete example of a script to uninstall all previous editions of Antidote.

In this example, the existence of Antidote 12 and Connectix files is verified to prevent unnecessary uninstalls each time the script is run.

@echo OFF
rem Warning, this file is encoded in DOS-850

echo Uninstalling ...

set LOCAL_PATH=C:\Program Files\Druide
set ANTIDOTE_PATH=%LOCAL_PATH%\Antidote 12
set CONNECTIX_PATH=%LOCAL_PATH%\Connectix 12
set LOG_PATH=%PROGRAMDATA%\Druide

mkdir "%LOG_PATH%"

if exist "%ANTIDOTE_PATH%\Application\Bin64\Antidote.exe" goto OK_DESANCIENANTIDOTE
if exist "%CONNECTIX_PATH%\Application\Bin64\Connectix.exe" goto OK_DESANCIENANTIDOTE
rem A6 (Antidote RX)
msiexec /qn /x {A474EA56-5DBD-4181-8230-806A4762EA7F} /l*v "%LOG_PATH%\logDesAntidoteRX.txt"
rem A7 (Antidote HD)
msiexec /qn /x {56CDB4FE-895F-4E0D-8BB4-9A8D4310898D} /l*v "%LOG_PATH%\logDesAntidoteHD.txt"
rem A8 (Antidote 8)
msiexec /qn /x {09AAAB09-6DBA-4DD9-9865-54597D3FBCA8} /l*v "%LOG_PATH%\logDesAntidote8.txt"
rem A9 (Antidote 9)
msiexec /qn /x {BFA17B4C-70D3-480F-8476-76197F614AB6} /l*v "%LOG_PATH%\logDesAntidote9.txt"
msiexec /qn /x {BFA17B4C-70D3-480F-8476-76197F614AB7} /l*v "%LOG_PATH%\logDesAntidote9_Module_Français.txt"
msiexec /qn /x {BFA17B4C-70D3-480F-8476-76197F614AB8} /l*v "%LOG_PATH%\logDesAntidote9_English_Module.txt"
rem A10 (Antidote 10)
msiexec /qn /x {134E0741-C569-4E8C-A7FC-7F95B14CAAB1} /l*v "%LOG_PATH%\logDesAntidote10.txt"
msiexec /qn /x {134E0741-C569-4E8C-A7FC-7F95B14CAAB2} /l*v "%LOG_PATH%\logDesAntidote10_Module_Français.txt"
msiexec /qn /x {134E0741-C569-4E8C-A7FC-7F95B14CAAB3} /l*v "%LOG_PATH%\logDesAntidote10_English_Module.txt"
msiexec /qn /x {134E0741-C569-4E8C-A7FC-7F95B14CAAB4} /l*v "%LOG_PATH%\logDesAntidote10_Connectix.txt"
rem A11 (Antidote 11)
msiexec /qn /x {2643823D-D15F-4046-8388-401756A5C921} /l*v "%LOG_PATH%\logDesAntidote11.txt"
msiexec /qn /x {2643823D-D15F-4046-8388-401756A5C922} /l*v "%LOG_PATH%\logDesAntidote11_Module_Français.txt"
msiexec /qn /x {2643823D-D15F-4046-8388-401756A5C923} /l*v "%LOG_PATH%\logDesAntidote11_English_Module.txt"
msiexec /qn /x {2643823D-D15F-4046-8388-401756A5C924} /l*v "%LOG_PATH%\logDesAntidote11_Connectix.txt"
:OK_DESANCIENANTIDOTE