Commands for installing gam 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 GAM-Team.gam -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id GAM-Team.gam -e --silentwinget uninstall --id GAM-Team.gam -e --silentBy installer
64-bit · EXE (Inno Setup) · All users · en-US
Silent install
gam-7.50.00-windows-x86_64.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Custom folder
gam-7.50.00-windows-x86_64.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\gam"- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{D86B52B2-EFE9-4F9D-8BA3-9D84B9B2D319}_is1
- Install folder
- %SystemDrive%\GAM7
- DisplayVersion
- 7.50.00
ARM64 · EXE (Inno Setup) · All users · en-US
Silent install
gam-7.50.00-windows-arm64.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Custom folder
gam-7.50.00-windows-arm64.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\gam"- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{D86B52B2-EFE9-4F9D-8BA3-9D84B9B2D319}_is1
- Install folder
- %SystemDrive%\GAM7
- DisplayVersion
- 7.50.00
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-gam.ps1
$url = 'https://github.com/GAM-team/GAM/releases/download/v7.50.00/gam-7.50.00-windows-x86_64.exe'
$sha256 = '0A7AEFD8F57CCAC3A190E5B6F7244D7474B21A9AB321EC2AED4B05E358C917BF'
$file = Join-Path $env:TEMP 'gam-7.50.00-windows-x86_64.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-gam.ps1
$url = 'https://github.com/GAM-team/GAM/releases/download/v7.50.00/gam-7.50.00-windows-arm64.exe'
$sha256 = 'A1CA0938D6F1202BED6C756619BABF9A1F6570E0F989B7F578F953FE8D843452'
$file = Join-Path $env:TEMP 'gam-7.50.00-windows-arm64.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