Page 1 of 1

Automation of software allocation based on existing systems

Published: November 18, 2025 - 1:21 PM
by ludo69
Hello,

using WAPT Enterprise on Windows version 2.6.0.17392.

Is there a way to configure the solution as follows:

If WAPT detects that 7-Zip is installed on a PC, configure the update process on that PC so that it can be updated with the 7-Zip repository,
without having to go PC by PC to verify which PCs should have the software?

I'm using 7-Zip as an example, but it's more general.

The idea is to be able to update an existing network, with its existing installations, without forcing a global installation of 7-Zip on all PCs to ensure it's up-to-date on the PCs that already have the software, but only on those PCs. This could be done

via the console or server-side scripts.

Thank you.

Re: Automating software allocation based on existing systems

Published: November 18, 2025 - 1:31 PM
by sfonteneau

Code: Select all

from setuphelpers import *

def install():
    pass

def audit():

    dict_soft_package = {
        'firefox'    :'tis-firefox',
        'chromium'   :'tis-chromium',
        '7-zip'      :'tis-7zip',
        'thunderbird':'tis-thunderbird'
    }

    errors_package=[]
    for soft in dict_soft_package:
        if installed_softwares(soft):
            if not WAPT.is_installed(dict_soft_package[soft]):
                WAPT.install(dict_soft_package[soft])
                if not WAPT.is_installed(dict_soft_package[soft]):
                    errors_package.append(dict_soft_package[soft])


    if errors_package:
        error(errors_package)
    return "OK"
It's up to you to find the correct keywords in doct_soft_package and to set the correct value for "audit_schedule".

Re: Automating software allocation based on existing systems

Published: November 18, 2025 - 2:01 PM
by ludo69
THANKS