Commando’s om Processing 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 ProcessingFoundation.Processing -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id ProcessingFoundation.Processing -e --silentwinget uninstall --id ProcessingFoundation.Processing -e --silentPer installer
64-bits · MSI · Alle gebruikers
Stille installatie
msiexec /i processing-4.5.7-windows-x64.msi /qn /norestartLogbestand schrijven
msiexec /i processing-4.5.7-windows-x64.msi /qn /norestart /l*v "%TEMP%\processing-install.log"Verwijderen
msiexec /x {3A052074-38B0-4452-B201-D39EC765FE39} /qn /norestart- MSI-productcode
- {3A052074-38B0-4452-B201-D39EC765FE39}
- Registersleutel voor verwijderen
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{3A052074-38B0-4452-B201-D39EC765FE39}
- UpgradeCode
- {89D8D7FE-5602-4B12-BA10-0FE78EFBD602}
PowerShell: downloaden, controleren, installeren
Downloadt het officiële bestand, controleert de SHA256-hash en installeert stil.
install-processing.ps1
$url = 'https://github.com/processing/processing4/releases/download/processing-1435-4.5.7/processing-4.5.7-windows-x64.msi'
$sha256 = '27F88EDEDAD83EDB04AE04F7FF1C32E02552104B18B439384AC378D2DA28467A'
$file = Join-Path $env:TEMP 'processing-4.5.7-windows-x64.msi'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process msiexec.exe -ArgumentList '/i', ('"{0}"' -f $file), '/qn', '/norestart' -Wait