Commands for installing Bottleneck 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 PromecSystems.Bottleneck -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id PromecSystems.Bottleneck -e --silentwinget uninstall --id PromecSystems.Bottleneck -e --silentBy installer
64-bit · EXE (Inno Setup) · All users
Silent install
Bottleneck-1.6.29-Setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Custom folder
Bottleneck-1.6.29-Setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\bottleneck"- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{7C4E2A91-3F6D-4B8E-9A21-5D0C8E7F1B34}_is1
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-bottleneck.ps1
$url = 'https://github.com/Bottleneckonline/Bottleneck-downloads/releases/download/v1.6.29/Bottleneck-1.6.29-Setup.exe'
$sha256 = '540F0A173A32EA2F73C9611AD6FA906AEC01E7B73D0B1624FB8E99B7BF7E3FFD'
$file = Join-Path $env:TEMP 'Bottleneck-1.6.29-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 '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-' -Wait