Ukazi za namestitev programa CodeArts Agent brez vprašanj, za njegovo odstranitev in za zaznavanje v orodjih za uvajanje. Ukaz je prikazan le, kadar je zanesljiv: iz manifesta ali iz dokumentiranih privzetih stikal tehnologije namestitvene datoteke.
Povezan vodnik: Stikala za tiho namestitev: MSI, NSIS, Inno Setup · Odstranitev programa prek registra ali PowerShella
Z wingetom
PowerShell
winget install --id Huawei.CodeArtsAgent -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Huawei.CodeArtsAgent -e --silentwinget uninstall --id Huawei.CodeArtsAgent -e --silentPo namestitvenih datotekah
64-bitno · EXE (Inno Setup) · Vsi uporabniki
Tiha namestitev
codearts-agent-x64-26.10.2-2acbda4.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Druga mapa
codearts-agent-x64-26.10.2-2acbda4.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\codearts-agent"- Ključ za odstranitev v registru
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{86ced762-76e0-459c-aab9-12cd4f6a7654}_is1
PowerShell: prenesi, preveri, namesti
Prenese uradno datoteko, preveri SHA256 in jo tiho namesti.
install-codearts-agent.ps1
$url = 'https://apsoutheast1-cloudide-marketplace.obs.ap-southeast-1.myhuaweicloud.com/codearts/ai/latest/codearts-agent-x64-26.10.2-2acbda4.exe'
$sha256 = 'AD9E135D9AAE22E0B9D9E048B8EA85E784848EAB533DFF231E1977B516D495D3'
$file = Join-Path $env:TEMP 'codearts-agent-x64-26.10.2-2acbda4.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