Kommandon för att installera CodeBuddy utan frågor, ta bort programmet igen och identifiera det i distributionsverktyg. Ett kommando visas bara när det är säkert: från manifestet eller som installationsteknikens dokumenterade standard.
Relaterad guide: Parametrar för tyst installation: MSI, NSIS, Inno · Avinstallera program via registret eller PowerShell
Med 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 installationsfil
64-bitars · EXE (Inno Setup) · Aktuell användare
Tyst installation
CodeBuddy-win32-x64-user-4.12.1.39217423-757a5b2f.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Egen mapp
CodeBuddy-win32-x64-user-4.12.1.39217423-757a5b2f.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\codebuddy"- Avinstallationsnyckel i registret
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{CC6B787D-37A0-49E8-AE24-8559A032BE0C}_is1
PowerShell: ladda ner, kontrollera, installera
Laddar ner den officiella filen, kontrollerar dess SHA256 och installerar tyst.
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