tis-windirstat icon

WinDirStat

Silent install package for WinDirStat

1.1.2-6
System and network
Utilities
System and network
Utilities

  • package: tis-windirstat
  • name: WinDirStat
  • version: 1.1.2-6
  • categories: System and network,Utilities
  • maintainer: WAPT Team,Tranquil IT,Jimmy PELÉ
  • locale: all
  • target_os: windows
  • impacted_process: windirstat
  • architecture: all
  • signature_date:
  • size: 1.03 Mo
  • installed_size: 815.10 Ko

package           : tis-windirstat
version           : 1.1.2-6
architecture      : all
section           : base
priority          : optional
name              : WinDirStat
categories        : System and network,Utilities
maintainer        : WAPT Team,Tranquil IT,Jimmy PELÉ
description       : WinDirStat (Windows Directory Statistics) is a disk usage statistics viewer and cleanup tool for Windows. On start up, WinDirStat reads the whole directory tree once and then presents it in three useful views
depends           : 
conflicts         : 
maturity          : PROD
locale            : all
target_os         : windows
min_wapt_version  : 1.8
sources           : https://sourceforge.net/projects/windirstat/
installed_size    : 815104
impacted_process  : windirstat
description_fr    : 
description_pl    : 
description_de    : 
description_es    : 
description_pt    : 
description_it    : 
description_nl    : 
description_ru    : 
audit_schedule    : 
editor            : 
keywords          : 
licence           : 
homepage          : 
package_uuid      : f9bbffdf-1a05-453d-ab79-fd40f1d22ae8
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 
max_os_version    : 
icon_sha256sum    : 809489b73f2adc138458398d1b588978c31ddcb6623ab3e407e99bef1557d430
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2024-10-27T16:01:12.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         : PhSMgkQQeQT55tDfFFmOBUSVWXtEVXjScFJxm3U+Gc9FQIJ4+EkxQI5tj/qgBdjlxV0Iw/xMVVGPTPKqIvNl8xl+I0K2auSVb7pQb7ruBZdOvmv8kySMac6Lk/j2g6MwUc/UjRrLtxWfqp35ppkW/U4cnubhHlLWI7vSn7MMWsDCkfBOep5bh+0tOyENkg1B0XuYz0f6REZgSNxRJ3tH9ejOXT2YW9De8Re/qOA9P/PEzv6N+Lot5J8NFomwJApMmjTQCpO9PUMlo0XDvFSwKhReSfPOeG4g2B0pcr5Rm7g8Ll6VQpeO9T6e+oSDn9C+2Otvj5WXMotqJtMV6KSsSA==

# -*- coding: utf-8 -*-
from setuphelpers import *
import platform
import json
import time

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
bin_contains = 'windirstat'
app_uninstallkey = 'WinDirStat'

app_name = "WinDirStat"
app_dir = makepath(programfiles, "WinDirStat")
app_exe = makepath(app_dir, "windirstat.exe")


def install():
    # Installing software
    killalltasks(ensure_list(control.impacted_process))
    if isdir(app_dir):
        remove_tree(app_dir)
    mkdirs(app_dir)
    copytree2(app_name, app_dir, onreplace=default_overwrite)

    #Creating shortcuts
    create_programs_menu_shortcut(app_name, app_exe)


def uninstall():
    # Uninstalling software
    killalltasks(ensure_list(control.impacted_process))
    time.sleep(2)
    if isdir(app_dir):
        remove_tree(app_dir)

    remove_programs_menu_shortcut(app_name)

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

unzipped_dir = "WinDirStat"

def update_package():
    # Declaring local variables
    result = False
    proxies = get_proxies()
    if not proxies:
        proxies = get_proxies_from_wapt_console()
    app_name = control.name

    # Getting latest version information from official sources
    download_url = 'https://sourceforge.net/projects/windirstat/files/windirstat/1.1.2%20installer%20re-release%20%28more%20languages%21%29/windirstat1_1_2_setup.exe/download'
    version = '1.1.2'
    latest_bin = 'windirstat1_1_2_setup.exe'

    print("Latest %s version is: %s" % (app_name, version))
    print("Download URL is: %s" % download_url)

    # Downloading latest binaries
    if not isfile(latest_bin):
        print("Downloading: %s" % latest_bin)
        wget(download_url, latest_bin, proxies=proxies)

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

    # Extracting archive
    if isdir(unzipped_dir):
        remove_tree(unzipped_dir)
    unzip_with_7zip(latest_bin, unzipped_dir)
    remove_file(latest_bin)


    # 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)))
        result = True
    else:
        print("Software version up-to-date (%s)" % Version(version))

    control.version = '%s-%s' % (Version(version), control.version.split('-', 1)[-1])
    #control.set_software_version(version)
    control.save_control_to_wapt()

    # Validating update-package-sources
    return result







