tis-hwinfo icon

HWiNFO® 64_is1

Paquet d’installation silencieuse pour HWiNFO® 64_is1

8.28-1

  • package: tis-hwinfo
  • name: HWiNFO® 64_is1
  • version: 8.28-1
  • categories: Utilities
  • maintainer: WAPT Team,Tranquil IT,Amel FRADJ
  • licence: opensource_free,wapt_public
  • target_os: windows
  • architecture: x64
  • signature_date:
  • size: 18.14 Mo
  • homepage : https://www.hwinfo.com/

package           : tis-hwinfo
version           : 8.28-1
architecture      : x64
section           : base
priority          : optional
name              : HWiNFO® 64_is1
categories        : Utilities
maintainer        : WAPT Team,Tranquil IT,Amel FRADJ
description       : detailed equipment information and real-time monitoring
depends           : 
conflicts         : 
maturity          : PROD
locale            : 
target_os         : windows
min_wapt_version  : 2.3
sources           : 
installed_size    : 
impacted_process  : 
description_fr    : informations détaillées sur le matériel et surveillance en temps réel
description_pl    : szczegółowe informacje o sprzęcie i monitorowanie w czasie rzeczywistym
description_de    : detaillierte Informationen über das Material und Echtzeitüberwachung
description_es    : información detallada sobre los equipos y supervisión en tiempo real
description_pt    : informações pormenorizadas sobre o equipamento e monitorização em tempo real
description_it    : informazioni dettagliate sulle apparecchiature e monitoraggio in tempo reale
description_nl    : gedetailleerde informatie over apparatuur en real-time monitoring
description_ru    : подробная информация об оборудовании и мониторинг в режиме реального времени
audit_schedule    : 
editor            : 
keywords          : 
licence           : opensource_free,wapt_public
homepage          : https://www.hwinfo.com/
package_uuid      : 0a9bd259-8cfe-46a0-bc0d-a309745496dc
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 
max_os_version    : 
icon_sha256sum    : 01d7c96b191848b53f2a276727201b35f80b0cf898326430c60849503eb0f792
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2025-07-01T08:01:18.000000
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
signature         : wydJVMLhFe1s+MfVE9SJZU75gLd0uBPkAOw3WpS3Q60FCSRSOneY8dBQctwkdLy4hJRyiDw5qd74vDdw3SjARRLnyJRSRilynLKK8w59BH4/vJJ67cvM7tAkzHY6AYw8agh/THtamewjgwF4l187vj3aZcTpI5q3xP1o35TYKUpWgIdMxQppevi1rnPe/tMXB8Bq69NLrVfmNBajVcpDVYWr6D06prAxi+xhL12yOXOZEte2bCLMUpj6F+04rnnkCUgBV9RNgK3Mi3E3ge1KclDDJlAEPn514Qfu9aM6XiOrPW9CdD+Ba5jPo4BlXlTnsVaiMFs3Hufm0JzFaXzdzg==

# -*- coding: utf-8 -*-
from setuphelpers import *

r"""
Usable WAPT package functions: install(), uninstall(), session_setup(), audit(), update_package()

"""
# Declaring global variables - Warnings: 1) WAPT context is only available in package functions; 2) Global variables are not persistent between calls


def install():
    # Declaring local variables
    bin_name = glob.glob('hwi*.exe')[0]
    # Installing the software
   
    install_exe_if_needed(bin_name,
        silentflags='/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-',
        key='HWiNFO® 64_is1',
        min_version=control.get_software_version(),)



# -*- coding: utf-8 -*-
from setuphelpers import *
from setupdevhelpers import *
import requests


def update_package():
    # Déclaration des variables locales
    package_updated = False
    proxies = get_proxies_from_wapt_console()
    if not proxies:
        proxies = get_proxies()
      

    url = "https://sourceforge.net/projects/hwinfo/files/Windows_Installer/"
    response = requests.get(url)
    headers = bs_find_all(url,"th","headers")

    if headers:
        first_header = headers[0]
        a_tag = first_header.find("a")
        if a_tag:
            first_link = a_tag['href']
            version = first_link.split('/')[-2].rsplit('_')[-1].rsplit('.exe')[0]
            print(f"First version found: {version}")

     # Trouver tous les éléments <tr> avec la classe file et le titre correspondant à la version
    requet = requests.get(url + version).text
    rows = bs_find_all(requet, "tr",  class_name="file")
    target_title = f"hwi64_{version}.exe"
    
    latest_bin = target_title
    download_url = "https://freefr.dl.sourceforge.net/project/hwinfo/Windows_Installer/" + latest_bin

   
    # Downloading latest binaries
    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)

    #nettoyer les fichiers temporaires
    for f in glob.glob('*.exe'):
        if f != latest_bin:
            remove_file(f)

    version =get_version_from_binary(latest_bin)
    control.set_software_version(version)
    control.save_control_to_wapt()
    

    

38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
f03210e885ab05a322fe9c58e06e090cb962a5538eaf15b4771e5bdb09191767 : WAPT/control
01d7c96b191848b53f2a276727201b35f80b0cf898326430c60849503eb0f792 : WAPT/icon.png
c92e60d5bff8e92c95c96549d5f965d0c89e6972c1db41ceba08dce1f8f076b2 : hwi64_828.exe
1580299a864f66bd46b7706dc8b0ece1f83d9d60d468beb7d90236871a51b552 : luti.json
86f68b449d3b4f9a57e9e488a17deb11042c551407c29c6d06b482f1d21b9e58 : setup.py
2bbe68b928ee03df61733908b8c0b3b4b3542477c084f40f5306f8f39c54bd06 : update_package.py