Kommandon för att installera GDevelop utan frågor, ta bort programmet igen och identifiera det i distributionsverktyg. Ett kommando visas bara när det är säkert: från manifestet eller som installationsteknikens dokumenterade standard.
Relaterad guide: Parametrar för tyst installation: MSI, NSIS, Inno · Avinstallera program via registret eller PowerShell
Med winget
PowerShell
winget install --id GDevelop.GDevelop -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id GDevelop.GDevelop -e --silentwinget uninstall --id GDevelop.GDevelop -e --silentPer installationsfil
64-bitars · EXE (NSIS) · Aktuell användare
Tyst installation
GDevelop-5-Setup-5.6.285.exe /SEgen mapp
GDevelop-5-Setup-5.6.285.exe /S /D=C:\Apps\gdevelop- Avinstallationsnyckel i registret
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\c2a9b91e-8206-5b4e-b81d-9aa27463c28e
64-bitars · EXE (NSIS) · Alla användare
Tyst installation
GDevelop-5-Setup-5.6.285.exe /SEgen mapp
GDevelop-5-Setup-5.6.285.exe /S /D=C:\Apps\gdevelop- Avinstallationsnyckel i registret
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\c2a9b91e-8206-5b4e-b81d-9aa27463c28e
PowerShell: ladda ner, kontrollera, installera
Laddar ner den officiella filen, kontrollerar dess SHA256 och installerar tyst.
install-gdevelop.ps1
$url = 'https://github.com/4ian/GDevelop/releases/download/v5.6.285/GDevelop-5-Setup-5.6.285.exe'
$sha256 = '8B8321C9819FE667BEFF68AECCCBC2AE8F081909956F9149D3920564D29BAD4C'
$file = Join-Path $env:TEMP 'GDevelop-5-Setup-5.6.285.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 install-gdevelop.ps1
$url = 'https://github.com/4ian/GDevelop/releases/download/v5.6.285/GDevelop-5-Setup-5.6.285.exe'
$sha256 = '8B8321C9819FE667BEFF68AECCCBC2AE8F081909956F9149D3920564D29BAD4C'
$file = Join-Path $env:TEMP 'GDevelop-5-Setup-5.6.285.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