Commands for installing Fly 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 TheServer-lab.Fly -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id TheServer-lab.Fly -e --silentwinget uninstall --id TheServer-lab.Fly -e --silentBy installer
64-bit · EXE (NSIS)
Silent install
fly-installer-0.1.4.exe /SCustom folder
fly-installer-0.1.4.exe /S /D=C:\Apps\flyPowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-fly.ps1
$url = 'https://github.com/TheServer-lab/fly/releases/download/v0.1.4/fly-installer-0.1.4.exe'
$sha256 = '6A7A7C94B96701D948FFFD4AB549901664960B82BE476F8C13528D74C99B45FC'
$file = Join-Path $env:TEMP 'fly-installer-0.1.4.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