Polecenia do instalacji programu LabPlot2 bez pytań, do jego usuwania i do wykrywania w narzędziach wdrożeniowych. Polecenie jest podane tylko wtedy, gdy jest pewne: pochodzi z manifestu albo z udokumentowanych ustawień domyślnych technologii instalatora.
Powiązany poradnik: Parametry cichej instalacji: MSI, NSIS, Inno Setup · Odinstalowanie programu przez rejestr lub PowerShell
Przez 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 --silentWedług instalatora
64-bit · EXE (NSIS) · Bieżący użytkownik
Cicha instalacja
labplot-2.12.1-x86_64-setup.exe /SWłasny folder
labplot-2.12.1-x86_64-setup.exe /S /D=C:\Apps\labplot2- Klucz odinstalowania w rejestrze
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\LabPlot2
64-bit · EXE (NSIS) · Wszyscy użytkownicy
Cicha instalacja
labplot-2.12.1-x86_64-setup.exe /SWłasny folder
labplot-2.12.1-x86_64-setup.exe /S /D=C:\Apps\labplot2- Klucz odinstalowania w rejestrze
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\LabPlot2
PowerShell: pobierz, zweryfikuj, zainstaluj
Pobiera oficjalny plik, sprawdza jego SHA256 i instaluje go po cichu.
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