Kommandoer til at installere Friction uden spørgsmål, fjerne programmet igen og finde det fra udrulningsværktøjer. En kommando vises kun, når den er sikker: fra manifestet eller som installationsteknologiens dokumenterede standard.
Relateret vejledning: Parametre til lydløs installation: MSI, NSIS, Inno · Afinstaller et program via registreringsdatabasen
Med 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 --silentPr. installationsfil
64-bit · EXE (Inno Setup) · Aktuel bruger · en-US
Lydløs installation
friction-0.9.6.1-setup-win64.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Egen mappe
friction-0.9.6.1-setup-win64.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\friction"- Afinstallationsnøgle i registreringsdatabasen
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{12D25577-88FD-4C5A-AF69-CCA597CAC44E}_is1
- Installationsmappe
- %ProgramFiles%\Friction
64-bit · EXE (Inno Setup) · Alle brugere · en-US
Lydløs installation
friction-0.9.6.1-setup-win64.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Egen mappe
friction-0.9.6.1-setup-win64.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\friction"- Afinstallationsnøgle i registreringsdatabasen
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{12D25577-88FD-4C5A-AF69-CCA597CAC44E}_is1
- Installationsmappe
- %ProgramFiles%\Friction
PowerShell: download, kontrollér, installér
Downloader den officielle fil, kontrollerer dens SHA256 og installerer lydløst.
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