Commands for installing BertCut 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 RobWalsh.BertCut -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id RobWalsh.BertCut -e --silentwinget uninstall --id RobWalsh.BertCut -e --silentBy installer
64-bit · EXE · Current user
Silent install
BertCut-win-Setup.exe --silent- Uninstall registry key
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\BertCut
- Install folder
- %LocalAppData%\BertCut
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-bertcut.ps1
$url = 'https://github.com/robgwalsh/bertcut/releases/download/v0.1.0/BertCut-win-Setup.exe'
$sha256 = 'ED6017F49D51D4AFC5BAB0CD2199869BFFF08C2C40DD2E57D4A3F051B188848C'
$file = Join-Path $env:TEMP 'BertCut-win-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 '--silent' -Wait