คำสั่งสำหรับติดตั้ง GCompris Educational Software โดยไม่มีหน้าต่างถามตอบ ถอนการติดตั้ง และตรวจจับจากเครื่องมือกระจายซอฟต์แวร์ เราแสดงคำสั่งเฉพาะเมื่อแน่ใจเท่านั้น คือมาจากแมนิเฟสต์หรือค่าเริ่มต้นที่มีเอกสารของเทคโนโลยีตัวติดตั้งนั้น
คู่มือที่เกี่ยวข้อง: พารามิเตอร์ติดตั้งแบบเงียบ: MSI, NSIS, Inno Setup · ถอนการติดตั้งโปรแกรมผ่านรีจิสทรีหรือ PowerShell
ใช้ winget
PowerShell
winget install --id KDE.GCompris -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id KDE.GCompris -e --silentwinget uninstall --id KDE.GCompris -e --silentแยกตามตัวติดตั้ง
64 บิต · EXE (NSIS) · ผู้ใช้ทุกคน
ติดตั้งแบบเงียบ
gcompris-teachers-26.2-win64-gcc.exe /Sกำหนดโฟลเดอร์เอง
gcompris-teachers-26.2-win64-gcc.exe /S /D=C:\Apps\gcompris-educational-software- คีย์รีจิสทรีสำหรับถอนการติดตั้ง
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\GCompris-Teachers
64 บิต · MSI · ผู้ใช้ทุกคน
ติดตั้งแบบเงียบ
msiexec /i gcompris-qt-26.2-win64-gcc.msi /qn /norestartบันทึกไฟล์ log
msiexec /i gcompris-qt-26.2-win64-gcc.msi /qn /norestart /l*v "%TEMP%\gcompris-educational-software-install.log"ถอนการติดตั้ง
msiexec /x {67197195-9B91-4202-928C-AC7145EFBD9D} /qn /norestart- รหัสผลิตภัณฑ์ MSI
- {67197195-9B91-4202-928C-AC7145EFBD9D}
- คีย์รีจิสทรีสำหรับถอนการติดตั้ง
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{67197195-9B91-4202-928C-AC7145EFBD9D}
- UpgradeCode
- {1902A562-DA6F-4E3D-A56F-1B1D4273C724}
PowerShell: ดาวน์โหลด ตรวจสอบ ติดตั้ง
ดาวน์โหลดไฟล์ทางการ ตรวจสอบค่า SHA256 แล้วติดตั้งแบบเงียบ
install-gcompris-educational-software.ps1
$url = 'https://download.kde.org/stable/gcompris/qt/windows/gcompris-teachers-26.2-win64-gcc.exe'
$sha256 = 'D98510A2737D1AF2576356B43561FAF09CF93E7C069ACE6542D141CFCB0D315F'
$file = Join-Path $env:TEMP 'gcompris-teachers-26.2-win64-gcc.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 '/S' -Wait install-gcompris-educational-software.ps1
$url = 'https://download.kde.org/stable/gcompris/qt/windows/gcompris-qt-26.2-win64-gcc.msi'
$sha256 = '61CEC34B90D5BD4058DAAC225882CFBF2119CA26E6BAF0B7F38CB0F981E6F72E'
$file = Join-Path $env:TEMP 'gcompris-qt-26.2-win64-gcc.msi'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process msiexec.exe -ArgumentList '/i', ('"{0}"' -f $file), '/qn', '/norestart' -Wait