[GELÖST] Microsoft Office 2019

Fragen zu WAPT-Paketen / Anfragen und Hilfe bezüglich WAPT-Paketen.
Forumregeln
Community-Forumregeln
* Englischer Support auf www.reddit.com/r/wapt
* Französischer Community-Support ist in diesem Forum verfügbar.
* Bitte kennzeichnen Sie gelöste Themen mit [GELÖST].
* Bitte bearbeiten Sie keine Themen, die mit [GELÖST] markiert sind. Erstellen Sie stattdessen ein neues Thema und verweisen Sie auf das alte.
* Geben Sie die installierte WAPT-Version, die vollständige Versionsnummer und die Build-Nummer (2.2.1.11957 / 2.2.2.12337 / usw.) sowie die Enterprise-/Discovery-Edition an.
* Versionen 1.8.2 und älter werden nicht mehr unterstützt. Fragen zu Version 1.8.2 werden nur beantwortet, wenn sie sich auf ein Upgrade auf eine unterstützte Version (2.1, 2.2 usw.) beziehen.
* Geben Sie das Server-Betriebssystem (Linux/Windows) und die Version (Debian Buster/Bullseye – CentOS 7 – Windows Server 2012/2016/2019) an.
* Geben Sie gegebenenfalls das Betriebssystem des Administrations-/Paketerstellungsrechners und des Rechners mit dem problematischen Agenten an (Windows 7/10/11/Debian 11/etc.).
* Vermeiden Sie es, mehrere Fragen in einem Thema zu stellen, da diese sonst möglicherweise ignoriert werden. Falls mehrere Themen relevant sind, erstellen Sie bitte separate Themen, vorzugsweise nacheinander und nicht gleichzeitig (d. h. vermeiden Sie Spam im Forum).
* Fügen Sie Code-Snippets, Screenshots und andere Bilder direkt in Ihren Beitrag ein. Links zu Pastebin, Bitly und anderen Drittanbieterseiten werden systematisch entfernt.
* Wie in jedem Community-Forum erfolgt die Unterstützung freiwillig durch die Mitglieder. Für kommerziellen Support kontaktieren Sie bitte den Vertrieb von Tranquil IT unter +44 2 40 97 57 55.
Gesperrt
agatoi
Nachrichten: 23
Anmeldung: 05. April 2017 - 12:03 Uhr

20. August 2019 – 14:18 Uhr

Guten Morgen,
Ich habe ein Bereitstellungsproblem mit einem Microsoft Office 2019-Paket.

Auf einem Windows 10 Education-Rechner (aktivierte Lizenz) wird während der Installation eine Fehlermeldung angezeigt:

Code: Alle auswählen

installing Office 2019Traceback (most recent call last):
  File "C:\Program Files (x86)\wapt\common.py", line 3846, in install_wapt
    exitstatus = setup.install()
  File "c:\windows\temp\waptsasqmr\setup.py", line 21, in install
  File "C:\Program Files (x86)\wapt\common.py", line 3625, in run
    return ensure_unicode(setuphelpers.run(*arg,pidlist=self.pidlist,**args))
  File "C:\Program Files (x86)\wapt\setuphelpers.py", line 1061, in run
    raise CalledProcessErrorOutput(proc.returncode,cmd,''.join(output))
CalledProcessErrorOutput: Command 'setup.exe /configure ProPlus2019.xml' returned non-zero exit status -2147418113.
Output:
CalledProcessErrorOutput: Command 'setup.exe /configure ProPlus2019.xml' returned non-zero exit status -2147418113.
Output:
Ergebnis des Befehls wapt-get install -l debug aiz-msoffice2019:

Code: Alle auswählen

