myPortal CommunicationsClient Silent Deployment

Neulich hat mich eine E-Mail erreicht die mich sehr erfreut hat, in dieser hat ein Leser der Webseite ein geniales Batch Skript zur Verfügung gestellt.
Dieses dient zur Softwareverteilung von dem myPortal CommunicationsClients.

Fettes DANKE SCHÖN geht an Manuel G. !!!

BOOSTERCARDIP muss natürlich angepasst werden und ggf. auch alles nach /set=“…“ je nachdem was man installieren will davon.

Hier einmal der Inhalt:


@echo off

cls

tasklist /fi „imagename eq osoupd.exe“ |find „:“ > nul if errorlevel 1 taskkill /f /im „osoupd.exe“

tasklist /fi „imagename eq oli.contactcard.exe“ |find „:“ > nul if errorlevel 1 taskkill /f /im „oli.contactcard.exe“

tasklist /fi „imagename eq outlook.exe“ |find „:“ > nul if errorlevel 1 taskkill /f /im „outlook.exe“

if exist „%ProgramFiles(x86)%CommunicationsClientsAutoUpdateAutoUpdate.Client.exe“ „%ProgramFiles(x86)%CommunicationsClientsAutoUpdateAutoUpdate.Client.exe“ /uninstall /quiet „%~dp0CommunicationsClients.exe“ /set=“OLI,FPD“ /repository=BOOSTERCARDIP /autostart /quiet /l=c:tempmyportal.log ping 127.0.0.1 -n 5 > nul

# END OF FILE

Prüfen ob die Installation erfolgreich war tu ich auf die Datei durchführen lassen:

%ProgramFiles(x86)%CommunicationsClientsOutlookIntegrationoli.contractcard.exe

wenn da die Versionsnummer >= 6.3.1.13 z.B. ist.