أوامر لتثبيت برنامج GCompris Educational Software دون نوافذ أو أسئلة، ثم إزالته، والكشف عنه من أدوات النشر. لا يظهر الأمر إلا إذا كان مؤكدًا: من البيان (manifest) أو من الإعداد الافتراضي الموثّق لتقنية المثبّت.
شرح ذو صلة: أوامر التثبيت الصامت: MSI وNSIS وInno Setup · إزالة برنامج عبر السجل (Registry) أو 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كتابة ملف سجل
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