Commands for installing znote 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 alagrede.znote -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id alagrede.znote -e --silentwinget uninstall --id alagrede.znote -e --silentBy installer
64-bit · EXE (NSIS) · Current user · en-US
Silent install
znote-Setup-4.9.3.exe /SCustom folder
znote-Setup-4.9.3.exe /S /D=C:\Apps\znote- Uninstall registry key
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\d78f7af5-e430-5336-833a-b60cdee6f0ec
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-znote.ps1
$url = 'https://github.com/alagrede/znote-app/releases/download/v4.9.3/znote-Setup-4.9.3.exe'
$sha256 = '8B1D18D43D2C562C9845EB61FC746EC5811ECB7EA11CC81E4828F61FCF2A8D80'
$file = Join-Path $env:TEMP 'znote-Setup-4.9.3.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 '/S' -Wait