6.2.E - Example Script for Updating an Administrative Installation on a Client Workstation
@echo OFF
rem Warning, do not use this script for an initial deployment.
echo Deploying Antidote 11 : synching client / server...
set REMOTE_PATH=\\SERVEUR\DossierAntidote
set LOCAL_PATH=C:\Program Files (x86)\Druide\Antidote 11
mkdir "%LOCAL_PATH%"
if exist "%LOCAL_PATH%\TemoinMajAntidote" goto OK_ANTIDOTE
msiexec /qn /i "%REMOTE_PATH%\Antidote11.msi" TRANSFORMS="%REMOTE_PATH%\ReseauAntidote.mst;%REMOTE_PATH%\Antidote11-Interface-fr.mst" REINSTALL=all REINSTALLMODE=vomus /l*v "%LOCAL_PATH%\logMajAntidote.txt"
echo . > "%LOCAL_PATH%\TemoinMajAntidote"
:OK_ANTIDOTE
if exist "%LOCAL_PATH%\TemoinMajModuleFrancais" goto OK_MODULE_FR
if not exist "%REMOTE_PATH%\Antidote11-Module-francais.msi" goto OK_MODULE_FR
msiexec /qn /i "%REMOTE_PATH%\Antidote11-Module-francais.msi" TRANSFORMS="%REMOTE_PATH%\Antidote11-Module-francais-Interface-fr.mst" REINSTALL=all REINSTALLMODE=vomus /l*v "%LOCAL_PATH%\logMajModuleFr.txt"
echo . > "%LOCAL_PATH%\TemoinMajModuleFrancais"
:OK_MODULE_FR
if exist "%LOCAL_PATH%\TemoinMajEnglishModule" goto OK_MODULE_EN
if not exist "%REMOTE_PATH%\Antidote11-English-module.msi" goto OK_MODULE_EN
msiexec /qn /i "%REMOTE_PATH%\Antidote11-English-module.msi" TRANSFORMS="%REMOTE_PATH%\Antidote11-English-module-Interface-fr.mst" REINSTALL=all REINSTALLMODE=vomus /l*v "%LOCAL_PATH%\logMajModuleEn.txt"
echo . > "%LOCAL_PATH%\TemoinMajEnglishModule"
:OK_MODULE_EN
if exist "%LOCAL_PATH%\TemoinMajConnectix" goto OK_CONNECTIX
if not exist "%REMOTE_PATH%\Antidote-Connectix11.msi" goto OK_CONNECTIX
msiexec /qn /i "%REMOTE_PATH%\Antidote-Connectix11.msi" TRANSFORMS="%REMOTE_PATH%\ReseauConnectix.mst;%REMOTE_PATH%\Antidote-Connectix11-Interface-fr.mst" REINSTALL=all REINSTALLMODE=vomus /l*v "%LOCAL_PATH%\logMajConnectix.txt"
echo . > "%LOCAL_PATH%\TemoinMajConnectix"
:OK_CONNECTIX
Previous
6.2.D - Example Script for Uninstalling Antidote 11
Next
6.2.F - Example Script for uninstalling Download assistant