Commands for installing Flying Cube 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 realsast.FlyingCube -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id realsast.FlyingCube -e --silentwinget uninstall --id realsast.FlyingCube -e --silentBy installer
64-bit · EXE (Inno Setup)
Silent install
"Flying Cube setup.exe" /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Custom folder
"Flying Cube setup.exe" /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\flying-cube"- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{BA84DB9B-32E0-430B-82CB-356F762DBB4F}_is1
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-flying-cube.ps1
$url = 'https://github.com/superofficial/Flying-Cube/raw/master/Flying%20Cube/Game/Installer/Flying%20Cube%20setup.exe'
$sha256 = '0801A5AF51118804F05BCD6612E997A79D35BB0456E206D481BF4A5241A29F83'
$file = Join-Path $env:TEMP 'Flying Cube 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