Page 1 of 1

Software Installation Timeout

Published: September 28, 2015 - 12:46 PM
by SebastienLE
Hello,

thank you for WAPT, it's really very practical! We're using it in production on 500 PCs.

We're trying to install Office 2010 apps via WAPT and we're having a timeout problem.

Example with OneNote:
In setup.py, we add the concept of a timeout -> 30 minutes
run('"setup.exe" /adminfile msponenote.MSP',timeout=1800).

When the computer is shut down, the installation starts, but the PC shuts down after 10 minutes, and we get the following error in the PC's log file: c:\appli\wapt\log\waptservice.log

installing ars-onenote2010
2015-09-28 11:25:53,204 ERROR Traceback (most recent call last):
File "c:\appli\wapt\lib\site-packages\rocket\main.py", line 143, in start
time.sleep(THREAD_STOP_CHECK_INTERVAL)
IOError: [Errno 4] Interrupted function call.

Is it possible to manage this automatic shutdown of the computer after 10 minutes?
We've looked everywhere and changed a few variables, but nothing works; in every case, the unit shuts down after 10 minutes (exactly 10 minutes - tested with a stopwatch ^^)....

Thank you in advance for your help.
Sincerely,
SebastienLE

Re: Software Installation Timeout

Published: September 28, 2015 - 2:38 PM
by htouvet
Hello, yes indeed...
see:
http://lists.tranquil.it/pipermail/wapt ... 00897.html

Regards,
Hubert

Re: Software Installation Timeout

Published: September 28, 2015 - 5:17 PM
by SebastienLE
Thanks for the reply.

I did indeed add the `timeout` variable to my `run` command.
The error is no longer related to a timeout during installation; it works perfectly if I force the installation (direct installation, not installation after PC shutdown).

SebastienLE