Commando’s om Patchwork 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 SSBC.Patchwork -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id SSBC.Patchwork -e --silentwinget uninstall --id SSBC.Patchwork -e --silentPer installer
64-bits · EXE (NSIS)
Stille installatie
Patchwork-Setup-3.18.1.exe /SAndere map
Patchwork-Setup-3.18.1.exe /S /D=C:\Apps\patchwork- Registersleutel voor verwijderen
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\0ee20208-4815-5b79-88fc-9351694d6980
PowerShell: downloaden, controleren, installeren
Downloadt het officiële bestand, controleert de SHA256-hash en installeert stil.
install-patchwork.ps1
$url = 'https://github.com/ssbc/patchwork/releases/download/v3.18.1/Patchwork-Setup-3.18.1.exe'
$sha256 = 'B41947A55E8ADABCD2C12F72E0C90C5D0A24128A1BB23EB75A926421F9693F11'
$file = Join-Path $env:TEMP 'Patchwork-Setup-3.18.1.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