Befehle, um LibrePCB ohne Rückfragen zu installieren, wieder zu entfernen und in Verteilungswerkzeugen zu erkennen. Ein Befehl erscheint nur, wenn er feststeht: aus dem Manifest oder als dokumentierter Standard der jeweiligen Installer-Technik.
Passende Anleitung: Silent-Install-Parameter: MSI, NSIS, Inno Setup · Programm über Registry oder PowerShell deinstallieren
Mit winget
PowerShell
winget install --id LibrePCB.LibrePCB.Preview -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id LibrePCB.LibrePCB.Preview -e --silentwinget uninstall --id LibrePCB.LibrePCB.Preview -e --silentNach Installer
64-Bit · EXE (Inno Setup) · Alle Benutzer
Stille Installation
librepcb-installer-2.0.0-rc1-windows-x86_64.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Eigener Ordner
librepcb-installer-2.0.0-rc1-windows-x86_64.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\librepcb-librepcb-developers"- Deinstallationsschlüssel in der Registry
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\librepcb_is1
- Installationsordner
- %ProgramFiles%\LibrePCB
PowerShell: herunterladen, prüfen, installieren
Lädt die offizielle Datei herunter, prüft den SHA256-Hash und installiert still.
install-librepcb-librepcb-developers.ps1
$url = 'https://download.librepcb.org/releases/2.0.0-rc1/librepcb-installer-2.0.0-rc1-windows-x86_64.exe'
$sha256 = '6D56C052C55A4B195E9EFAE6BEED6F9293FA45C16CA6E33B915FE24293C1C1F6'
$file = Join-Path $env:TEMP 'librepcb-installer-2.0.0-rc1-windows-x86_64.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 '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-' -Wait