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.
Automation of software allocation based on existing systems
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
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
- sfonteneau
- WAPT Expert
- Messages: 2318
- Registered: July 10, 2014 - 11:52 PM
- Contact :
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"