أوامر لتثبيت برنامج GIMP دون نوافذ أو أسئلة، ثم إزالته، والكشف عنه من أدوات النشر. لا يظهر الأمر إلا إذا كان مؤكدًا: من البيان (manifest) أو من الإعداد الافتراضي الموثّق لتقنية المثبّت.
شرح ذو صلة: أوامر التثبيت الصامت: MSI وNSIS وInno Setup · إزالة برنامج عبر السجل (Registry) أو PowerShell
باستخدام 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 --silentحسب المثبّت
64 بت · EXE (Inno Setup) · المستخدم الحالي
التثبيت الصامت
gimp-2.10.38-setup-1.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-مجلد مخصص
gimp-2.10.38-setup-1.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\gimp"64 بت · EXE (Inno Setup) · جميع المستخدمين
التثبيت الصامت
gimp-2.10.38-setup-1.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-مجلد مخصص
gimp-2.10.38-setup-1.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\gimp"32 بت · EXE (Inno Setup) · المستخدم الحالي
التثبيت الصامت
gimp-2.10.38-setup-1.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-مجلد مخصص
gimp-2.10.38-setup-1.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\gimp"32 بت · EXE (Inno Setup) · جميع المستخدمين
التثبيت الصامت
gimp-2.10.38-setup-1.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-مجلد مخصص
gimp-2.10.38-setup-1.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\gimp"PowerShell: تنزيل وتحقق وتثبيت
ينزّل الملف الرسمي، ويتحقق من بصمة SHA256، ثم يثبّته تثبيتًا صامتًا.
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