Commando’s om LabPlot2 (AppX) zonder vragen te installeren, weer te verwijderen en te detecteren in uitroltools. Een commando staat er alleen als het vaststaat: uit het manifest of als gedocumenteerde standaard van de installertechniek.
Gerelateerde handleiding: Stille installatie-parameters: MSI, NSIS, Inno Setup · Programma verwijderen via register of PowerShell
Met winget
PowerShell
winget install --id KDE.LabPlot.AppX -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id KDE.LabPlot.AppX -e --silentwinget uninstall --id KDE.LabPlot.AppX -e --silentPer installer
64-bits · MSIX
Stille installatie
Add-AppxPackage -Path labplot-master-10343-windows-cl-msvc2022-x86_64-sideload.appxVerwijderen
Get-AppxPackage -Name KDEe.V.LabPlot | Remove-AppxPackagePowerShell: downloaden, controleren, installeren
Downloadt het officiële bestand, controleert de SHA256-hash en installeert stil.
install-labplot2-appx.ps1
$url = 'https://origin.cdn.kde.org/ci-builds/education/labplot/master/windows/labplot-master-10343-windows-cl-msvc2022-x86_64-sideload.appx'
$sha256 = '985B2111D622EA657ACB0F3B124628BE562F6A5D9E0FF9A7FA0261F2F60A04F2'
$file = Join-Path $env:TEMP 'labplot-master-10343-windows-cl-msvc2022-x86_64-sideload.appx'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Add-AppxPackage -Path $file