Popular: Data updated October 27, 2026

Categories

Internet1,356
Communication321
Audio & video898
Graphics & design539
Office & productivity1,124
Developer tools3,134
AI tools529
Security & privacy385
System tools3,114
Games523
Education & science239
Network & IT284

GnuWin32: Tree silent install & uninstall

A recursive directory listing program that produces a depth indented listing of files.

Commands for installing GnuWin32: Tree without prompts, removing it again and detecting it from deployment tools. A command is shown only when it is certain: from the manifest or the installer technology’s documented default.

Related guide: Silent install switches: MSI, NSIS, Inno Setup · Uninstall a program with the registry or PowerShell

With winget

PowerShell
winget install --id GnuWin32.Tree -e --silent --accept-package-agreements --accept-source-agreements
winget upgrade --id GnuWin32.Tree -e --silent
winget uninstall --id GnuWin32.Tree -e --silent

By installer

32-bit · EXE (Inno Setup) · All users

Silent installdownload /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-
Custom folderdownload /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\gnuwin32-tree"

PowerShell: download, verify, install

Downloads the official file, checks its SHA256 and installs it silently.

install-gnuwin32-tree.ps1
$url = 'https://sourceforge.net/projects/gnuwin32/files/tree/1.5.2.2/tree-1.5.2.2-setup.exe/download'
$sha256 = 'CAA82D34F3E6A2A044BB015F8BA572881603777CF63FA62046EEB92045C75872'
$file = Join-Path $env:TEMP 'download'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process -FilePath $file -ArgumentList '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-' -Wait

More from GnuWin32

See all
  • FileFile: determine file type; Complete package, except sources
  • GnuWin32: M4M4: macro processor
  • GnuWin32: BisonYacc-compatible parser generator
  • GnuWin32: CpioGNU cpio copies files into or out of a cpio or tar archive. The archive can be another file on the disk, a magnetic tape, or a pipe.
  • GnuWin32: DiffUtilsGNU Diffutils is a package of several programs related to finding differences between files.
  • GnuWin32: FindUtils`find' is a program which searches a directory tree to find a file or group of files.

Share