[SOLVED] Office 2019 Pro Package

Questions about WAPT Packaging / Requests and help regarding Wapt packages.
Forum Rules
Community Forum Rules
* English support on www.reddit.com/r/wapt
* French community support is available on this forum
* Please prefix the topic title with [RESOLVED] if it is resolved.
* Please do not edit a topic that is tagged [RESOLVED]. Open a new topic referencing the old one.
* Specify the installed WAPT version, full version, and build number (2.2.1.11957 / 2.2.2.12337 / etc.) as well as the Enterprise/Discovery edition.
* Versions 1.8.2 and earlier are no longer supported. The only questions accepted regarding version 1.8.2 are related to upgrading to a supported version (2.1, 2.2, etc.).
* Specify the server OS (Linux/Windows) and version (Debian Buster/Bullseye - CentOS 7 - Windows Server 2012/2016/2019).
* Specify the OS of the administration/package creation machine and the machine with the problematic agent, if applicable (Windows 7/10/11/Debian 11/etc.).
* Avoid asking multiple questions when opening a topic, otherwise it may be ignored. If there are multiple topics, open separate topics, preferably one after the other and not all at the same time (i.e., do not spam the forum).
* Include code snippets, screenshots, and other images directly in the post. Links to Pastebin, Bitly, and other third-party sites will be systematically removed.
* As with any community forum, support is provided voluntarily by members. If you require commercial support, you can contact Tranquil IT's sales department at 02.40.97.57.55
Locked
clafon
Messages: 109
Registration: Nov 06, 2024 - 10:56

November 13, 2024 - 09:57

Wapt version: 2.5.5.15697 - Enterprise Edition
Server OS: Debian 12
Target operating systems: Windows 10
Os Machine administration: Win server 2022

Good morning,
We have only recently acquired WAPT Entreprise. We are still in the learning phase.
We deployed our operating system using WAPT, installing the Office 2019 Pro package (custom configuration.xml file with our license). Until recently, this worked perfectly, but we've been getting an error message:

  • Error during initial installation:

Code: Select all

