Commands for installing Friction 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 Friction.Friction -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Friction.Friction -e --silentwinget uninstall --id Friction.Friction -e --silentBy installer
64-bit · EXE (Inno Setup) · Current user · en-US
Silent install
friction-0.9.6.1-setup-win64.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Custom folder
friction-0.9.6.1-setup-win64.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\friction"- Uninstall registry key
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{12D25577-88FD-4C5A-AF69-CCA597CAC44E}_is1
- Install folder
- %ProgramFiles%\Friction
64-bit · EXE (Inno Setup) · All users · en-US
Silent install
friction-0.9.6.1-setup-win64.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Custom folder
friction-0.9.6.1-setup-win64.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\friction"- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{12D25577-88FD-4C5A-AF69-CCA597CAC44E}_is1
- Install folder
- %ProgramFiles%\Friction
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-friction.ps1
$url = 'https://github.com/friction2d/friction/releases/download/v0.9.6.1/friction-0.9.6.1-setup-win64.exe'
$sha256 = '0380CEDD44CACDFEEC9FED886EA39CBC8F5BF18C492756B0D93E7D603A065619'
$file = Join-Path $env:TEMP 'friction-0.9.6.1-setup-win64.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 install-friction.ps1
$url = 'https://github.com/friction2d/friction/releases/download/v0.9.6.1/friction-0.9.6.1-setup-win64.exe'
$sha256 = '0380CEDD44CACDFEEC9FED886EA39CBC8F5BF18C492756B0D93E7D603A065619'
$file = Join-Path $env:TEMP 'friction-0.9.6.1-setup-win64.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