Kommandoer for å installere LabPlot2 (AppX) uten spørsmål, fjerne programmet igjen og gjenkjenne det i distribusjonsverktøy. En kommando vises bare når den er sikker: fra manifestet eller som dokumentert standard for installasjonsteknologien.
Relatert veiledning: Parametre for stille installasjon: MSI, NSIS, Inno · Avinstaller et program via registeret eller PowerShell
Med 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 installasjonsfil
64-bit · MSIX
Stille installasjon
Add-AppxPackage -Path labplot-master-10343-windows-cl-msvc2022-x86_64-sideload.appxAvinstallering
Get-AppxPackage -Name KDEe.V.LabPlot | Remove-AppxPackagePowerShell: last ned, kontroller, installer
Laster ned den offisielle filen, kontrollerer SHA256-summen og installerer i stillhet.
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