Softwareverteilung Uninstall Microsoft Office 2019 - VOBS

[Pages:3]Besuchen Sie uns im Internet unter

? 2019 Schulmediencenter des Landes Vorarlberg IT-Regionalbetreuer des Landes Vorarlberg Autor: Erich Vonach 6900 Bregenz, R?merstra?e 15 Alle Rechte vorbehalten

Softwareverteilung ? Uninstall

Microsoft Office 2019

Da bei einer Installation von MS Office XXXX ,,?ber" eine Installation von MS Office 2019 leider Reste der ,,alten" Installation erhalten bleiben, wird DRINGEND empfohlen, zuerst MS Office 2019 zu deinstallieren. Folgende Dateien und Verkn?pfungen w?rden erhalten bleiben: - Startmen?verkn?pfungen - C:\Programme\Microsoft Office\...

ToDo

Kopie des heruntergeladenen Paketes an einen beliebigen Ort auf dem Server z.B. nach \\server\Softwareverteilung\_Kopiervorlagen

Ausf?hren der Datei copy_MS_Office_2019_uninstall.bat. Folgendes wird automatisch ausgef?hrt: o Kopie der Deinstallationsdateien nach \\server\Softwareverteilung\Microsoft\Office_2019_uninstall o Entfernen der Gruppenrichtlinienobjekte von Office 2019 o Entfernen der admx- und adml-Dateien von Office 2019 aus dem CentralStore

Kontrolle des Aufrufs von MS_Office_2019_Uninstall_ProPlus.bat in \\[PDC]\netlogon\Hilfe.bat und entfernen eines ev. vorhandenen Installationsaufrufs.

rem Aufruf der Hilfe-Batchdatei durch startpc.bat rem fuer ev. Installation von RB-Server-Patches

rem Diese Datei bitte nicht l?schen!

rem [ Installation MS Office 2019 PROFESSIONAL ] rem call \\server\Softwareverteilung\Microsoft\Microsoft_Office_2019_ProPlus\MS_Office_2019_ProPlus_Setup.bat

rem [ Deinstallation MS Office 2019 ProPlus ] call \\server\Softwareverteilung\Microsoft\Microsoft_Office_2019_Uninstall\Office_2019_Uninstall_P roPlus.bat

rem [ Installation Windows Live Essentials 2011 Movie Maker ] rem call \\server\Softwareverteilung\Microsoft\Windows_Live_Essentials_2011\wlsetup-all.bat

1 / 3

Softwareverteilung ? Uninstall: Microsoft Office 2019 | Version 1.0

Inhalt der Dateien

Uninstall-complete.xml

Uninstall-parts.xml

PIDKEY = MAK-Key --> --> --> --> NUR bei MAK-Key-Aktivierung - END-->

Office_2019_Uninstall_ProPlus.bat

@ECHO OFF PUSHD %~dp0 setlocal :: :: ******************** :: * SERVER-ermitteln * :: ********************

2 / 3

Softwareverteilung ? Uninstall: Microsoft Office 2019 | Version 1.0

:: if EXIST "\\server\netlogon" goto noDFS if EXIST "\\schule.aps\netlogon" goto DFS :: :noDFS set MYSERVER=Server set MYSERVER1=Server set MYSERVER2=Server goto SETUP :: :DFS set MYSERVER=schule.aps set MYSERVER1=schule.aps\dfs set MYSERVER2=DCSchule goto SETUP :: :SETUP :: REM ********************************************************************* REM Environment customization begins here. Modify variables below. REM ********************************************************************* :: REM Get ProductName from the Office product's core Setup.xml file. set ProductName=PROPLUS set RegistryKey=Office19.PROPLUS :: ::---------Set DeployServer to a network-accessible location containing the Office source files. set DeployServer=\\%MYSERVER1%\Softwareverteilung\Microsoft\Office_2019_Uninstall :: ::---------Set ConfigFile to the required configuration file to be used for uninstalling Office set ConfigFile=\\%MYSERVER1%\Softwareverteilung\Microsoft\Office_2019_Uninstall\Uninstall-complete.xml ::---------Set LogLocation to a central directory to collect log files. set LogLocation=\\%MYSERVER1%\Logs :: REM ********************************************************************* REM Deployment code begins here. Do not modify anything below this line. REM ********************************************************************* :: if /i "%PROCESSOR_ARCHITECTURE%"=="x86" set MyProgramFiles=%ProgramFiles% if /i "%PROCESSOR_ARCHITECTURE%"=="AMD64" set MyProgramFiles=%ProgramFiles(x86)% :: IF NOT "%ProgramFiles(x86)%"=="" (goto ARP64) else (goto ARP86) ::-------------Operating system is x64. Check for 32 bit Office in emulated Wow6432 registry key :ARP64 reg query HKLM\SOFTWARE\WOW6432NODE\Microsoft\Office\15.0\ClickToRun\propertybag if NOT %errorlevel%==0 (goto End) ::-------------Check for 32 and 64 bit versions of Office 2019 in regular registry key.(Office 64bit would also appear here on a 64bit OS) :ARP86 reg query HKLM\SOFTWARE\Microsoft\Office\15.0\ClickToRun\propertybag if %errorlevel%==0 (goto DeleteOffice) else (goto End) ::-------------If 1 returned, the product was not found. Run setup here.

::

:DeleteOffice

::

cls

color F0

::

::

echo.

echo.

echo.

echo.

echo.

echo

Microsoft Office 2019 ProPlus wird deinstalliert

echo.

echo.

echo.

Bitte um Geduld!

echo.

echo.

start /wait %DeployServer%\setup.exe /configure %ConfigFile%

rem rd "%MyProgramFiles%\Microsoft Office" /S /Q

echo %date% %time% Setup ended with error code %errorlevel%. >> %LogLocation%\%computername%.txt REM If 1 or other was returned, the product was not found or another error occurred. Do nothing. :End Endlocal

3 / 3

Softwareverteilung ? Uninstall: Microsoft Office 2019 | Version 1.0

................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download