Commands for installing Screenbits 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 Chehraz.Screenbits -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Chehraz.Screenbits -e --silentwinget uninstall --id Chehraz.Screenbits -e --silentBy installer
64-bit · MSI · en-US
Silent install
msiexec /i Screenbits.Installer-10.10.1-x64.msi /qn /norestartWrite a log
msiexec /i Screenbits.Installer-10.10.1-x64.msi /qn /norestart /l*v "%TEMP%\screenbits-install.log"Uninstall
msiexec /x {5DEAC802-2413-47DD-BE34-4AF640995ED6} /qn /norestart- MSI product code
- {5DEAC802-2413-47DD-BE34-4AF640995ED6}
- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{5DEAC802-2413-47DD-BE34-4AF640995ED6}
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-screenbits.ps1
$url = 'https://screenbits.com/downloads/packages/Screenbits.Installer-10.10.1-x64.msi'
$sha256 = '6C244E799A5702EF7BADA69607599D4BCADC3912938461C160E94122D83ECD0A'
$file = Join-Path $env:TEMP 'Screenbits.Installer-10.10.1-x64.msi'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process msiexec.exe -ArgumentList '/i', ('"{0}"' -f $file), '/qn', '/norestart' -Wait