38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
e879ef276b78b6a03858436dcebbcebfc6206f80cac617e5969722a81694a4e2 : WAPT/control
809489b73f2adc138458398d1b588978c31ddcb6623ab3e407e99bef1557d430 : WAPT/icon.png
7e08cb4ff81dbb0573c672301681e31b2042682e9a2204673f811455f823dd37 : WinDirStat/$PLUGINSDIR/InstallOptions.dll
6692bd93bcd04146831652780c1170da79aa3784c3c070d95fb1580e339de6c5 : WinDirStat/$PLUGINSDIR/System.dll
d95aed234f932a1c48a2b1b0d98c60ca31f962310c03158e2884ab4ddd3ea1e0 : WinDirStat/$PLUGINSDIR/ioSpecial.ini
3ad2dc318056d0a2024af1804ea741146cfc18cc404649a44610cbf8b2056cf2 : WinDirStat/$PLUGINSDIR/modern-wizard.bmp
f12d0929055567eee4b5842b7e59c34585a03191447de682dc729ad19aa2314f : WinDirStat/$_5_
afc864cfce79b2a6add491a27ea672d958233ed7a97a2cbbce60100d2fa1e670 : WinDirStat/Uninstall.exe
e69da5febb5a2932cbe731e32a5d7f6615bb987a119ef2cedead4555d86144e8 : WinDirStat/shfolder.dll
181a23a56b7649d5e1c882786de531fedfb9e80a58c96ad92871f72a626eac14 : WinDirStat/wdsh0407.chm
8e54bc2dd576d4bfe241e37305a525d80fd9839ed0de2e34abedf49c7f23f5cf : WinDirStat/wdsh040e.chm
bab7db85927f846a6ac584d5fc3fb522e812fc1e505e333728f85efd16b50238 : WinDirStat/wdsh0415.chm
7463df064c98cdb501b2310dcac878f9210a303d50d79431152e3031ae1a224a : WinDirStat/wdsr0405.dll
7867b69c5deff7f949e58eb3ff1b266e66ad3fd252c52334927114e7c53ce27b : WinDirStat/wdsr0407.dll
75ca96992380e5b8e323310a01c8a68805ad76223197d2bdaecc03817d233dea : WinDirStat/wdsr040a.dll
d7fb9404282ca467e0f3e80734a388885c219269d3e9ee78bb66ee9201803ae4 : WinDirStat/wdsr040b.dll
acd0c6b92acb5793a94e820c4d418bd6114c97fe2b9788de73879b8bf220a717 : WinDirStat/wdsr040c.dll
3bb682f3088fac19c4d53b3766a3793630ea19d2be33cb0f26f7f9e5972dc221 : WinDirStat/wdsr040e.dll
e9c30274fcdeaa43acaeba3eac86628107ef60dbea723ececa97008b80f40fba : WinDirStat/wdsr0410.dll
b76f0d27ee66d4bdeb0b12ca7ef8773a563d57a0167ecf151c74837209a86e0c : WinDirStat/wdsr0413.dll
f47cdc2d1ff1c77e3f4e008862d2cf632dc3db5145fa6d2886a0d066c0811eb9 : WinDirStat/wdsr0415.dll
43b0d07767c8fb8aadcaa976bec7f748bbc2591085feb500eb1a453ccd4b982f : WinDirStat/wdsr0419.dll
7ff8234e53b3c7328b179fd6a7223eebea8f73802afaf7fb06ee9ca2b279b8e7 : WinDirStat/wdsr0425.dll
1e87c07744054709d271337d8ce06929429b334d70875605cb68ecc4c6610cd1 : WinDirStat/windirstat.chm
cc3ee246f2710dc9ba9e2a88e3192b88f1db4caa2eefb8641642a33df04e585c : WinDirStat/windirstat.exe
8921637c9175cc550cd9f548a3b50fa4a835b02f6d2e4f2f08e99ec64f7ca7e5 : luti.json
ac89c451509ac870a958eea3b9d7367661a7da86ccf639a5c6e06d873959d842 : setup.py
fd6be8b9fed2645bd3814187c039e932efc5fd7f58aa438c625cf34e74611883 : update_package.py