Seite 1 von 1

Silent (unattended) Softwareverteilung von MS Office 2010

Verfasst: 24 Jun 2010, 13:19
von qvasy
Hallo,
ich bin neu hier im Forum und hab da gleich eine Frage zur Silent (unattended) Installation von MS Office 2010:
  • Mit welcher Version (Lizenz) kann man "MS Office 2010" unattended installieren?
  • Geht dies wirklich erst ab "MS Office 2010 Standard" (Volumenlizensierung)?
    Bei 22 Clients ist dies nämlich ein nicht unbedeutender Kostenfaktor:
    Eine einzelne "Standard"-Lizenz liegt bei rund 360,- EUR, die "Home and Business" bei ca. 165,- EUR (Netto).
  • Hat schonmal jemand versucht, "MS Office 2010 Home and Business" unattended mittels Opsi zu installieren? Was gibt es dabei zu beachten?
Für sachdienliche Hinweise dankt

Stefan

Re: Silent (unattended) Softwareverteilung von MS Office 2010

Verfasst: 25 Jun 2010, 18:48
von COMaction
Hallo,

also ich bin mal ganz frech und sage nein Du wirst es auch Ohne Vol. Lizenz verteilen können. Aber Du kannst dann bestimmt keine msp Dateien mit angeben. Ich weiß aktuell noch nichts über 2010, denke aber es ist wie 2007 aufgebaut. Und das konnte ich auch mit OPSI verteilen.

Gruß
Michael

Re: Silent (unattended) Softwareverteilung von MS Office 2010

Verfasst: 15 Jul 2010, 13:21
von mr.quickly
Das geht auch z.B. schon mit der Home and Business Version.

Auf der Installations CD gibt es einen Ordner der auf ".WW" endet z.B. "D:\SingleImage.WW" in diesem findest Du eine "config.xml" welche als Vorlage dient und benötigt wird um Office 2010 silent zu installieren. Die Datei (config.xml) muss später ins Hauptverzeichnis kopiert werden, wo sich auch die "setup.exe" befindet. Die Produkt Option "SingleImage" musst Du ggf. durch den Namen ersetzen, wie er bei Dir in der "config.xml" im Unterordner ".WW" drin steht.

Unsere Config.xml:

Code: Alles auswählen

<Configuration Product="SingleImage">

	<!-- Level ===> Setup displays the Welcome screen, the Product Key (PIDKEY) page (if needed), the End-User License Agreement (EULA) page (if needed), a progress bar, and the completion notice (if allowed).  -->
	<!-- CompletionNotice ===> Display end notice after installation -->
	<!-- SuppressModal ===>Setup does not display error messages and other dialog boxes that might interrupt the installation -->
	<!-- NoCancel  ===> disable the cancel button (X in upper-right corner of the progress dialog) -->
	<!-- AcceptEula===> The End-User License Agreement is accepted on behalf of the user. Setup does not display the EULA page.  -->
	<Display Level="Basic" CompletionNotice="no" SuppressModal="no" NoCancel="yes" AcceptEula="yes" />

	<!-- Set installation Key -->  
	<PIDKEY Value="XXXXXXXXXXXXXXXXXXXXXXXXXXX" />
		
	<USERNAME Value="<Deine Firma>" />
	<COMPANYNAME Value="<Deine Firma>" />

	  
	<!-- Setup writes installation information to the log file. -->
	<Logging Type="standard" Path="%temp%" Template="Microsoft Office 2010 Home And Business Setup(*).txt" />

  	<!-- Programms which are installed or not -->
	<OptionState Id="ACCESSFiles" State="Absent" Children="force" />
	<OptionState Id="EXCELFiles" State="Local" Children="force" />
	<OptionState Id="OneNoteFiles" State="Absent" Children="force" />
	<OptionState Id="OUTLOOKFiles" State="Local" Children="force" />
	<OptionState Id="PPTFiles" State="Local" Children="force" />
	<OptionState Id="PubPrimary" State="Absent" Children="force" />
	<OptionState Id="SHAREDFiles" State="Local" Children="force" />
	<OptionState Id="TOOLSFiles" State="Local" Children="force" />
	<OptionState Id="WORDFiles" State="Local" Children="force" />
	
