Seite 1 von 1

Installation des Microsoft Office 2021-Pakets

Veröffentlicht: 22. Januar 2023 - 03:34 Uhr
von Khunio
Hallo,

ich bräuchte Hilfe bei der Installation von Microsoft Office 2021, da diese sich deutlich von der Installation von Microsoft Office 2016 unterscheidet.

Mit freundlichen Grüßen.

Betreff: Installation des Microsoft Office 2021-Pakets

Veröffentlicht: 27. Januar 2023 - 11:13 Uhr
von Eyji
Guten Morgen,

Ich habe dasselbe Problem bei der Installation des Office 2021-Pakets...

Code: Alle auswählen

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

r"""
Usable WAPT package functions: install(), uninstall(), session_setup(), audit(), update_package()

"""
# Declaring global variables - Warnings: 1) WAPT context is only available in package functions; 2) Global variables are not persistent between calls


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)

    print('ProPlus2021Volume')
    cmd = r'setup.exe /configure "configuration-Office2021.xml"'
    killsoft()
    run(cmd,timeout=1200,accept_returncodes=[1641,3010,0])
    
Und das ist die Fehlermeldung, die ich erhalte...

Code: Alle auswählen

*** Remote Interpreter Reinitialized ***
Ligne de Commande : install "C:\waptdev\wapt-microsoft-office-2021_16.0.14326.20152_Windows_PROD\WAPT\.."
Using config file: C:\Program Files (x86)\wapt\wapt-get.ini
Installing WAPT files C:\waptdev\wapt-microsoft-office-2021_16.0.14326.20152_Windows_PROD
ProPlus2021Volume
2023-01-27 11:09:21,938 CRITICAL Fatal error in install script: CalledProcessErrorOutput: Command 'setup.exe /configure "configuration-Office2021.xml"' returned non-zero exit status 1603.
Output::
Traceback (most recent call last):
  File "C:\Program Files (x86)\wapt\common.py", line 4074, in install_wapt
    exitstatus = setup.install()
  File "C:\waptdev\wapt-microsoft-office-2021_16.0.14326.20152_Windows_PROD\setup.py", line 21, in install
    run(cmd,timeout=1200,accept_returncodes=[1641,3010,0])
  File "C:\Program Files (x86)\wapt\common.py", line 3851, in run
    return ensure_unicode(run(*arg, pidlist=self.pidlist,**args))
  File "C:\Program Files (x86)\wapt\waptutils.py", line 2112, in run
    raise CalledProcessErrorOutput(proc.returncode, cmd, ''.join(output))
waptutils.CalledProcessErrorOutput: Command 'setup.exe /configure "configuration-Office2021.xml"' returned non-zero exit status 1603.
Output:

FATAL ERROR : CalledProcessErrorOutput: Command 'setup.exe /configure "configuration-Office2021.xml"' returned non-zero exit status 1603.
Output:
Exit code:  3
>>> 
Hier ist meine XML-Datei...

Code: Alle auswählen

<Configuration ID="d662e083-01aa-4b49-8d05-2c41c49e458f">
  <Add OfficeClientEdition="64" Channel="PerpetualVL2021">
    <Product ID="ProPlus2021Volume">
      <Language ID="fr-fr" />
      <ExcludeApp ID="Lync" />
    </Product>
  </Add>
  <Property Name="SharedComputerLicensing" Value="0" />
  <Property Name="FORCEAPPSHUTDOWN" Value="TRUE" />
  <Property Name="DeviceBasedLicensing" Value="0" />
  <Property Name="SCLCacheOverride" Value="0" />
  <Property Name="AUTOACTIVATE" Value="1" />
  <Updates Enabled="FALSE" />
  <RemoveMSI>
    <IgnoreProduct ID="InfoPath" />
    <IgnoreProduct ID="InfoPathR" />
    <IgnoreProduct ID="PrjPro" />
    <IgnoreProduct ID="PrjStd" />
    <IgnoreProduct ID="SharePointDesigner" />
    <IgnoreProduct ID="VisPro" />
    <IgnoreProduct ID="VisStd" />
  </RemoveMSI>
  <Display Level="None" AcceptEULA="TRUE" />
</Configuration>

Betreff: Installation des Microsoft Office 2021-Pakets

Veröffentlicht: 12. Juni 2023 - 11:46 Uhr
von den Gälen
NACHTRAG: Ich habe es endlich geschafft, mein Office 2021-Paket mit tis-microsoft-office-template