tis-treesizefree

4.4.2-22
TreeSize Free is a free disk space manager for Windows. The software shows you the sizes of folders including all subfolders
3944 downloads
Download
See build result See VirusTotal scan
tis-treesizefree icon
  • package : tis-treesizefree
  • name : TreeSize Free
  • version : 4.4.2-22
  • categories : System and network,Utilities
  • maintainer : WAPT Team,Tranquil IT,Jimmy PELÉ,Gaëtan SEGAT
  • editor : JAM Software
  • licence : proprietary_free,wapt_public
  • locale : all
  • target_os : windows
  • impacted_process : TreeSizeFree
  • architecture : x64
  • signature_date : 2023-06-04 12:00
  • size : 9.82 Mo
  • installed_size : 10.60 Mo
  • homepage : https://www.jam-software.com/treesize_free
package           : tis-treesizefree
version           : 4.4.2-22
architecture      : x64
section           : base
priority          : optional
name              : TreeSize Free
categories        : System and network,Utilities
maintainer        : WAPT Team,Tranquil IT,Jimmy PELÉ,Gaëtan SEGAT
description       : TreeSize Free is a free disk space manager for Windows. The software shows you the sizes of folders including all subfolders
depends           : 
conflicts         : 
maturity          : PROD
locale            : all
target_os         : windows
min_wapt_version  : 2.1
sources           : https://www.jam-software.com/treesize_free#different-versions-for-different-requirements
installed_size    : 10602173
impacted_process  : TreeSizeFree
description_fr    : TreeSize Free est un gestionnaire d'espace disque gratuit pour Windows. Le logiciel vous indique la taille des dossiers et de leurs sous-dossiers
description_pl    : TreeSize Free to darmowy menedżer przestrzeni dyskowej dla systemu Windows. Program pokazuje rozmiary folderów wraz ze wszystkimi podfolderami
description_de    : TreeSize Free ist ein kostenloser Speicherplatzmanager für Windows. Die Software zeigt Ihnen die Größe von Ordnern einschließlich aller Unterordner an
description_es    : TreeSize Free es un gestor de espacio en disco gratuito para Windows. El software le muestra los tamaños de las carpetas incluyendo todas las subcarpetas
description_pt    : O TreeSize Free é um gestor de espaço em disco gratuito para Windows. O software mostra-lhe o tamanho das pastas, incluindo todas as subpastas
description_it    : TreeSize Free è un gestore di spazio su disco gratuito per Windows. Il software mostra le dimensioni delle cartelle, comprese tutte le sottocartelle
description_nl    : TreeSize Free is een gratis schijfruimtebeheerder voor Windows. De software toont u de grootte van mappen inclusief alle submappen
description_ru    : TreeSize Free - это бесплатный менеджер дискового пространства для Windows. Программа показывает размеры папок, включая все вложенные папки
audit_schedule    : 
editor            : JAM Software
keywords          : treesize,treesizer,free,freespace,freeing,space,hdd,ssd,disk,hard,drive,solid,state,mft,scan,management,ntfs,file,files,folder,folders,find,seek
licence           : proprietary_free,wapt_public
homepage          : https://www.jam-software.com/treesize_free
package_uuid      : 4fdd7668-4600-4969-9697-31bb338d5018
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : https://www.jam-software.com/treesize_free/changes.shtml
min_os_version    : 6.0
max_os_version    : 
icon_sha256sum    : 3caece36b6a0823ffa11c9f0500d2bad6b99d9c452d1ab0468ca49296c3fe783
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature         : BipJcQAbyxwu5m8DA6L3pg+Wj9IIyF8w3vyw/XS4+WqXUxy4bhcz/l3a5Y9mKpWgRZXM9TE23l1aGmhF0JdxFJydDtMz9TLHRjnQ2H36Itu5dsvwvfuuIpjS2f1zp8oBipJEirHcVP7miMx4i7C/a9xrWaXA2NwTJ3sxe+vG/abU0dyk1cUeCgRaJl1FxXm54YncaCJML7CiV4Tb8jTHhfgC1s8ao3rygZpBmVOtnpF+SWu5t9EIwovyD2NHpjP6X8HpC67BJ7cOZfCdCoMT5XmjXgbyVqEnDurcZupzU6qDUBjyTG/YsmJrDTev959f27U0vSYsDqj3Dtv5X1ZiXg==
signature_date    : 2023-06-04T12:00:52.622503
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 *
import xml.etree.ElementTree as ET

app_uninstallkey = "TreeSize Free_is1"


