Office 2019 Proplus Opsi-Paket erstellen
-
- Beiträge: 3
- Registriert: 18 Mai 2018, 17:17
Office 2019 Proplus Opsi-Paket erstellen
Moin,
ich habe Probleme beim erstellen das Paketes für Microsoft Office 2019. Bisher habe ich immer "EMCO MSI Converter" benutzt. Da kann wenn man nicht alles ausstellt schon ziemlich viel Schrott mitkommen.
Da ich schon im Forum gelesen habe, dass es bei Office 2019 erschwert ist ein Paket zu erstellen, würde ich das ganze dann über ein Script installieren lassen. Bisher mache ich das über ein Batch-Script, wobei ich dieses bei jedem Client einzeln installieren muss. Wie bekomme ich das Batch-Script zu einer .opsi Datei, damit ich viele Office 2019 Installationen durchführen kann?
Das Batch Script ist ein sehr simples:
Start /wait xcopy "\\10.0.1.60\opsi_depot\microsoftoffice2019instdatein\setup.exe" "C:\tmp"
Start /wait xcopy "\\10.0.1.60\opsi_depot\microsoftoffice2019instdatein\conf-2019-x64.xml" "C:\tmp"
start /wait C:\tmp\setup.exe /download C:\tmp\conf-2019-x64.xml
start /wait C:\tmp\setup.exe /configure C:\tmp\conf-2019-x64.xml
Viele Grüße
Jannyjoker
P.S. ich bin sehr neu in dieser coolen Welt!
ich habe Probleme beim erstellen das Paketes für Microsoft Office 2019. Bisher habe ich immer "EMCO MSI Converter" benutzt. Da kann wenn man nicht alles ausstellt schon ziemlich viel Schrott mitkommen.
Da ich schon im Forum gelesen habe, dass es bei Office 2019 erschwert ist ein Paket zu erstellen, würde ich das ganze dann über ein Script installieren lassen. Bisher mache ich das über ein Batch-Script, wobei ich dieses bei jedem Client einzeln installieren muss. Wie bekomme ich das Batch-Script zu einer .opsi Datei, damit ich viele Office 2019 Installationen durchführen kann?
Das Batch Script ist ein sehr simples:
Start /wait xcopy "\\10.0.1.60\opsi_depot\microsoftoffice2019instdatein\setup.exe" "C:\tmp"
Start /wait xcopy "\\10.0.1.60\opsi_depot\microsoftoffice2019instdatein\conf-2019-x64.xml" "C:\tmp"
start /wait C:\tmp\setup.exe /download C:\tmp\conf-2019-x64.xml
start /wait C:\tmp\setup.exe /configure C:\tmp\conf-2019-x64.xml
Viele Grüße
Jannyjoker
P.S. ich bin sehr neu in dieser coolen Welt!
Re: Office 2019 Proplus Opsi-Paket erstellen
Hallo,
ich verteile Office 2019 über OPSI.
es geht eigentlich problemlos.
Zuerst downloaden "Setup.exe /download office-download.xml" --> OPSI Paket erstellen:
[Winbatch_install_office]
%ScriptPath%\Setup.exe /configure %ScriptPath%\install-Office2019_pro.xml
das was es
Viel Erfolg
ich verteile Office 2019 über OPSI.
es geht eigentlich problemlos.
Zuerst downloaden "Setup.exe /download office-download.xml" --> OPSI Paket erstellen:
[Winbatch_install_office]
%ScriptPath%\Setup.exe /configure %ScriptPath%\install-Office2019_pro.xml
das was es
Viel Erfolg
-
- Beiträge: 66
- Registriert: 17 Sep 2015, 17:55
Re: Office 2019 Proplus Opsi-Paket erstellen
Es ist zwar nicht mehr so einfach und komfortabel wie bei den alten MSI basierten Office Installationen, aber der Weg von alnas klappt wunderbar.
Die DeInstallation erfolgt dann auch durch eine XML Steuerdatei Datei.
Die DeInstallation erfolgt dann auch durch eine XML Steuerdatei Datei.
-
- Beiträge: 3
- Registriert: 02 Mär 2020, 18:00
Re: Office 2019 Proplus Opsi-Paket erstellen
Moin!
Meine "setup.opsiscript" sieht folgendermaßen aus:
[Winbatch_install_office]
\\ipvomserver\opsi_depot\office2019\Setup.exe /download \\10.0.1.60\opsi_depot\office2019\conf-2019-x64.xml
\\ipvomserver\opsi_depot\office2019\Setup.exe /configure \\10.0.1.60\opsi_depot\office2019\conf-2019-x64.xml
Diese habe ich mit dem "OPSI Package Builder" gepackt und das Opsi-Paket auf dem Server installiert.
Datails vom Log: "[1] [Mrz 02 19:56:47:481] [office2019] script finished: success"
Allerdings bricht das Script ohne weiteres ab und sendet ein "success" an den Server.
Was habe ich falsch gemacht?
Viele Grüße
Jannyjoker
Meine "setup.opsiscript" sieht folgendermaßen aus:
[Winbatch_install_office]
\\ipvomserver\opsi_depot\office2019\Setup.exe /download \\10.0.1.60\opsi_depot\office2019\conf-2019-x64.xml
\\ipvomserver\opsi_depot\office2019\Setup.exe /configure \\10.0.1.60\opsi_depot\office2019\conf-2019-x64.xml
Diese habe ich mit dem "OPSI Package Builder" gepackt und das Opsi-Paket auf dem Server installiert.
Datails vom Log: "[1] [Mrz 02 19:56:47:481] [office2019] script finished: success"
Allerdings bricht das Script ohne weiteres ab und sendet ein "success" an den Server.
Was habe ich falsch gemacht?
Viele Grüße
Jannyjoker
-
- Beiträge: 439
- Registriert: 08 Jul 2017, 12:02
Re: Office 2019 Proplus Opsi-Paket erstellen
Moin,nurweilesgeht hat geschrieben:Moin!
Meine "setup.opsiscript" sieht folgendermaßen aus:
[Winbatch_install_office]
\\ipvomserver\opsi_depot\office2019\Setup.exe /download \\10.0.1.60\opsi_depot\office2019\conf-2019-x64.xml
\\ipvomserver\opsi_depot\office2019\Setup.exe /configure \\10.0.1.60\opsi_depot\office2019\conf-2019-x64.xml
ist das die ganze setup.opsiscript ?
-
- Beiträge: 3
- Registriert: 02 Mär 2020, 18:00
Re: Office 2019 Proplus Opsi-Paket erstellen
Moin moin,
wie würde es denn vollständig aussehen? Ich bin selbst noch sehr neu im Opsi-Clientmanagment.
Viele Grüße
jannyjoker
wie würde es denn vollständig aussehen? Ich bin selbst noch sehr neu im Opsi-Clientmanagment.
Viele Grüße
jannyjoker
-
- Beiträge: 439
- Registriert: 08 Jul 2017, 12:02
Re: Office 2019 Proplus Opsi-Paket erstellen
mindestens das da fehlt.
Code: Alles auswählen
[Actions]
Winbatch_install_office
[Winbatch_install_office]
%ScriptPath%\Setup.exe /download %ScriptPath%\conf-2019-x64.xml
%ScriptPath%\Setup.exe /configure %ScriptPath%\conf-2019-x64.xml
Re: Office 2019 Proplus Opsi-Paket erstellen
Moin,
Manuals-Übersicht: https://www.opsi.org/documentationco/manuals/
opsi-Getting-Started: https://download.uib.de/opsi4.1/documen ... -v4.1.html
das komplette opsi-script Manual: http://download.uib.de/opsi_stable/doc/ ... anual.html
opsi-script reference-card: http://download.uib.de/opsi_stable/doc/ ... -card.html
Ich nutze nun schon einige Jahre opsi und muss trotzdem immer wieder reinschauen. Man kann sich halt nicht alles merken. Aber oft hilft es, zu wissen wo es steht.
In deinem setup.opsiscript wäre der Pfad dann anzupassen:
Du könntest auch mit weiteren Variablen Arbeiten, die dir später evtl. Arbeit ersparen, falls es noch um versch. Optionen erweitert werden soll:
Grüße
Christopher
Das kommt auf die Konfiguration der .xml-file drauf an.alnas hat geschrieben: Zuerst downloaden "Setup.exe /download office-download.xml" --> OPSI Paket erstellen:
[Winbatch_install_office]
%ScriptPath%\Setup.exe /configure %ScriptPath%\install-Office2019_pro.xml
das was es
Dann schau dir am Besten mal in Ruhe die Dokumentation an. Es dauert ggf. etwas, ist aber durchaus sehr hilfreich!nurweilesgeht hat geschrieben: wie würde es denn vollständig aussehen? Ich bin selbst noch sehr neu im Opsi-Clientmanagment.
Manuals-Übersicht: https://www.opsi.org/documentationco/manuals/
opsi-Getting-Started: https://download.uib.de/opsi4.1/documen ... -v4.1.html
das komplette opsi-script Manual: http://download.uib.de/opsi_stable/doc/ ... anual.html
opsi-script reference-card: http://download.uib.de/opsi_stable/doc/ ... -card.html
Ich nutze nun schon einige Jahre opsi und muss trotzdem immer wieder reinschauen. Man kann sich halt nicht alles merken. Aber oft hilft es, zu wissen wo es steht.
Dem stimme ich zu. Bei vielen Installationsdateien empfehle ich diese in den Ordner files auszulagern. Auf der Workbench würde die Struktur wie folgt aussehen:Jan.Schmidt hat geschrieben:mindestens das da fehlt.Code: Alles auswählen
[Actions] Winbatch_install_office [Winbatch_install_office] %ScriptPath%\Setup.exe /download %ScriptPath%\conf-2019-x64.xml %ScriptPath%\Setup.exe /configure %ScriptPath%\conf-2019-x64.xml
Code: Alles auswählen
/path/to/workbench/office2019/CLIENT_DATA/files/Setup.exe
/path/to/workbench/office2019/CLIENT_DATA/files/conf-2019-x64.xml
/path/to/workbench/office2019/CLIENT_DATA/setup.opsiscript
...
Code: Alles auswählen
[Winbatch_install_office]
%ScriptPath%\files\Setup.exe /download %ScriptPath%\files\conf-2019-x64.xml
%ScriptPath%\files\Setup.exe /configure %ScriptPath%\files\conf-2019-x64.xml
Code: Alles auswählen
[Actions]
DefVar $setupfile$
DefVar $x64conf$
DefVar $x86conf$
Set $setupfile$ = %ScriptPath% + "\files\Setup.exe"
Set $x64conf$ = %ScriptPath% + "\files\conf-x64.xml"
Set $x86conf$ = %ScriptPath% + "\files\conf-x86.xml"
Winbatch_install_office
[Winbatch_install_office]
$setupfile$ /download $x64conf$
$setupfile$ /configure $x64conf$
Christopher
Let's try something new: opsi-docker