Perintah untuk menginstal LabPlot2 tanpa dialog, menghapusnya kembali, dan mendeteksinya dari alat deployment. Perintah hanya ditampilkan jika pasti benar: berasal dari manifest atau dari parameter bawaan yang terdokumentasi untuk teknologi installer tersebut.
Panduan terkait: Parameter instalasi senyap: MSI, NSIS, Inno Setup · Uninstall program lewat registry atau PowerShell
Dengan winget
winget install --id KDE.LabPlot -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id KDE.LabPlot -e --silentwinget uninstall --id KDE.LabPlot -e --silentPer installer
64-bit · EXE (NSIS) · Pengguna saat ini
labplot-2.12.1-x86_64-setup.exe /Slabplot-2.12.1-x86_64-setup.exe /S /D=C:\Apps\labplot2- Kunci registry uninstall
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\LabPlot2
64-bit · EXE (NSIS) · Semua pengguna
labplot-2.12.1-x86_64-setup.exe /Slabplot-2.12.1-x86_64-setup.exe /S /D=C:\Apps\labplot2- Kunci registry uninstall
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\LabPlot2
PowerShell: unduh, verifikasi, instal
Mengunduh file resmi, memeriksa SHA256-nya, lalu menginstalnya secara senyap.
$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 $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