Commands for installing Flock 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 FlockFZ.Flock -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id FlockFZ.Flock -e --silentwinget uninstall --id FlockFZ.Flock -e --silentBy installer
32-bit · EXE (NSIS) · Current user
Silent install
Flock-setup-2.2.513.exe /SCustom folder
Flock-setup-2.2.513.exe /S /D=C:\Apps\flockPowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-flock.ps1
$url = 'https://updates.flock.co/fl_win_electron/Flock-setup-2.2.513.exe'
$sha256 = '324729509D8597C7D0220206B43D5A01B9FB11305A520452D9C50DDF55B58C69'
$file = Join-Path $env:TEMP 'Flock-setup-2.2.513.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