أوامر لتثبيت برنامج LabPlot2 دون نوافذ أو أسئلة، ثم إزالته، والكشف عنه من أدوات النشر. لا يظهر الأمر إلا إذا كان مؤكدًا: من البيان (manifest) أو من الإعداد الافتراضي الموثّق لتقنية المثبّت.
شرح ذو صلة: أوامر التثبيت الصامت: MSI وNSIS وInno Setup · إزالة برنامج عبر السجل (Registry) أو PowerShell
باستخدام winget
PowerShell
winget install --id KDE.LabPlot -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id KDE.LabPlot -e --silentwinget uninstall --id KDE.LabPlot -e --silentحسب المثبّت
64 بت · EXE (NSIS) · المستخدم الحالي
التثبيت الصامت
labplot-2.12.1-x86_64-setup.exe /Sمجلد مخصص
labplot-2.12.1-x86_64-setup.exe /S /D=C:\Apps\labplot2- مفتاح إلغاء التثبيت في السجل
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\LabPlot2
64 بت · EXE (NSIS) · جميع المستخدمين
التثبيت الصامت
labplot-2.12.1-x86_64-setup.exe /Sمجلد مخصص
labplot-2.12.1-x86_64-setup.exe /S /D=C:\Apps\labplot2- مفتاح إلغاء التثبيت في السجل
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\LabPlot2
PowerShell: تنزيل وتحقق وتثبيت
ينزّل الملف الرسمي، ويتحقق من بصمة SHA256، ثم يثبّته تثبيتًا صامتًا.
install-labplot2.ps1
$url = 'https://download.kde.org/stable/labplot/labplot-2.12.1-x86_64-setup.exe'
$sha256 = '122F03B8939571E3951982376C4A7B11B6080EB8770EC35FDC4257215A4981A8'
$file = Join-Path $env:TEMP 'labplot-2.12.1-x86_64-setup.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-labplot2.ps1
$url = 'https://download.kde.org/stable/labplot/labplot-2.12.1-x86_64-setup.exe'
$sha256 = '122F03B8939571E3951982376C4A7B11B6080EB8770EC35FDC4257215A4981A8'
$file = Join-Path $env:TEMP 'labplot-2.12.1-x86_64-setup.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