Ukazi za namestitev programa Command Code 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 CommandCode.CommandCodeDesktop -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id CommandCode.CommandCodeDesktop -e --silentwinget uninstall --id CommandCode.CommandCodeDesktop -e --silentPo namestitvenih datotekah
64-bitno · EXE (NSIS) · Trenutni uporabnik
Tiha namestitev
CommandCode-0.1.57-x64-setup.exe /SDruga mapa
CommandCode-0.1.57-x64-setup.exe /S /D=C:\Apps\command-code- Ključ za odstranitev v registru
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\b46e7766-e5c9-54ed-a8b3-18e11b17c52b
- Namestitvena mapa
- %LocalAppData%\Programs\Command Code
64-bitno · EXE (NSIS) · Vsi uporabniki
Tiha namestitev
CommandCode-0.1.57-x64-setup.exe /SDruga mapa
CommandCode-0.1.57-x64-setup.exe /S /D=C:\Apps\command-code- Ključ za odstranitev v registru
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\b46e7766-e5c9-54ed-a8b3-18e11b17c52b
- Namestitvena mapa
- %ProgramFiles%\Command Code
PowerShell: prenesi, preveri, namesti
Prenese uradno datoteko, preveri SHA256 in jo tiho namesti.
install-command-code.ps1
$url = 'https://github.com/CommandCodeAI/desktop/releases/latest/download/CommandCode-0.1.57-x64-setup.exe'
$sha256 = '6A6C383934F0CF1ABA1C9DBEB0F580BAA2F38EBB1CD3E5810E0712C4BF839B24'
$file = Join-Path $env:TEMP 'CommandCode-0.1.57-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 install-command-code.ps1
$url = 'https://github.com/CommandCodeAI/desktop/releases/latest/download/CommandCode-0.1.57-x64-setup.exe'
$sha256 = '6A6C383934F0CF1ABA1C9DBEB0F580BAA2F38EBB1CD3E5810E0712C4BF839B24'
$file = Join-Path $env:TEMP 'CommandCode-0.1.57-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