Commando’s om CodeBuddy 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 Tencent.CodeBuddy -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Tencent.CodeBuddy -e --silentwinget uninstall --id Tencent.CodeBuddy -e --silentPer installer
64-bits · EXE (Inno Setup) · Huidige gebruiker
Stille installatie
CodeBuddy-win32-x64-user-4.12.1.39217423-757a5b2f.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Andere map
CodeBuddy-win32-x64-user-4.12.1.39217423-757a5b2f.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\codebuddy"- Registersleutel voor verwijderen
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{CC6B787D-37A0-49E8-AE24-8559A032BE0C}_is1
PowerShell: downloaden, controleren, installeren
Downloadt het officiële bestand, controleert de SHA256-hash en installeert stil.
install-codebuddy.ps1
$url = 'https://download.codebuddy.ai/aiide/win32-x64-user/CodeBuddy-win32-x64-user-4.12.1.39217423-757a5b2f.exe'
$sha256 = '3FB09B0C6AEF06E42B38C63571DD6118D6301CBCD075568C9620C7597E43D911'
$file = Join-Path $env:TEMP 'CodeBuddy-win32-x64-user-4.12.1.39217423-757a5b2f.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