Kommandon för att installera GIMP 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 GIMP.GIMP.2 -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id GIMP.GIMP.2 -e --silentwinget uninstall --id GIMP.GIMP.2 -e --silentPer installationsfil
64-bitars · EXE (Inno Setup) · Aktuell användare
Tyst installation
gimp-2.10.38-setup-1.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Egen mapp
gimp-2.10.38-setup-1.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\gimp"64-bitars · EXE (Inno Setup) · Alla användare
Tyst installation
gimp-2.10.38-setup-1.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Egen mapp
gimp-2.10.38-setup-1.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\gimp"32-bitars · EXE (Inno Setup) · Aktuell användare
Tyst installation
gimp-2.10.38-setup-1.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Egen mapp
gimp-2.10.38-setup-1.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\gimp"32-bitars · EXE (Inno Setup) · Alla användare
Tyst installation
gimp-2.10.38-setup-1.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Egen mapp
gimp-2.10.38-setup-1.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\gimp"PowerShell: ladda ner, kontrollera, installera
Laddar ner den officiella filen, kontrollerar dess SHA256 och installerar tyst.
install-gimp.ps1
$url = 'https://download.gimp.org/gimp/v2.10/windows/gimp-2.10.38-setup-1.exe'
$sha256 = 'BDCF059C7D4E1B0AB59F8DC5F199EBB60AE0445460BF67FF8E4E438A89CEE3D8'
$file = Join-Path $env:TEMP 'gimp-2.10.38-setup-1.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-gimp.ps1
$url = 'https://download.gimp.org/gimp/v2.10/windows/gimp-2.10.38-setup-1.exe'
$sha256 = 'BDCF059C7D4E1B0AB59F8DC5F199EBB60AE0445460BF67FF8E4E438A89CEE3D8'
$file = Join-Path $env:TEMP 'gimp-2.10.38-setup-1.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-gimp.ps1
$url = 'https://download.gimp.org/gimp/v2.10/windows/gimp-2.10.38-setup-1.exe'
$sha256 = 'BDCF059C7D4E1B0AB59F8DC5F199EBB60AE0445460BF67FF8E4E438A89CEE3D8'
$file = Join-Path $env:TEMP 'gimp-2.10.38-setup-1.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-gimp.ps1
$url = 'https://download.gimp.org/gimp/v2.10/windows/gimp-2.10.38-setup-1.exe'
$sha256 = 'BDCF059C7D4E1B0AB59F8DC5F199EBB60AE0445460BF67FF8E4E438A89CEE3D8'
$file = Join-Path $env:TEMP 'gimp-2.10.38-setup-1.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