C:\Windows\system32>wapt-get install -l debug aiz-msoffice2019 > c:\wapt_office2019.txt                                                     
2019-08-20 13:46:52,211 DEBUG Default encoding : ascii                                                                                      
2019-08-20 13:46:52,211 DEBUG Setting encoding for stdout and stderr to cp850                                                               
2019-08-20 13:46:52,259 DEBUG Python path ['C:\\Program Files (x86)\\wapt', 'C:\\Program Files (x86)\\wapt', 'C:\\Program Files (x86)\\wapt\\python27.zip', 'C:\\Program Files (x86)\\wapt\\DLLs', 'C:\\Program Files (x86)\\wapt\\lib', 'C:\\Program Files (x86)\\wapt\\lib\\plat-win', 'C:\\Program Files (x86)\\wapt\\lib\\lib-tk', 'C:\\Program Files (x86)\\wapt', 'C:\\Program Files (x86)\\wapt\\lib\\site-packages', 'C:\\Program Files (x86)\\wapt\\lib\\site-packages\\pywin32-223-py2.7-win32.egg']                                                                  
2019-08-20 13:46:52,259 INFO Using local waptservice configuration C:\Program Files (x86)\wapt\wapt-get.ini                                 
2019-08-20 13:46:52,259 DEBUG Config file: C:\Program Files (x86)\wapt\wapt-get.ini                                                         
2019-08-20 13:46:52,275 DEBUG Thread 2848 is connecting to wapt db                                                                          
2019-08-20 13:46:52,290 DEBUG Using host certificate C:\Program Files (x86)\wapt\private\p-salle-prof-01.stemarie-aizenay.local.pem for repo global auth                                                                                                                                2019-08-20 13:46:52,290 DEBUG Thread 2848 is connecting to wapt db                                                                          
2019-08-20 13:46:52,290 DEBUG DB Start transaction                                                                                          
2019-08-20 13:46:52,290 DEBUG DB commit                                                                                                     
2019-08-20 13:46:52,290 DEBUG Using host certificate C:\Program Files (x86)\wapt\private\p-salle-prof-01.stemarie-aizenay.local.pem for repo wapt auth                                                                                                                                  
2019-08-20 13:46:52,305 DEBUG Using host certificate C:\Program Files (x86)\wapt\private\p-salle-prof-01.stemarie-aizenay.local.pem for repo wapt-host auth                                                                                                                             2019-08-20 13:46:52,305 INFO User Groups:[]                                                                                                 
2019-08-20 13:46:52,305 DEBUG WAPT base directory : C:\Program Files (x86)\wapt                                                             
2019-08-20 13:46:52,305 DEBUG Package cache dir : C:\Program Files (x86)\wapt\cache                                                         
2019-08-20 13:46:52,305 DEBUG WAPT DB Structure version;: 20190606                                                                          
2019-08-20 13:46:52,305 DEBUG Checking if old install in progress                                                                           
2019-08-20 13:46:52,555 DEBUG reset stalled install_status in database                                                                      
2019-08-20 13:46:52,586 DEBUG Loading ssl context with cert C:\Program Files (x86)\wapt\private\p-salle-prof-01.stemarie-aizenay.local.crt and key C:\Program Files (x86)\wapt\private\p-salle-prof-01.stemarie-aizenay.local.pem                                                       2019-08-20 13:47:04,305 INFO   Use cached package file from C:\Program Files (x86)\wapt\cache\aiz-msoffice2019_2019-4_x64.wapt              
2019-08-20 13:47:15,976 DEBUG Stores cert chain check in cache                                                                              
2019-08-20 13:47:15,993 DEBUG Downloaded : {'downloaded': [], 'skipped': [u'C:\\Program Files (x86)\\wapt\\cache\\aiz-msoffice2019_2019-4_x64.wapt'], 'errors': [], 'packages': [PackageEntry(u'aiz-msoffice2019',u'2019-4' architecture=u'x64')]}                                      2019-08-20 13:47:15,993 INFO Register start of install C:\Program Files (x86)\wapt\cache\aiz-msoffice2019_2019-4_x64.wapt as user superuser to local DB with params {}                                                                                                                  2019-08-20 13:47:15,993 INFO Interactive user:superuser, usergroups []                                                                      
2019-08-20 13:47:27,430 INFO Status : Installing package aiz-msoffice2019 version 2019-4 ...                                                
2019-08-20 13:47:27,430 DEBUG DB Start transaction                                                                                          
2019-08-20 13:47:27,430 DEBUG DB commit                                                                                                     
2019-08-20 13:47:27,444 DEBUG DB Start transaction                                                                                          
2019-08-20 13:47:27,444 DEBUG DB commit                                                                                                     
2019-08-20 13:47:27,476 INFO Control data for package C:\Program Files (x86)\wapt\cache\aiz-msoffice2019_2019-4_x64.wapt verified by certificate SSLCertificate cn=srvwapt.stemarie-aizenay.fr                                                                                          2019-08-20 13:47:27,476 INFO Installing package C:\Program Files (x86)\wapt\cache\aiz-msoffice2019_2019-4_x64.wapt                          
2019-08-20 13:47:27,476 INFO Unzipping package C:\Program Files (x86)\wapt\cache\aiz-msoffice2019_2019-4_x64.wapt to directory c:\users\superu~1\appdata\local\temp\waptu5srkc                                                                                                          2019-08-20 13:48:11,522 INFO Package has a setup.py, code signing certificate is required.                                                  
2019-08-20 13:48:11,522 DEBUG Certificate {'countryName': u'FR', 'commonName': u'srvwapt.stemarie-aizenay.fr'} is trusted by root CA srvwapt.stemarie-aizenay.fr                                                                                                                        2019-08-20 13:48:11,522 DEBUG Checking signature with SSLCertificate cn=srvwapt.stemarie-aizenay.fr                                         
2019-08-20 13:48:11,522 DEBUG OK with SSLCertificate cn=srvwapt.stemarie-aizenay.fr                                                         
2019-08-20 13:48:11,522 INFO Package issued by {'countryName': u'FR', 'commonName': u'srvwapt.stemarie-aizenay.fr'}                         
2019-08-20 13:48:29,365 INFO Unzipped files verified by certificate SSLCertificate cn=srvwapt.stemarie-aizenay.fr                           
2019-08-20 13:48:29,365 DEBUG Removing existing persistent dir C:\Program Files (x86)\wapt\private\persistent\fe8904e7-33ea-416b-a450-c6fb2d43344d                                                                                                                                      2019-08-20 13:48:29,365 INFO   sourcing install file c:\users\superu~1\appdata\local\temp\waptu5srkc\setup.py                               
2019-08-20 13:48:29,365 DEBUG Import source c:\users\superu~1\appdata\local\temp\waptu5srkc\setup.py as __waptsetup_2u8375y4xr__            
2019-08-20 13:48:29,395 INFO Install parameters : {}                                                                                        
2019-08-20 13:48:29,395 DEBUG DB Start transaction                                                                                          
2019-08-20 13:48:29,395 DEBUG DB commit                                                                                                     
2019-08-20 13:48:29,427 INFO   executing install script                                                                                     
2019-08-20 13:48:29,427 DEBUG DB Start transaction                                                                                          
2019-08-20 13:48:29,427 DEBUG DB commit installing Office 2019                                                                                                                      
2019-08-20 13:48:30,927 INFO Run "setup.exe /configure ProPlus2019.xml"                                                                     
2019-08-20 13:49:57,532 CRITICAL Fatal error in install script: CalledProcessErrorOutput: Command 'setup.exe /configure ProPlus2019.xml' returned non-zero exit status -2147418113.                                                                                                     Output:: Traceback (most recent call last): File "C:\Program Files (x86)\wapt\common.py", line 3846, in install_wapt exitstatus = setup.install()                                                                                                              File "c:\users\superu~1\appdata\local\temp\waptu5srkc\setup.py", line 21, in install run(cmd,timeout=1200,accept_returncodes=[1641,3010,0]) File "C:\Program Files (x86)\wapt\common.py", line 3625, in run                                                                               return ensure_unicode(setuphelpers.run(*arg,pidlist=self.pidlist,**args)) File "C:\Program Files (x86)\wapt\setuphelpers.py", line 1061, in run raise CalledProcessErrorOutput(proc.returncode,cmd,''.join(output))                                                                     CalledProcessErrorOutput: Command 'setup.exe /configure ProPlus2019.xml' returned non-zero exit status -2147418113.Output:                                                                                                                                                                                                                                                                                 2019-08-20 13:49:57,532 DEBUG Cleaning package tmp dir                                                                                      
2019-08-20 13:49:57,766 DEBUG DB Start transaction                                                                                          
2019-08-20 13:49:57,766 DEBUG DB commit                                                                                                     
2019-08-20 13:49:57,782 DEBUG DB Start transaction                                                                                          
2019-08-20 13:49:57,782 DEBUG DB commit                                                                                                     
2019-08-20 13:49:57,799 DEBUG DB Start transaction                                                                                          
2019-08-20 13:49:57,799 DEBUG DB commit                                                                                                     
2019-08-20 13:49:57,861 DEBUG Removing module: __waptsetup_2u8375y4xr__, refcnt: 4                                                          
2019-08-20 13:49:57,877 DEBUG Checking availability of host packages "[PackageEntry(u'p-salle-prof-01.stemarie-aizenay.local',u'1' )]"      
2019-08-20 13:49:57,877 DEBUG Checking if p-salle-prof-01.stemarie-aizenay.local(=1) is installed/outdated                                  
2019-08-20 13:49:57,891 DEBUG store status in DB                                                                                            
2019-08-20 13:49:57,891 DEBUG DB Start transaction                                                                                          
2019-08-20 13:49:57,891 DEBUG DB commit                                                                                                     
2019-08-20 13:49:57,907 INFO Status :                                                                                                       
2019-08-20 13:49:57,907 DEBUG DB Start transaction                                                                                          
2019-08-20 13:49:57,907 DEBUG DB commit                                                                                                     
2019-08-20 13:49:57,924 CRITICAL Package aiz-msoffice2019 [x64_fr_PROD] not installed due to errors : CalledProcessErrorOutput: Command 'setup.exe /configure ProPlus2019.xml' returned non-zero exit status -2147418113.                                                               Output: Traceback (most recent call last): File "<string>", line 1407, in <module> File "<string>", line 542, in main File "C:\Program Files (x86)\wapt\common.py", line 4850, in install                                                                           force=force File "C:\Program Files (x86)\wapt\common.py", line 3929, in install_waptraise e                                                                                                                                 setuphelpers.CalledProcessErrorOutput: Command 'setup.exe /configure ProPlus2019.xml' returned non-zero exit status -2147418113     
Die setup.py-Datei:

