tis-hwinfo icon

HWiNFO® 64_is1

Paquet d’installation silencieuse pour HWiNFO® 64_is1

8.32-1
Utilities
Utilities

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

package           : tis-hwinfo
version           : 8.32-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      : a4cac432-0826-4940-9f9c-b799564993b9
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-10-19T08:04:06.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         : TKblYnhq/4L54yLc0KPznYV6PnG9jz7zOQoZN1NolCnoyOGj6gmeGzWa3nCwQjixG8K0UPGWILjImjzg7J/Sk2N6eilVIARUJjwdItfsIPh+1X4WuiLn0TxsfInLlWyQ/90VeJ98GeZV+tF/LzCnEw4zk4s+lLCBQyn6abXU1bKtnENZwdhxnd7ycwuSg0edI7T8pP8LQ6LprADsVp7ObbB8ig8fph9vNPtjqlXHMnEn7tBjFqML+13JFBk4+BWIk37tnGkotjfcwI0QXFdj3T+oalaj56XENnnK+DJS6baRSWnChRrVHBNxSmvhxNvgwlvxSG7GGcQ/CEWuO/buDw==

# -*- 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
4ad3ad24b1809e57d589c4927b6e0ec1d7a0483815e587c2dfccf03e46341b5d : WAPT/control
01d7c96b191848b53f2a276727201b35f80b0cf898326430c60849503eb0f792 : WAPT/icon.png
d4b584d7df64a2fe423d64199a1e8c95813e3e0ba31712a301f0816a4f7a9464 : hwi64_832.exe
c53d451c9d50a58d7fc5a42b46882d0753f70d8781512b68c8a32c62466ec8e3 : luti.json
86f68b449d3b4f9a57e9e488a17deb11042c551407c29c6d06b482f1d21b9e58 : setup.py
2bbe68b928ee03df61733908b8c0b3b4b3542477c084f40f5306f8f39c54bd06 : update_package.py