Commando’s om PrintNode 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 PrintNode.PrintNode -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id PrintNode.PrintNode -e --silentwinget uninstall --id PrintNode.PrintNode -e --silentPer installer
64-bits · EXE (Inno Setup) · Alle gebruikers
Stille installatie
PrintNode-4.29.7.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Andere map
PrintNode-4.29.7.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\printnode"- Registersleutel voor verwijderen
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{33B13CE8-DE51-4E77-9B65-ED90634A58BF}_is1
- Installatiemap
- %ProgramFiles%\PrintNode
PowerShell: downloaden, controleren, installeren
Downloadt het officiële bestand, controleert de SHA256-hash en installeert stil.
install-printnode.ps1
$url = 'https://dl.printnode.com/client/printnode/4.29.7/PrintNode-4.29.7.exe'
$sha256 = '210F9E2046FB6048BCD6EA36E547C968542AA33DD43F4A04B08991B88054CCF1'
$file = Join-Path $env:TEMP 'PrintNode-4.29.7.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