Befehle, um mGBA ohne Rückfragen zu installieren, wieder zu entfernen und in Verteilungswerkzeugen zu erkennen. Ein Befehl erscheint nur, wenn er feststeht: aus dem Manifest oder als dokumentierter Standard der jeweiligen Installer-Technik.
Passende Anleitung: Silent-Install-Parameter: MSI, NSIS, Inno Setup · Programm über Registry oder PowerShell deinstallieren
Mit winget
PowerShell
winget install --id JeffreyPfau.mGBA -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id JeffreyPfau.mGBA -e --silentwinget uninstall --id JeffreyPfau.mGBA -e --silentNach Installer
64-Bit · EXE (Inno Setup) · Alle Benutzer · en-US
Stille Installation
mGBA-0.10.5-win64-installer.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Eigener Ordner
mGBA-0.10.5-win64-installer.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\mgba"- Deinstallationsschlüssel in der Registry
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\mGBA_is1
32-Bit · EXE (Inno Setup) · Alle Benutzer · en-US
Stille Installation
mGBA-0.10.5-win32-installer.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Eigener Ordner
mGBA-0.10.5-win32-installer.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\mgba"- Deinstallationsschlüssel in der Registry
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\mGBA_is1
PowerShell: herunterladen, prüfen, installieren
Lädt die offizielle Datei herunter, prüft den SHA256-Hash und installiert still.
install-mgba.ps1
$url = 'https://github.com/mgba-emu/mgba/releases/download/0.10.5/mGBA-0.10.5-win64-installer.exe'
$sha256 = 'EDD0454B8FE69F20DC2F0B47F2CFC32A14E3848550762FFBB3D782E649669C6B'
$file = Join-Path $env:TEMP 'mGBA-0.10.5-win64-installer.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-mgba.ps1
$url = 'https://github.com/mgba-emu/mgba/releases/download/0.10.5/mGBA-0.10.5-win32-installer.exe'
$sha256 = '90B19D1D8871E306133C6D428E2C78A9670746815894F370E0E616A7373083D3'
$file = Join-Path $env:TEMP 'mGBA-0.10.5-win32-installer.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