Commands for installing Apollo 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 ClassicOldSong.Apollo -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id ClassicOldSong.Apollo -e --silentwinget uninstall --id ClassicOldSong.Apollo -e --silentBy installer
64-bit · EXE (NSIS) · All users · en-US
Silent install
Apollo-0.4.6.exe /SCustom folder
Apollo-0.4.6.exe /S /D=C:\Apps\apollo- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Apollo
- Install folder
- %ProgramFiles(x86)%\Apollo
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-apollo.ps1
$url = 'https://github.com/ClassicOldSong/Apollo/releases/download/v0.4.6/Apollo-0.4.6.exe'
$sha256 = '42B2AEFAACB3474511517A56B96EE9F0517F30AC38B5DD2FDA9FD5B478F5021A'
$file = Join-Path $env:TEMP 'Apollo-0.4.6.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