Commando’s om QuickCli 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 CrazyFigure.QuickCli -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id CrazyFigure.QuickCli -e --silentwinget uninstall --id CrazyFigure.QuickCli -e --silentPer installer
64-bits · EXE (Inno Setup) · Huidige gebruiker
Stille installatie
QuickCli-Setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Andere map
QuickCli-Setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\quickcli"- Registersleutel voor verwijderen
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{8C5D4687-6F0A-4D2A-956B-70A0C0874A1B}_is1
PowerShell: downloaden, controleren, installeren
Downloadt het officiële bestand, controleert de SHA256-hash en installeert stil.
install-quickcli.ps1
$url = 'https://github.com/CrazyFigure/QuickCli/releases/download/v2.1.5/QuickCli-Setup.exe'
$sha256 = 'BC6F46A4432A82748A2803EBBF5A9057F95D9CF431F09B0401E9F34C5A44CDD6'
$file = Join-Path $env:TEMP 'QuickCli-Setup.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