tis-wiztree icon

wiztree

Paquet d’installation silencieuse pour wiztree

4.25-1
System and network
System and network

  • package: tis-wiztree
  • name: wiztree
  • version: 4.25-1
  • categories: System and network
  • maintainer: WAPT Team,Tranquil IT,Amel FRADJ
  • licence: proprietary_restricted,wapt_private
  • target_os: windows
  • architecture: all
  • signature_date:
  • size: 5.03 Mo
  • homepage : https://www.diskanalyzer.com/download

package           : tis-wiztree
version           : 4.25-1
architecture      : all
section           : base
priority          : optional
name              : wiztree
categories        : System and network
maintainer        : WAPT Team,Tranquil IT,Amel FRADJ
description       : WizTree is a fast disk space analysis utility for Windows
depends           : 
conflicts         : 
maturity          : PROD
locale            : 
target_os         : windows
min_wapt_version  : 2.3
sources           : 
installed_size    : 
impacted_process  : 
description_fr    : WizTree est un utilitaire d'analyse d'espace disque très rapide pour Windows
description_pl    : WizTree to bardzo szybkie narzędzie do analizy przestrzeni dyskowej dla systemu Windows
description_de    : WizTree ist ein sehr schnelles Dienstprogramm zur Analyse des Festplattenplatzes für Windows
description_es    : WizTree es una utilidad muy rápida de análisis del espacio en disco para Windows
description_pt    : O WizTree é um utilitário de análise de espaço em disco muito rápido para Windows
description_it    : WizTree è un'utilità di analisi dello spazio su disco molto veloce per Windows
description_nl    : WizTree is een zeer snel hulpprogramma voor het analyseren van schijfruimte onder Windows
description_ru    : WizTree - это очень быстрая утилита для анализа дискового пространства в Windows
audit_schedule    : 
editor            : 
keywords          : 
licence           : proprietary_restricted,wapt_private
homepage          : https://www.diskanalyzer.com/download
package_uuid      : f7623a90-9ae6-458e-9605-7b63d9ae78ab
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 
max_os_version    : 
icon_sha256sum    : 8f177729f8beb2128bdaa6519da4d9af4da060d22fd437e93d3ef432c3582a5b
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2025-03-05T05:00: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         : ocUutVyOtQae0x4zT5tZLzJ2okWxvxXuuf3M2NxU7rl495z1lnxwX0z+uf8F7Rd9bbGhO+YrmUtHdoSZYjrWUEYBIq8cTjJ8x+LHC+a2wAl6UtWGd8QVCOTKUj6AXDSDi7GdJ/h5ONDL5WNtxM/NF1QVzoie6CTRQxntwJ1GtK8eXQmOIKQGy7BMjTpAKFUnaFVfNmlpvVwcnccQyJl9gMgLX17qItoFpn/QsdtD3yzIv+sURfbCOub9D5QvzdEMPylEaqBXSvM/8bBinl1QWEJzTSmnlPW/vMKBYrYlDNofEn6o7zjEgXHmqg3rhqn1wsYBMFtd19TkTCFrniwYPg==

# -*- 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('wiztree*setup.exe')[0]
    # Installing the software
   
    install_exe_if_needed(bin_name,
        silentflags='/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-',
        key='WizTree_is1',
        min_version=control.get_software_version(),
    )



# -*- coding: utf-8 -*-
from setuphelpers import *
from setupdevhelpers import *
import glob
import re


def update_package():
    # Declaring local variables
    package_updated = False
    
    proxies = get_proxies_from_wapt_console()
    if not proxies:
        proxies = get_proxies()

  
    url_base = "https://www.diskanalyzer.com/download"
    response = requests.get(url_base,allow_redirects=True, proxies=proxies)
    # Extract the correct div using bs_find_all
    divs = bs_find_all(response.text, "div","class","container", proxies=proxies)
    exe_file = None
    for div in divs:
        if exe_file:
            break
        links = div.find_all('a', href=True)
        for link in links:
            if link['href'].endswith('.exe'):
                href = link['href']
                exe_file = href
                download_url ="https://www.diskanalyzer.com/" + exe_file
                latest_bin = exe_file.split('/')[-1]
                # Extract version using regex
                version_match = re.search(r'(\d+_\d+)', latest_bin)
                if version_match:
                    version = version_match.group(1).replace('_', '.')
                else:
                    version = "Unknown Version"
                break


    # 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)
        package_updated = True
    else:
        print("Binary is present: %s" % latest_bin)


    # Deleting outdated binaries
    for f in glob.glob('*.exe'):
        if f != latest_bin:
            remove_file(f)

        
    version = get_version_from_binary(latest_bin)
    # Mettre à jour le package
    control.set_software_version(version)
    control.save_control_to_wapt()    
        

38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
7462c0a10a59f04b950f924a10f929fe4b2f556d3a6926ba0dea384ecb5706cb : WAPT/control
8f177729f8beb2128bdaa6519da4d9af4da060d22fd437e93d3ef432c3582a5b : WAPT/icon.png
21f4b4412e1408288770128b46b2a48905a29ebb72828b414f44e198c623a868 : luti.json
f7de46054734d118d5eb1ca616dad89af991d012e0e62b6d1c6cc3885dfb4ec1 : setup.py
d59e83bffaf4563ad5a0810533467a7cf6d439193faa3abd178de08d1fe419e4 : update_package.py
1f1a27d0fe28691396342d4498c7390226160da68dfbf853991716fe81970d52 : wiztree_4_25_setup.exe