Code: Alle auswählen

# -*- coding: utf-8 -*-
from setuphelpers import *

#Marche pas
uninstallkey = ["ProPlus2019Volume - fr-fr"]
uninstallstring='"C:\Program Files\Common Files\Microsoft Shared\ClickToRun\OfficeClickToRun.exe" scenario=install scenariosubtype=ARP sourcetype=None productstoremove=ProPlus2019Volume.16_fr-fr_x-none culture=fr-fr version.16=16.0 DisplayLevel=False'

def install():

    def killsoft():
      for soft in ("WINWORD.EXE","POWERPNT.EXE","EXCEL.exe","MSPUB.EXE","MSACCESS.EXE","INFOPATH.EXE","lync.exe","ONENOTE.EXE","OUTLOOK.EXE","ONENOTEM.EXE","MSOSYNC.EXE","GROOVE.EXE"):
        if isrunning(soft):
           print ("closing %s" % soft)
           killalltasks(soft)
    softname = "Microsoft Office Professional Plus 2019 - fr-fr"

    print("installing Office 2019")

    cmd = "setup.exe /configure ProPlus2019.xml"
    killsoft()
    run(cmd,timeout=1200,accept_returncodes=[1641,3010,0])
    check_installed_out = installed_softwares(softname)
    if not check_installed_out:
        error("End audit did not find the software.")

