Página 1 de 1
Instalación del paquete de Microsoft Office 2021
Publicado: 22 de enero de 2023 - 03:34
por khunio
Hola,
me gustaría recibir ayuda para instalar el paquete de Microsoft Office 2021, que es bastante diferente al de Microsoft Office 2016.
Atentamente.
Re: Instalación del paquete de Microsoft Office 2021
Publicado: 27 de enero de 2023 - 11:13 a. m.
por Eyji
Buen día,
Estoy teniendo el mismo problema al instalar el paquete de Office 2021...
Código: Seleccionar todo
# -*- 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])
Y ese es el error que me sale...
Código: Seleccionar todo
*** 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
>>>
Aquí está mi archivo XML...
Código: Seleccionar todo
<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>
Re: Instalación del paquete de Microsoft Office 2021
Publicado: 12 de junio de 2023 - 11:46
por gaelds
EDIT: Finalmente logré crear mi paquete de Office 2021 usando tis-microsoft-office-template