Commands for installing Oryx 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 Steerania.Oryx -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Steerania.Oryx -e --silentwinget uninstall --id Steerania.Oryx -e --silentBy installer
64-bit · MSI · All users
Silent install
msiexec /i oryx-1.4.0-windows-x86_64.msi /qn /norestartWrite a log
msiexec /i oryx-1.4.0-windows-x86_64.msi /qn /norestart /l*v "%TEMP%\oryx-install.log"Uninstall
msiexec /x {998B5701-8CCF-4E28-9AF3-91F1DB80CC6B} /qn /norestart- MSI product code
- {998B5701-8CCF-4E28-9AF3-91F1DB80CC6B}
- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{998B5701-8CCF-4E28-9AF3-91F1DB80CC6B}
- UpgradeCode
- {8EA2EE23-91F8-46EC-9310-6DFBF39A04C9}
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-oryx.ps1
$url = 'https://github.com/wmahfoudh/oryx/releases/download/v1.4.0/oryx-1.4.0-windows-x86_64.msi'
$sha256 = '39AC032941CCCF47E3978AFFB48DF3FE118F5F22A773068DF57974F46BA36687'
$file = Join-Path $env:TEMP 'oryx-1.4.0-windows-x86_64.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