Commando’s om LabPlot2 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 -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id KDE.LabPlot -e --silentwinget uninstall --id KDE.LabPlot -e --silentPer installer
64-bits · EXE (NSIS) · Huidige gebruiker
Stille installatie
labplot-2.12.1-x86_64-setup.exe /SAndere map
labplot-2.12.1-x86_64-setup.exe /S /D=C:\Apps\labplot2- Registersleutel voor verwijderen
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\LabPlot2
64-bits · EXE (NSIS) · Alle gebruikers
Stille installatie
labplot-2.12.1-x86_64-setup.exe /SAndere map
labplot-2.12.1-x86_64-setup.exe /S /D=C:\Apps\labplot2- Registersleutel voor verwijderen
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\LabPlot2
PowerShell: downloaden, controleren, installeren
Downloadt het officiële bestand, controleert de SHA256-hash en installeert stil.
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