Kommandoer til at installere LibrePCB uden spørgsmål, fjerne programmet igen og finde det fra udrulningsværktøjer. En kommando vises kun, når den er sikker: fra manifestet eller som installationsteknologiens dokumenterede standard.
Relateret vejledning: Parametre til lydløs installation: MSI, NSIS, Inno · Afinstaller et program via registreringsdatabasen
Med winget
PowerShell
winget install --id LibrePCB.LibrePCB -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id LibrePCB.LibrePCB -e --silentwinget uninstall --id LibrePCB.LibrePCB -e --silentPr. installationsfil
64-bit · EXE (Inno Setup) · Alle brugere
Lydløs installation
librepcb-installer-2.1.1-windows-x86_64.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Egen mappe
librepcb-installer-2.1.1-windows-x86_64.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\librepcb"- Afinstallationsnøgle i registreringsdatabasen
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\librepcb_is1
- Installationsmappe
- %ProgramFiles%\LibrePCB
PowerShell: download, kontrollér, installér
Downloader den officielle fil, kontrollerer dens SHA256 og installerer lydløst.
install-librepcb.ps1
$url = 'https://download.librepcb.org/releases/2.1.1/librepcb-installer-2.1.1-windows-x86_64.exe'
$sha256 = '3FB0E9316D144C9AC52D7042C688C9B2C576856110916AADFCF443CEA29630AB'
$file = Join-Path $env:TEMP 'librepcb-installer-2.1.1-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