Commando’s om Patch Maker 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 Clickteam.PatchMaker -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Clickteam.PatchMaker -e --silentwinget uninstall --id Clickteam.PatchMaker -e --silentPer installer
32-bits · EXE · Alle gebruikers
Stille installatie
pminst.exe /qPowerShell: downloaden, controleren, installeren
Downloadt het officiële bestand, controleert de SHA256-hash en installeert stil.
install-patch-maker.ps1
$url = 'https://www.clickteam.com/webftp/files/9/5/pminst.exe'
$sha256 = 'C3CCB37E060015BE6F8CB1593ABCA307363AC3678ABE116FAF5ADB4523F161F9'
$file = Join-Path $env:TEMP 'pminst.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 '/q' -Wait