def install():
    bin_name = glob.glob("TreeSizeFreeSetup*.exe")[0]
    install_exe_if_needed(
        bin_name,
        silentflags="/VERYSILENT /SUPPRESSMSGBOXES /NORESTART",
        key=app_uninstallkey,
        min_version=control.get_software_version(),
    )
    # Adding QuietUninstallString
    quiet_uninstall_string = installed_softwares(uninstallkey=app_uninstallkey)[0]["uninstall_string"] + " /VERYSILENT /SUPPRESSMSGBOXES /NORESTART"
    register_uninstall(app_uninstallkey, quiet_uninstall_string=quiet_uninstall_string)


def session_setup():
    print("Disabling: update check, pop-ups and context menu once")
    # C:\Users\username\AppData\Roaming\JAM Software\TreeSize Free\GlobalOptions.xml
    user_conf_dir = makepath(application_data, "JAM Software", "TreeSize Free")
    user_conf_file = makepath(user_conf_dir, "GlobalOptions.xml")
    user_conf_content = """<?xml version="1.0" encoding="UTF-8"?>
<GlobalOptions Version="3" AppVersion="0" Type="TGlobalOptions">
	<ContextMenuEntries>4</ContextMenuEntries>
	<AskForRestartAsAdministrator>False</AskForRestartAsAdministrator>
	<DoNotAskAgainList Type="TSerializableStringIntDictionary"></DoNotAskAgainList>
	<CheckForUpdateOptions Type="TCheckForUpdateOptions">
		<LatestOnlineVersion>0</LatestOnlineVersion>
		<LastAutomaticCheckForUpdate>0</LastAutomaticCheckForUpdate>
		<CheckForUpdatesAutomatically>False</CheckForUpdatesAutomatically>
	</CheckForUpdateOptions>
</GlobalOptions>
"""
    if not isdir(user_conf_dir):
        mkdirs(user_conf_dir)
    if isfile(user_conf_file):
        user_conf_tree = ET.parse(user_conf_file)
        user_conf_content = user_conf_tree.getroot()

        for conf in user_conf_content.iter("CheckForUpdateOptions"):
            if conf.get("Type") == "TCheckForUpdateOptions":
                for children in conf.getchildren():
                    if children.tag == "CheckForUpdatesAutomatically":
                        children.text = "False"
                        user_conf_tree.write(user_conf_file, encoding="utf-8")
        # 	<DoNotAskAgainList Type="TSerializableStringIntDictionary"></DoNotAskAgainList>
        if registry_readstring(HKEY_CURRENT_USER, r"Software\WAPT\TreeSize Free", "DisableContextMenuEntriesOnce") == "Done":
            for conf in user_conf_content.iter("ContextMenuEntries"):
                conf.text = "4"
                user_conf_tree.write(user_conf_file, encoding="utf-8")
                registry_setstring(HKEY_CURRENT_USER, r"Software\WAPT\TreeSize Free", "DisableContextMenuEntriesOnce", "Done")
    else:
        file_open = open(user_conf_file, "w")
        file_open.write(user_conf_content)
        file_open.close()
        registry_setstring(HKEY_CURRENT_USER, r"Software\WAPT", "TreeSize Free", "DisableContextMenuEntriesOnce")
# -*- coding: utf-8 -*-
from setuphelpers import *


def update_package():
    # Declaring local variables
    package_updated = False
    proxies = get_proxies()
    if not proxies:
        proxies = get_proxies_from_wapt_console()
    os_dict = {
        "6.2": "https://downloads.jam-software.de/treesize_free/TreeSizeFreeSetup.exe",
        "6.0": "https://downloads.jam-software.de/treesize_free/TreeSizeFreeSetup_Vista_Win7.exe",
    }
    download_url = os_dict[control.min_os_version]
    latest_bin = download_url.split("/")[-1]

    # Deleting binaries
    for f in glob.glob("*.exe") + glob.glob("*.msi"):
        print("Removing: %s" % f)
        remove_file(f)

    # 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)

    # Changing version of the package
    version = get_version_from_binary(latest_bin)
    if Version(version, 4) > Version(control.get_software_version(), 4):
        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()

    # Validating or not update-package-sources
    return package_updated
3222d0a4b0607023c323745dd1089ec84f154430b1f26441805bf3238c567238 : setup.py
24023783b8c49c02d96093207bdd6f3bb116bc7f189f34bbdc8dd5784004dd92 : TreeSizeFreeSetup_Vista_Win7.exe
32e28f3679e8c62cbc83d5a40ba77bdcf732ff2e95cd5820f343064dc81f32ae : update_package.py
3caece36b6a0823ffa11c9f0500d2bad6b99d9c452d1ab0468ca49296c3fe783 : WAPT/icon.png
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
c243e75f4dd65f001fb9c651ad48c778440a34f9b1ce52a00aa5269b85a35a83 : luti.json
d83c1dac93313206dc5bca9e056f1e6202c99a767f42bd5f0b0277755d71ff32 : WAPT/control