Windirstat

Vous souhaitez découvrir comment gérer efficacement le déploiement de vos logiciels en entreprise ?

Découvrez WinAppack
Editeur Bernhard Seifert
Copy to clipboard
Description Outil open source d'analyse visuelle de l'utilisation de l'espace disque sous Windows.
Copy to clipboard
Type de licence GPL GNU
Copy to clipboard
Etiquettes / Catégories
Copy to clipboard

Package WinAppack

Windirstat est pris en charge par l'agent WinAppack. Retrouvez ci-dessous le script PowerShell utilisé pour son installation et sa désinstallation, ainsi que le package complet à télécharger.

Version 2.9.3
Copy to clipboard
Archive WinDirStat_MULTI-2026.10.12-2.9.3-64bits-001_4037807565.zip
Copy to clipboard
SHA256 74A847840FB930EA6D5CD871D5007B9B9D291FE1AEC77842AE294739019DB466
Copy to clipboard

Pour vérifier l'intégrité de l'archive, exécutez cette commande PowerShell depuis le dossier de téléchargement. Elle doit renvoyer True.

(Get-FileHash .\WinDirStat_MULTI-2026.10.12-2.9.3-64bits-001_4037807565.zip -Algorithm SHA256).Hash -eq '74A847840FB930EA6D5CD871D5007B9B9D291FE1AEC77842AE294739019DB466'

Script d'installation PowerShell

Copy to clipboard

Ce script nécessite le module WAP.dll (framework WinAppack) pour fonctionner. Il est fourni dans le package zip ci-dessus, dans le même dossier que le script.

param (
    [switch]$UNINSTALL,
    [switch]$INSTALL,
    [switch]$CLOSEAPPMESSAGE,
    [switch]$CLEAN,
    [switch]$DESKTOPSHORTCUT
)
try {
    Import-Module "$PSScriptRoot\WAP.dll"
    WAP\Invoke-WAPEnv

    $DefaultParamInstall = "-INSTALL -DESKTOPSHORTCUT -CLOSEAPPMESSAGE"
    $DefaultParamUninstall = "-UNINSTALL -CLOSEAPPMESSAGE"
    
    $software.Name = 'WinDirStat'
    $software.Language = 'MULTI'
    $software.Release_Date = '2026.10.12'
    $software.Version = '2.9.3'
    $software.Architecture = '64bits'
    $software.Package_Version = '001'
    $software.DiskSpace_Mo_Needed = 500
    $software.RAM_Mo_Needed = 500
    $software.Description = "Disk usage statistics and cleanup tool."
    $software.Publisher = "WinDirStat"
    $software.VisibleProcessesToCloseByUser = @("WinDirStat")
    $software.BackgroundProcessesToKill = @()
    $software.Path_32 = @("$PF86\WinDirStat\WinDirStat.exe")
    $software.Path_64 = @("$PF\WinDirStat\WinDirStat.exe")
    $software.DisplayName = $software.Name

    #############################################################
    # UNINSTALL
    #############################################################
    if($UNINSTALL) {

        WAP\Start-WAPSession "UNINSTALL"

        foreach ($Msi in (WAP\Get-UninstallMSI -PatternDisplayName "^WinDirStat.*" -PatternPublisher "")) { $ExitCode = WAP\Start-Execution -Msi $Msi.GUID }

        WAP\Test-AppPath -Path ($software.Path_32)[0] -Expected $false
        WAP\Test-AppPath -Path ($software.Path_64)[0] -Expected $false

        WAP\Clear-DesktopShortcut -TargetPath ($software.Path_32)[0]
        WAP\Clear-DesktopShortcut -TargetPath ($software.Path_64)[0]

        WAP\Stop-WAPSession
    }


    #############################################################
    # INSTALL
    #############################################################
    if($INSTALL) {

        WAP\Start-WAPSession "INSTALL"

        $ExitCode = WAP\Start-Execution -Msi "$Path\App\WinDirStat*.msi"
        
        WAP\Test-AppPath -Path ($software.Path)[0] -Expected $true

        if($DESKTOPSHORTCUT) {WAP\Set-DesktopShortcut   -TargetPath ($software.Path)[0]}
        else                 {WAP\Clear-DesktopShortcut -TargetPath ($software.Path)[0]}
        
        WAP\Stop-WAPSession
    }
}
catch {
    Write-Output "General Error : $($_.Exception.Message)"
    exit 499
}

Autres logiciels du catalogue

Gestion des cookies
Ce site dépose des cookies pour améliorer votre expérience de navigation.
Consulter la politique de confidentialité