
FusionInventory Agent
Paquet d’installation silencieuse pour FusionInventory Agent
2.6-5
- package: tis-fusioninventoryagent
- name: FusionInventory Agent
- version: 2.6-5
- categories: System and network
- maintainer: WAPT Team,Tranquil IT,Simon Fonteneau,Jimmy PELÉ
- editor: FusionInventory
- licence: GPLv2
- locale: all
- target_os: windows
- impacted_process: fusioninventory-agent
- architecture: x64
- signature_date:
- size: 10.18 Mo
- installed_size: 61.02 Mo
- homepage : https://fusioninventory.org/
package : tis-fusioninventoryagent
version : 2.6-5
architecture : x64
section : base
priority : optional
name : FusionInventory Agent
categories : System and network
maintainer : WAPT Team,Tranquil IT,Simon Fonteneau,Jimmy PELÉ
description : FusionInventory is a free software solution for devices inventory & software deployment.
depends :
conflicts :
maturity : PROD
locale : all
target_os : windows
min_wapt_version : 2.0
sources : https://github.com/fusioninventory/fusioninventory-agent/releases
installed_size : 61022208
impacted_process : fusioninventory-agent
description_fr : FusionInventory est une solution logicielle gratuite pour l'inventaire des appareils et le déploiement des logiciels
description_pl : FusionInventory to darmowe oprogramowanie do inwentaryzacji urządzeń i wdrażania oprogramowania
description_de : FusionInventory ist eine kostenlose Softwarelösung für Geräteinventarisierung und Softwareverteilung
description_es : FusionInventory es una solución de software libre para el inventario de dispositivos y el despliegue de software
description_pt : FusionInventory é uma solução de software livre para o inventário de dispositivos e implementação de software
description_it : FusionInventory è una soluzione software gratuita per l'inventario dei dispositivi e la distribuzione del software
description_nl : FusionInventory is een gratis software-oplossing voor het inventariseren van apparaten en het inzetten van software
description_ru : FusionInventory - это бесплатное программное решение для инвентаризации устройств и развертывания программного обеспечения
audit_schedule :
editor : FusionInventory
keywords :
licence : GPLv2
homepage : https://fusioninventory.org/
package_uuid : 683adef2-fb0b-4272-afe3-f47f78228de0
valid_from :
valid_until :
forced_install_on :
changelog :
min_os_version :
max_os_version :
icon_sha256sum : fba3af4f79be43de12a5f9438a98831edc7a08c5761e5f216eb9d9ca5d98b3ff
signer : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature : aHl46pvvE+BWYshZO+4uVEcViqBKqacKTdzKmIJveMF0gQeiZXVPhoyTWWaDzu+qwuWnLII7/qzL3QZf8skNVgz6CisgBDCteoJgeOk8ekUNunT3WpzvqeQbC0dcSJ8vVC8foaMN0rz64D0fpCB4XHnbBkl6WQ7qk92ona13O2MlXA7QrKqvnQm3CBIXuVwlRQvOpNpr6zW25rDgjk7+WiocJwRM25dxIksvNrtmg3M/d3E+2pfR3vEI0nSDOGg9eOknkdufBZqOWihwEZB0WJuO7htGjxAdP/ZxWaKIgKnodJ6cLhoo0ZoAJwbNe0cpldUvjrq6SkFWKMFRXe8tig==
signature_date : 2022-08-10T18:00:18.855886
signed_attributes : package,version,architecture,section,priority,name,categories,maintainer,description,depends,conflicts,maturity,locale,target_os,min_wapt_version,sources,installed_size,impacted_process,description_fr,description_pl,description_de,description_es,description_pt,description_it,description_nl,description_ru,audit_schedule,editor,keywords,licence,homepage,package_uuid,valid_from,valid_until,forced_install_on,changelog,min_os_version,max_os_version,icon_sha256sum,signer,signer_fingerprint,signature_date,signed_attributes
# -*- coding: utf-8 -*-
from setuphelpers import *
server = "http://glpi/glpi/plugins/fusioninventory/"
options = "/no-ssl-check"
def install():
bin_name = glob.glob("fusioninventory-agent_windows-*.exe")[0]
install_exe_if_needed(
bin_name,
silentflags='/S /acceptlicense /server="%s" /execmode=service %s /runnow' % (server, options),
key="FusionInventory-Agent",
min_version=control.get_software_version(),
)
# -*- coding: utf-8 -*-
from setuphelpers import *
import json
def update_package():
# Declaring local variables
package_updated = False
proxies = get_proxies()
if not proxies:
proxies = get_proxies_from_wapt_console()
app_name = control.name
api_url = "https://api.github.com/repos/fusioninventory/fusioninventory-agent/releases/latest"
# Getting latest version information from official sources
print("API used is: %s" % api_url)
json_load = json.loads(wgets(api_url, proxies=proxies))
for download in json_load["assets"]:
version = json_load["tag_name"].split("-")[-1].replace("v", "")
if "%s_%s.exe" % (control.architecture, version) in download["name"]:
download_url = download["browser_download_url"]
latest_bin = download["name"]
break
# Downloading latest binaries
print("Latest %s version is: %s" % (app_name, version))
print("Download URL is: %s" % download_url)
if not isfile(latest_bin):
print("Downloading: %s" % latest_bin)
wget(download_url, latest_bin, proxies=proxies)
else:
print("Binary is present: %s" % latest_bin)
# Checking version from file
version_from_file = get_version_from_binary(latest_bin).split("-")[0]
# if not version_from_file.startswith(version) and version_from_file != '':
if Version(version_from_file) != Version(version) and version_from_file != "":
print("Changing version to the version number of the binary")
os.rename(latest_bin, latest_bin.replace(version, version_from_file))
version = version_from_file
else:
print("Binary file version corresponds to online version")
# Changing version of the package
if Version(version) > Version(control.get_software_version()):
print("Software version updated (from: %s to: %s)" % (control.get_software_version(), Version(version)))
package_updated = True
else:
print("Software version up-to-date (%s)" % Version(version))
control.set_software_version(version)
control.save_control_to_wapt()
# Deleting outdated binaries
remove_outdated_binaries(version)
# Validating update-package-sources
return package_updated
65b2246ec4a2bd45f5bd6f23012cb8be8309f850452a76f7561ed0e4a4cdc69b : setup.py
9fe6de1fab518d5c544f0e908930c140bce498c299050d16db5f47b2d46c1b0c : update_package.py
fba3af4f79be43de12a5f9438a98831edc7a08c5761e5f216eb9d9ca5d98b3ff : WAPT/icon.png
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
489dfc19bc590a54969d21acd888450ead0cb9b6b89a07a04d291d818e4f00ec : luti.json
56482bd4ea451526f59d13c776d6bda2e066b887bd5a8c97f54a375b5db5b340 : fusioninventory-agent_windows-x64_2.6.exe
5969ada1d4f85e278cdf1ec62c7ee4c657d7588b06f30a60baa6819bbf198be1 : WAPT/control