Commands for installing Snipocket 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 Snipocket.Snipocket -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Snipocket.Snipocket -e --silentwinget uninstall --id Snipocket.Snipocket -e --silentBy installer
64-bit · EXE (NSIS) · Current user
Silent install
Snipocket-Setup-1.1.1.exe /SCustom folder
Snipocket-Setup-1.1.1.exe /S /D=C:\Apps\snipocketPowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-snipocket.ps1
$url = 'https://snipocket.com/download/Snipocket-Setup-1.1.1.exe'
$sha256 = '6D5C8DE6A07BA1D10C6CE21535D1DCDD50B77757CFFA6B1D1D857CA0DB931092'
$file = Join-Path $env:TEMP 'Snipocket-Setup-1.1.1.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