Hallo zusammen.
Leider besteht immer noch ein kleines Problem.
Nun habe ich mit dem MS-Anpassungstool die *.MSP-Datei erstellt, welche die Installation ja automatisieren soll.
Nun mit einem Script sollte dies ja funktionieren, doch leider ruft dieser "nur" die normale Installation auf... d. h muss man trotz der MSP-Datei alles selber eintragen und installieren.
Beim MS-Anpassungstool wählte ich beim erstellen "Aktuelle Einstellungen beibehalten", zur Auswahl standen noch; "Office Open XML-Formate" und "OpenDocument-Formate".
Danach änderte ich die "Lizentz und Benutzeroberfläche" damit die Clients keinen Key eingeben müssen und die Installation auch nicht abbrechen können.
Danach alles gespeichert und wie Ihr im Script sieht, alles im selben Netzwerkordner hinterlegt.
Doch wie schon oben genannt, fragt Office trotz der Extra-erstellten MSP-Datei nach dem Key...
Hier noch das Insall-Script;
REM #####################################################################
REM Set Variables
REM #####################################################################
REM Get ProductName from the Office product's core Setup.xml file, and then add "office14." as a prefix.
set ProductName=Office14.PROPLUSR
REM Set ConfigFile to the configuration file to be used for deployment (required)
set LogLocation=\\homer\Apps\Programme\Pack10\Office
REM Set DeployServer to a network-accessible location containing the Office source files.
set DeployServer=\\homer\Apps\Programme\Pack10\Office
REM Set AdminFile to a network-accessible pre-configured .MSP File
set AdminFile=\\homer\Apps\Programme\Pack10\Office\config.MSP
REM #####################################################################
REM Deployment code begins here. Do not modify anything below this line.
REM #####################################################################
reg query HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\%ProductName%
if %errorlevel%==1 (goto deployOffice) else (goto End)
REM If 1 returned, the product was not found. Run setup here.
:deployOffice
start /wait %DeployServer%\setup.exe /adminfile %AdminFile%
echo %date% %time% Setup ended with error code %errorlevel%. >> %LogLocation%\%computername%.txt
REM If 0 or other was returned, the product was found or another error occurred. Do nothing.
:End
Besten Dank für eure Hilfe