Commands for installing OpenRocket 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 OpenRocket.OpenRocket -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id OpenRocket.OpenRocket -e --silentwinget uninstall --id OpenRocket.OpenRocket -e --silentBy installer
64-bit · EXE · All users
Silent install
OpenRocket-23.09-Windows.exe -qPowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-openrocket.ps1
$url = 'https://github.com/openrocket/openrocket/releases/download/release-23.09/OpenRocket-23.09-Windows.exe'
$sha256 = '7C9E65111A73EF87AA81CA2147800BD40A470F3D7EF3DC31B9A0342FFAE05B2B'
$file = Join-Path $env:TEMP 'OpenRocket-23.09-Windows.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 '-q' -Wait