</Configuration>
Wir installieren Office mit einem Key und löschen diesen anschließend wieder per Opsi hiermit:

Code: Alles auswählen

[Registry_KeyLoeschen]
deletekey [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\14.0\Registration]
Dadurch wird man beim starten von Office nach seinem Key gefragt und kann dann den passenden OEM Key zur Workstation bzw. zum Laptop eingeben und aktivieren.

Für einen silent Uninstall habe ich mir eine "UninstallConfig.xml" geschrieben, welche ich per Opsi wie folgt aufrufe:

Code: Alles auswählen

[WinBatchUninstall]
"%ProgramFilesDir%\Common Files\Microsoft Shared\OFFICE14\Office Setup Controller\setup.exe" /config "%scriptpath%\UninstallConfig.xml" /uninstall SingleImage
UninstallConfig.xml:

Code: Alles auswählen

<Configuration Product="SingleImage">

	<!-- Level ===> Setup displays the Welcome screen, the Product Key (PIDKEY) page (if needed), the End-User License Agreement (EULA) page (if needed), a progress bar, and the completion notice (if allowed).  -->
	<!-- CompletionNotice ===> Display end notice after installation -->
	<!-- SuppressModal ===>Setup does not display error messages and other dialog boxes that might interrupt the installation -->
	<!-- NoCancel  ===> disable the cancel button (X in upper-right corner of the progress dialog) -->
	<!-- AcceptEula===> The End-User License Agreement is accepted on behalf of the user. Setup does not display the EULA page.  -->
	
	<Display Level="None" CompletionNotice="no" SuppressModal="no" NoCancel="yes" AcceptEula="yes" />
	
	<Setting Id="Reboot" Value="Never" /> 
	<Setting Id="SETUP_REBOOT" Value="Never" />
	
</Configuration>
Ich hoffe das reicht erst mal an Info.

Re: Silent (unattended) Softwareverteilung von MS Office 201

Verfasst: 22 Feb 2011, 13:15
von SvenBalje
Hallo, ich bin ganz neu in dem Thema. Ich versuche Office 2010 auf 60 PCs auszurollen...
Die Config.xml habe ich bereits erstellt und es funktioniert auch. Wie sehen aber die Opsi Scripte aus um das Office 2010 zu installieren und zu deinstallieren?
Hast Du da auch Beispiele?

Re: Silent (unattended) Softwareverteilung von MS Office 201

Verfasst: 24 Feb 2011, 11:35
von rweiss
Hallo zusammen!

