Page 1 of 1

[SOLVED] Package creation - timeout error

Published: January 13, 2026 - 4:46 PM
by Clafon
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

Re: Package creation - timeout error

Published: January 14, 2026 - 11:25 AM
by sfonteneau
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)

Re: Package creation - timeout error

Published: January 14, 2026 - 11:40 AM
by Clafon
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.

Re: Package creation - timeout error

Published: January 14, 2026 - 12:04 PM
by dcardon
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

Re: Package creation - timeout error

Published: January 14, 2026 - 12:35 PM
by Clafon
I found the solution by using:
silentflags='/VERYSILENT /SUPPRESSMSGBOXES /SP- /NORESTART',

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