Kommandoer til at installere CodeBuddy CN uden spørgsmål, fjerne programmet igen og finde det fra udrulningsværktøjer. En kommando vises kun, når den er sikker: fra manifestet eller som installationsteknologiens dokumenterede standard.
Relateret vejledning: Parametre til lydløs installation: MSI, NSIS, Inno · Afinstaller et program via registreringsdatabasen
Med winget
PowerShell
winget install --id Tencent.CodeBuddy.CN -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Tencent.CodeBuddy.CN -e --silentwinget uninstall --id Tencent.CodeBuddy.CN -e --silentPr. installationsfil
64-bit · EXE (Inno Setup) · Aktuel bruger
Lydløs installation
CodeBuddy-win32-x64-user-4.12.0.37847260-b4c35ed0-cn.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Egen mappe
CodeBuddy-win32-x64-user-4.12.0.37847260-b4c35ed0-cn.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\codebuddy-cn"- Afinstallationsnøgle i registreringsdatabasen
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{76543210-DCBA-9876-5432-10FEDCBA9876}}_is1
- Installationsmappe
- %LocalAppData%\Programs\CodeBuddy CN
64-bit · EXE (Inno Setup) · Alle brugere
Lydløs installation
CodeBuddy-win32-x64-system-4.12.0.37847260-b4c35ed0-cn.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Egen mappe
CodeBuddy-win32-x64-system-4.12.0.37847260-b4c35ed0-cn.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\codebuddy-cn"- Afinstallationsnøgle i registreringsdatabasen
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{98765432-FEDC-BA98-7654-3210FEDCBA98}}_is1
- Installationsmappe
- %ProgramFiles%\CodeBuddy CN
PowerShell: download, kontrollér, installér
Downloader den officielle fil, kontrollerer dens SHA256 og installerer lydløst.
install-codebuddy-cn.ps1
$url = 'https://download.codebuddy.cn/aiide/win32-x64-user/CodeBuddy-win32-x64-user-4.12.0.37847260-b4c35ed0-cn.exe'
$sha256 = '129D807010DBC0FFA64392401CAD9DC20DFAA406968726BC43737B674592D394'
$file = Join-Path $env:TEMP 'CodeBuddy-win32-x64-user-4.12.0.37847260-b4c35ed0-cn.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 install-codebuddy-cn.ps1
$url = 'https://download.codebuddy.cn/aiide/win32-x64-system/CodeBuddy-win32-x64-system-4.12.0.37847260-b4c35ed0-cn.exe'
$sha256 = '5A237C9E49F169CFAEB7A0628FDEC2D871FB7451212B86ABE1457CD5A2590DB4'
$file = Join-Path $env:TEMP 'CodeBuddy-win32-x64-system-4.12.0.37847260-b4c35ed0-cn.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