Office 2019

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
sebastien.layssac
Messages: 1
Registration: June 8, 2021 - 3:25 PM

June 8, 2021 - 3:33 PM

Hello,

I have a package for deploying Office 2019 (created during training) that works, but it frequently encounters 300-second timeout errors. On-premises, it works fairly well, but via VPN to reach remote users, 300 seconds isn't always enough. If the installation is restarted after the error, it eventually completes, but it's really inconvenient.

Here's the error message:

So I modified setup.py with a timeout of 1200. Here's the relevant section of the script:

def install():
print("Installing %s" % softname)

install_exe_if_needed("Setup.exe",
silentflags="/configure Deploiement_MTP.xml",
key=app_uninstallkey,
min_version="16.0",
killbefore=app_list_kill,
timeout=1200)

But now it doesn't work at all...

Here's the error message:

return func(*args,**kwargs)
File "C:\Program Files (x86)\wapt\setuphelpers_windows.py", line 1172, 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\setuphelpers_windows.py", line 3718, in run
raise CalledProcessErrorOutput(proc.returncode,cmd,''.join(output))
CalledProcessErrorOutput: Command '"Setup.exe" /configure Deployment_MTP.xml' returned non-zero exit status -2146994855.
Output:
CalledProcessErrorOutput: Command '"Setup.exe" /configure Deployment_MTP.xml' returned non-zero exit status -2146994855.
Output:


Do you have any ideas? THANKS !
l.costes
Messages: 3
Registration: May 6, 2020 - 09:38

June 11, 2021 - 2:12 PM

Hello, regarding the same question,

are there other timeout variables in WAPT?

It seems that the one passed here as a parameter to the `install_exe_if_needed` is simply passed as an option in the `setup.exe` command.
In the case of Office, we're not sure if this option exists.

Can we extend the timeout in the WAPT script and not in the `setup.exe` command, and where would this setting be configured? :?:
- Laurent
User avatar
dcardon
WAPT Expert
Messages: 1932
Registration: June 18, 2014 - 09:58
Location: Saint Sébastien sur Loire
Contact :

June 15, 2021 - 10:44

Hello,

thank you for posting the requested information in the "forum rules" above.

There shouldn't be any major difference between the behavior of workstations used remotely and those used locally. WAPT packages are downloaded and cached on the workstation before being installed. If you experience longer installation times on your remote workstations, it's because the package isn't self-contained. We would need to see what it's looking for externally.

There's no timeout on the `def install()` function itself. There are timeouts on the `install_*()`, `run()`, and a few others, but not on `def install()`. There is a timeout on the execution of GPOs when the workstation shuts down (Windows timeout), which can be changed in the operating system itself.

Sincerely,

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