Hatte hier auch die Ehre Office 2010 auszurollen, mit einzelnen Keys :(

Um mir die Arbeit einfacher zu machen, bin ich folgendermassen vorgegangen.

1. 2 Files erstellen
Ein File das die Office Keys enthält
Ein File das die Computernamen enthält
2. Bashscript fügt die Files zu gültigen config.xml-Files zusammen, die den namen computername.xml haben.
ACHTUNG: Bei "while [ $k -lt 1 ]; do" muss statt der 1 die Anzahl der Files angegeben, die erzeugt werden soll.
dh.: 50 Clients + 50 Lizenzen=

Code: Alles auswählen

while [ $k -lt 50 ]; do 

Code: Alles auswählen

x=0
for i in `cat CLIENTS`
do
client[$x]=$i
let "x += 1"
done

x=0
for i in `cat KEYS`
do
keys[$x]=$i
let "x += 1"
done

k=0
while [ $k -lt 1 ]; do #HIER ANPASSEN!!!

echo '<Configuration Product="SingleImage">' >> ${client[$k]}
echo '   <Display Level="none" CompletionNotice="no" SuppressModal="no" NoCancel="yes" #AcceptEula="yes" />' >> ${client[$k]}
echo "   <PIDKEY Value=\"${keys[$k]}\" />" >> ${client[$k]}
echo '   <USERNAME Value="motiondrive AG" />' >> ${client[$k]}
echo '   <COMPANYNAME Value="motiondrive AG" />' >> ${client[$k]}
echo '   <Logging Type="standard" Path="%temp%" Template="Microsoft Office 2010 Home And Business Setup(*).txt" />' >> ${client[$k]}
echo '   <OptionState Id="ACCESSFiles" State="Absent" Children="force" />' >> ${client[$k]}
echo '   <OptionState Id="EXCELFiles" State="Local" Children="force" />' >> ${client[$k]}
echo '   <OptionState Id="OneNoteFiles" State="Absent" Children="force" />' >> ${client[$k]}
echo '   <OptionState Id="OUTLOOKFiles" State="Local" Children="force" />' >> ${client[$k]}
echo '   <OptionState Id="PPTFiles" State="Local" Children="force" />' >> ${client[$k]}
echo '   <OptionState Id="PubPrimary" State="Absent" Children="force" />' >> ${client[$k]}
echo '   <OptionState Id="SHAREDFiles" State="Local" Children="force" />' >> ${client[$k]}
echo '   <OptionState Id="TOOLSFiles" State="Local" Children="force" />' >> ${client[$k]}
echo '   <OptionState Id="WORDFiles" State="Local" Children="force" />' >> ${client[$k]}
echo '</Configuration>' >> ${client[$k]}
let "k += 1"
done
Diese Files habe ich im Paket im Unterordner clients abgelegt.
3. Installation mit

Code: Alles auswählen

"%ScriptPath%\HaB_64\setup.exe" /config ""%ScriptPath%\HaB_64\clients\%PCName%"
Davor deinstalliere ich noch alles was an alten Office Relikten rumliegt mit:

Code: Alles auswählen

MsiExec /X{91140000-001A-0000-0000-0000000FF1CE} /q
MsiExec /X{91140000-001A-0000-0000-0000000FF1CE} /q
MsiExec /X{90140000-001A-0407-0000-0000000FF1CE} /q
MsiExec /X{90140000-002A-0000-1000-0000000FF1CE} /q
MsiExec /X{90140000-002A-0407-1000-0000000FF1CE} /q
MsiExec /X{90140000-002C-0407-0000-0000000FF1CE} /q
MsiExec /X{90140000-006E-0407-0000-0000000FF1CE} /q
MsiExec /X{90140000-001F-0410-0000-0000000FF1CE} /q
MsiExec /X{90140000-001F-0407-0000-0000000FF1CE} /q
MsiExec /X{90140000-001F-0409-0000-0000000FF1CE} /q
MsiExec /X{90140000-001F-040C-0000-0000000FF1CE} /q
MsiExec /X{C63E7C60-25EB-11D3-8EDA-00A0C911E8E5} /q
"%ScriptPath%\OffScrub03.vbs" CLIENTALL
"%ScriptPath%\OffScrub07.vbs" CLIENTALL
"%ScriptPath%\OffScrub10.vbs" CLIENTALL
Die Offscrub-vbs Dateien bekommt man bei MS. Die Originaldateien sind sogenannte FIX-ITs.
Die kann man entpacken, und hat dann die vbs Scripte, die mit dem Argument CLIENTALL alles was mit Office 2003/2007/2010 zu tun hat entfernen.

4. Deinstallation
Deinstalliert wird das Home and Business bei mir so:

Code: Alles auswählen

"%ScriptPath%\HaB_64\setup.exe" /config "%ScriptPath%\HaB_64\config_uninstall.xml"
"%ScriptPath%\OffScrub10.vbs" CLIENTALL
Die Uninstall Config ist annähernd identisch mit der geposteten oben.


So, ich hoffe ich konnte mit meinem ersten Post hier weiterhelfen...