def uninstall():
    cmd='"C:\Program Files\Common Files\Microsoft Shared\ClickToRun\OfficeClickToRun.exe" scenario=install scenariosubtype=ARP sourcetype=None productstoremove=ProPlus2019Volume.16_fr-fr_x-none culture=fr-fr version.16=16.0 DisplayLevel=False'
    run(cmd)

    if os.path.isdir("C:\Program Files\Microsoft Office"):
        shutil.rmtree("C:\Program Files\Microsoft Office")
Zur Information: Die Wapt-Bereitstellung mit der gleichen setup.py verlief in einer anderen Einrichtung, in der ich ebenfalls tätig bin, recht gut.
Benutzeravatar
Gaetan
Nachrichten: 169
Anmeldung: 8. August 2019 - 10:16 Uhr
Ort: Toulouse

21. August 2019 - 09:58 Uhr

Guten Morgen,
die Bestellung

Code: Alle auswählen

setup.exe /configure ProPlus2019.xml
Funktioniert es in der Eingabeaufforderung?
agatoi
Nachrichten: 23
Anmeldung: 05. April 2017 - 12:03 Uhr

21. August 2019 – 16:43 Uhr

Ja, ich habe es schon mehrmals problemlos verwendet.

Allerdings habe ich mich entschieden, Office mit einer anderen Methode als Wapt bereitzustellen. Ich habe es in ein FOG-Image integriert und dieses Image bereitgestellt.
Benutzeravatar
Gaetan
Nachrichten: 169
Anmeldung: 8. August 2019 - 10:16 Uhr
Ort: Toulouse

22. August 2019 - 09:13 Uhr

Beim Versuch, den cmd-Befehl zu ändern in

Code: Alle auswählen

r'"setup.exe" /configure ProPlus2019.xml'
Ändert das irgendetwas?
agatoi
Nachrichten: 23
Anmeldung: 05. April 2017 - 12:03 Uhr

29. August 2019 - 11:02 Uhr

Hallo,

Entschuldigung für die Verzögerung.

Es funktioniert jetzt viel besser.

Danke!
Benutzeravatar
Gaetan
Nachrichten: 169
Anmeldung: 8. August 2019 - 10:16 Uhr
Ort: Toulouse

30. August 2019 - 12:13 Uhr

Gute Neuigkeiten.
mickael.lombard
Nachrichten: 7
Anmeldung: 16. Juni 2017 - 10:01 Uhr

15. Juni 2020 - 11:38 Uhr

Guten Morgen,
Ich erstelle ein Office 2019-Paket mit WAPT und bin dabei auf ein Problem gestoßen. Ich möchte die Installationsdateien in das Paket einbinden, habe aber anscheinend ein Problem mit dem Quellpfad.
Wie haben Sie diese Einstellung konfiguriert?
paramOffice.jpg
paramOffice.jpg (28,33 KB) 9188 Aufrufe
DANKE!
Benutzeravatar
Gaetan
Nachrichten: 169
Anmeldung: 8. August 2019 - 10:16 Uhr
Ort: Toulouse

15. Juni 2020 - 22:03 Uhr

Hallo,
ich habe meine Arbeit an diesem Tutorial orientiert, falls es hilfreich ist:
http://reseaux85.fr/index.php?title=Dep ... oft_Office
Gesperrt