Commands for installing CherryTree 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 Giuspen.Cherrytree -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Giuspen.Cherrytree -e --silentwinget uninstall --id Giuspen.Cherrytree -e --silentBy installer
64-bit · EXE (Inno Setup) · All users · en-US
Silent install
cherrytree_1.7.2.1_win64_setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Custom folder
cherrytree_1.7.2.1_win64_setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\cherrytree"- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{DBA7384C-E1C6-44B5-A3B4-C94F2F0B8C0C}_is1
- Install folder
- %ProgramFiles%\CherryTree
- DisplayVersion
- 1.7.2.1
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-cherrytree.ps1
$url = 'https://github.com/giuspen/cherrytree/releases/download/v1.7.2/cherrytree_1.7.2.1_win64_setup.exe'
$sha256 = '81048BF7B326516DACE5A7078794D7BBE05EC44D5D7BE9492F304B8347A4F898'
$file = Join-Path $env:TEMP 'cherrytree_1.7.2.1_win64_setup.exe'
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