Erreur lors de l'installation de ['lgd-microsoft-office-2019-professional(=16.0.10415.20025-18)']: erreurs dans les paquets [[PackageRequest(package='lgd-microsoft-office-2019-professional',version=(Version('16.0.10415.20025'), 18),architectures=['x64'],locales=['fr'],maturities=['PROD'],tags=['windows-10', 'win-10', 'w-10', 'windows10', 'win10', 'w10', 'windows', 'win', 'w'],min_os_version=Version('10.0.19045'),max_os_version=Version('10.0.19045')), PackageEntry('lgd-microsoft-office-2019-professional','16.0.10415.20025-18' architecture='x64',maturity='PROD',target_os='windows'), 'Traceback (most recent call last):\n  File "C:\\Program Files (x86)\\wapt\\common.py", line 5348, in install\n    result = self.install_wapt(p.localpath,\n  File "C:\\Program Files (x86)\\wapt\\common.py", line 4328, in install_wapt\n    raise e\n  File "C:\\Program Files (x86)\\wapt\\common.py", line 4235, in install_wapt\n    exitstatus = setup.install()\n  File "C:\\Windows\\TEMP\\waptfe7ihpew\\setup.py", line 29, in install\n  File "C:\\Program Files (x86)\\wapt\\common.py", line 4165, in new_func\n    return func(*args, **kwargs)\n  File "C:\\Program Files (x86)\\wapt\\setuphelpers_windows.py", line 1689, in install_exe_if_needed\n    run(r\'"%s" %s\' % (exe, silentflags), accept_returncodes=accept_returncodes, timeout=timeout, pidlist=pidlist)\n  File "C:\\Program Files (x86)\\wapt\\waptutils.py", line 2177, in run\n    raise CalledProcessErrorOutput(proc.returncode, cmd, \'\'.join(output))\nwaptutils.CalledProcessErrorOutput: Command \'"setup.exe" /configure configuration.xml\' returned non-zero exit status 202.\nOutput:\n']]
Traceback (most recent call last):
  File "<string>", line 1943, in run
  File "C:\Program Files (x86)\wapt\waptservice\waptservice_common.py", line 737, in run
    self._run()
  File "C:\Program Files (x86)\wapt\waptservice\waptservice_common.py", line 1341, in _run
    raise Exception(_('Error during install of {}: errors in packages {}').format(
Exception: Erreur lors de l'installation de ['lgd-microsoft-office-2019-professional(=16.0.10415.20025-18)']: erreurs dans les paquets [[PackageRequest(package='lgd-microsoft-office-2019-professional',version=(Version('16.0.10415.20025'), 18),architectures=['x64'],locales=['fr'],maturities=['PROD'],tags=['windows-10', 'win-10', 'w-10', 'windows10', 'win10', 'w10', 'windows', 'win', 'w'],min_os_version=Version('10.0.19045'),max_os_version=Version('10.0.19045')), PackageEntry('lgd-microsoft-office-2019-professional','16.0.10415.20025-18' architecture='x64',maturity='PROD',target_os='windows'), 'Traceback (most recent call last):\n  File "C:\\Program Files (x86)\\wapt\\common.py", line 5348, in install\n    result = self.install_wapt(p.localpath,\n  File "C:\\Program Files (x86)\\wapt\\common.py", line 4328, in install_wapt\n    raise e\n  File "C:\\Program Files (x86)\\wapt\\common.py", line 4235, in install_wapt\n    exitstatus = setup.install()\n  File "C:\\Windows\\TEMP\\waptfe7ihpew\\setup.py", line 29, in install\n  File "C:\\Program Files (x86)\\wapt\\common.py", line 4165, in new_func\n    return func(*args, **kwargs)\n  File "C:\\Program Files (x86)\\wapt\\setuphelpers_windows.py", line 1689, in install_exe_if_needed\n    run(r\'"%s" %s\' % (exe, silentflags), accept_returncodes=accept_returncodes, timeout=timeout, pidlist=pidlist)\n  File "C:\\Program Files (x86)\\wapt\\waptutils.py", line 2177, in run\n    raise CalledProcessErrorOutput(proc.returncode, cmd, \'\'.join(output))\nwaptutils.CalledProcessErrorOutput: Command \'"setup.exe" /configure configuration.xml\' returned non-zero exit status 202.\nOutput:\n']]

Exception: Erreur lors de l'installation de ['lgd-microsoft-office-2019-professional(=16.0.10415.20025-18)']: erreurs dans les paquets [[PackageRequest(package='lgd-microsoft-office-2019-professional',version=(Version('16.0.10415.20025'), 18),architectures=['x64'],locales=['fr'],maturities=['PROD'],tags=['windows-10', 'win-10', 'w-10', 'windows10', 'win10', 'w10', 'windows', 'win', 'w'],min_os_version=Version('10.0.19045'),max_os_version=Version('10.0.19045')), PackageEntry('lgd-microsoft-office-2019-professional','16.0.10415.20025-18' architecture='x64',maturity='PROD',target_os='windows'), 'Traceback (most recent call last):\n  File "C:\\Program Files (x86)\\wapt\\common.py", line 5348, in install\n    result = self.install_wapt(p.localpath,\n  File "C:\\Program Files (x86)\\wapt\\common.py", line 4328, in install_wapt\n    raise e\n  File "C:\\Program Files (x86)\\wapt\\common.py", line 4235, in install_wapt\n    exitstatus = setup.install()\n  File "C:\\Windows\\TEMP\\waptfe7ihpew\\setup.py", line 29, in install\n  File "C:\\Program Files (x86)\\wapt\\common.py", line 4165, in new_func\n    return func(*args, **kwargs)\n  File "C:\\Program Files (x86)\\wapt\\setuphelpers_windows.py", line 1689, in install_exe_if_needed\n    run(r\'"%s" %s\' % (exe, silentflags), accept_returncodes=accept_returncodes, timeout=timeout, pidlist=pidlist)\n  File "C:\\Program Files (x86)\\wapt\\waptutils.py", line 2177, in run\n    raise CalledProcessErrorOutput(proc.returncode, cmd, \'\'.join(output))\nwaptutils.CalledProcessErrorOutput: Command \'"setup.exe" /configure configuration.xml\' returned non-zero exit status 202.\nOutput:\n']]
Traceback (most recent call last):
  File "<string>", line 1943, in run
  File "C:\Program Files (x86)\wapt\waptservice\waptservice_common.py", line 737, in run
    self._run()
  File "C:\Program Files (x86)\wapt\waptservice\waptservice_common.py", line 1341, in _run
    raise Exception(_('Error during install of {}: errors in packages {}').format(
Exception: Erreur lors de l'installation de ['lgd-microsoft-office-2019-professional(=16.0.10415.20025-18)']: erreurs dans les paquets [[PackageRequest(package='lgd-microsoft-office-2019-professional',version=(Version('16.0.10415.20025'), 18),architectures=['x64'],locales=['fr'],maturities=['PROD'],tags=['windows-10', 'win-10', 'w-10', 'windows10', 'win10', 'w10', 'windows', 'win', 'w'],min_os_version=Version('10.0.19045'),max_os_version=Version('10.0.19045')), PackageEntry('lgd-microsoft-office-2019-professional','16.0.10415.20025-18' architecture='x64',maturity='PROD',target_os='windows'), 'Traceback (most recent call last):\n  File "C:\\Program Files (x86)\\wapt\\common.py", line 5348, in install\n    result = self.install_wapt(p.localpath,\n  File "C:\\Program Files (x86)\\wapt\\common.py", line 4328, in install_wapt\n    raise e\n  File "C:\\Program Files (x86)\\wapt\\common.py", line 4235, in install_wapt\n    exitstatus = setup.install()\n  File "C:\\Windows\\TEMP\\waptfe7ihpew\\setup.py", line 29, in install\n  File "C:\\Program Files (x86)\\wapt\\common.py", line 4165, in new_func\n    return func(*args, **kwargs)\n  File "C:\\Program Files (x86)\\wapt\\setuphelpers_windows.py", line 1689, in install_exe_if_needed\n    run(r\'"%s" %s\' % (exe, silentflags), accept_returncodes=accept_returncodes, timeout=timeout, pidlist=pidlist)\n  File "C:\\Program Files (x86)\\wapt\\waptutils.py", line 2177, in run\n    raise CalledProcessErrorOutput(proc.returncode, cmd, \'\'.join(output))\nwaptutils.CalledProcessErrorOutput: Command \'"setup.exe" /configure configuration.xml\' returned non-zero exit status 202.\nOutput:\n']]
  • Error during another attempt:

Code: Select all

Installing: setup.exe (16.0.10415.20025)
Traceback (most recent call last):
  File "C:\Program Files (x86)\wapt\common.py", line 4235, in install_wapt
    exitstatus = setup.install()
  File "C:\Windows\TEMP\wapt3tn64l92\setup.py", line 29, in install
  File "C:\Program Files (x86)\wapt\common.py", line 4165, in new_func
    return func(*args, **kwargs)
  File "C:\Program Files (x86)\wapt\setuphelpers_windows.py", line 1689, in install_exe_if_needed
    run(r'"%s" %s' % (exe, silentflags), accept_returncodes=accept_returncodes, timeout=timeout, pidlist=pidlist)
  File "C:\Program Files (x86)\wapt\waptutils.py", line 2177, in run
    raise CalledProcessErrorOutput(proc.returncode, cmd, ''.join(output))
waptutils.CalledProcessErrorOutput: Command '"setup.exe" /configure configuration.xml' returned non-zero exit status 202.
Output:

CalledProcessErrorOutput: Command '"setup.exe" /configure configuration.xml' returned non-zero exit status 202.
Output:
Do you have any suggestions? Thank you
clafon
Messages: 109
Registration: Nov 06, 2024 - 10:56

November 15, 2024 - 3:55 PM

Problem solved.
Contrary to what we were told during training (or perhaps we misunderstood), we shouldn't add our own XML configuration file (containing our serial number) but rather modify the one included in the package. Otherwise, if our configurations differ from those in the WAPT file, the computer will try to download the missing files from the internet, and since our computers don't have internet access during OS deployment, this results in the error message mentioned above.
Thanks to support for guiding us
User avatar
dcardon
WAPT Expert
Messages: 1932
Registration: June 18, 2014 - 09:58
Location: Saint Sébastien sur Loire
Contact :

November 18, 2024 - 8:53 AM

Hi Cédric,

thanks for your feedback. To be more precise, for the package to be truly self-contained, the `update-package()` call that was passed when the package was created must have been run with the same XML that will be used during deployment. Otherwise, some components will not have been pre-downloaded and will therefore need to be downloaded during installation. It might not be obvious at first, but it's quite logical in the end. :-)

Best regards,

Denis
Denis Cardon - Tranquil IT
Share your experiences on WAPT! Send us your blog and article URLs in the "Your Opinion of the forum, and we'll feature them on the WAPT
Locked