คำสั่งสำหรับติดตั้ง GIMP โดยไม่มีหน้าต่างถามตอบ ถอนการติดตั้ง และตรวจจับจากเครื่องมือกระจายซอฟต์แวร์ เราแสดงคำสั่งเฉพาะเมื่อแน่ใจเท่านั้น คือมาจากแมนิเฟสต์หรือค่าเริ่มต้นที่มีเอกสารของเทคโนโลยีตัวติดตั้งนั้น
คู่มือที่เกี่ยวข้อง: พารามิเตอร์ติดตั้งแบบเงียบ: MSI, NSIS, Inno Setup · ถอนการติดตั้งโปรแกรมผ่านรีจิสทรีหรือ 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