[SOLVED] Package creation - timeout error

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

January 13, 2026 - 4:46 PM

WAPT version: 2.6.1.17567
Server OS: Debian 12
OS machine administration: Windows Server 2019
Target operating system: Windows 11

Good morning,

I was asked to install software for teacher workstations.
So I created a package to install the executable from my administration server, in the following format:

Code: Select all

def install():
    # Declaring local variables

    # Installing the software
    print("Installing: Install_Monde_Espace_Temps.exe")
    install_exe_if_needed('Install_Monde_Espace_Temps.exe',
        silentflags='/S', 
        key='{2E5FC142-68F3-4CE5-AED9-3A74091C5FAC}_is1',
        min_version='1.0'
    )
I also tried:
  • by commenting out the silentflags line or by using /VERYSILENT
    and adding the timeout=1200 option
When I test the command from the PyScripter editor by right-clicking and running on the "WAPT: install" section, the software installs correctly.
However, when I apply it to a machine, the package fails with a "timeout after 600 seconds".
Have I forgotten something?

Thank you
Last edited by clafon on January 14, 2026 - 12:36 PM, edited 1 time.
User avatar
sfonteneau
WAPT Expert
Messages: 2318
Registered: July 10, 2014 - 11:52 PM
Contact :

January 14, 2026 - 11:25

clafon wrote: Jan 13, 2026 - 4:46 PM When I test the command from the PyScripter editor with right click run on the "WAPT: install" part, the software installs correctly.
When you test the software, is it not previously installed?

And when you launch the installation from PyScripter, you click on nothing? (absolutely nothing, no click interaction)
clafon
Messages: 109
Registration: Nov 06, 2024 - 10:56

January 14, 2026 - 11:40

Hello Simon,

no, when I test the software is not already installed.
However, when I launch the installation from PyScripter, there is a pop-up asking for installation confirmation.
User avatar
dcardon
WAPT Expert
Messages: 1932
Registration: June 18, 2014 - 09:58
Location: Saint Sébastien sur Loire
Contact :

January 14, 2026 - 12:04

Hi Cédric,

for the Wapt package to install correctly, the installation must be silent. If there's a popup, the Wapt agent won't click on it automatically.

So, you need to find the right flags to make the application installation completely silent. The Wapt installation wizard will try to find the installer type (innosetup, nsis, msi, etc.) to set the correct flag, but if it's an unknown installer or if the developer has forced a popup to appear (even when the installation is silent), then it will prevent installation.

What's the publisher's website?

If the popup cannot be removed, you should contact the developer to have them fix their executable. If the developer no longer exists (and therefore there will be no more updates), one option is to install it on the wapt development machine and copy the contents of the installed directory into the wapt package.

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
clafon
Messages: 109
Registration: Nov 06, 2024 - 10:56

January 14, 2026 - 12:35

I found the solution by using:
silentflags='/VERYSILENT /SUPPRESSMSGBOXES /SP- /NORESTART',

found here: https://les2t.fr/fr_fr/installshield-in ... e-reponse/
Locked