Commando’s om Codey 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 SuperGness.Codey -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id SuperGness.Codey -e --silentwinget uninstall --id SuperGness.Codey -e --silentPer installer
64-bits · EXE (NSIS) · Huidige gebruiker
Stille installatie
Codey-1.5.0-windows-x64-setup.exe /SAndere map
Codey-1.5.0-windows-x64-setup.exe /S /D=C:\Apps\codey- Registersleutel voor verwijderen
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Codey
- Installatiemap
- %LocalAppData%\Programs\Codey
PowerShell: downloaden, controleren, installeren
Downloadt het officiële bestand, controleert de SHA256-hash en installeert stil.
install-codey.ps1
$url = 'https://github.com/SuperGness/codey/releases/download/v1.5.0/Codey-1.5.0-windows-x64-setup.exe'
$sha256 = '291A050174F2872D5D5EE94C70EAA4114B3A52DE7F0DF1ECD47D70026240352E'
$file = Join-Path $env:TEMP 'Codey-1.5.0-windows-x64-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 '/S' -Wait