Parancsok a Command Code program kérdések nélküli telepítéséhez, eltávolításához és telepítőeszközökből való észleléséhez. Csak biztos parancs jelenik meg: a manifestből vagy a telepítőtechnológia dokumentált alapértelmezéséből.
Kapcsolódó útmutató: Csendes telepítési kapcsolók: MSI, NSIS, Inno Setup · Program eltávolítása beállításjegyzékből, PowerShellből
winget használatával
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 --silentTelepítőnként
64 bites · EXE (NSIS) · Csak az aktuális felhasználó
Csendes telepítés
CommandCode-0.1.57-x64-setup.exe /SEgyéni mappa
CommandCode-0.1.57-x64-setup.exe /S /D=C:\Apps\command-code- Eltávolítási beállításkulcs
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\b46e7766-e5c9-54ed-a8b3-18e11b17c52b
- Telepítési mappa
- %LocalAppData%\Programs\Command Code
64 bites · EXE (NSIS) · Minden felhasználó
Csendes telepítés
CommandCode-0.1.57-x64-setup.exe /SEgyéni mappa
CommandCode-0.1.57-x64-setup.exe /S /D=C:\Apps\command-code- Eltávolítási beállításkulcs
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\b46e7766-e5c9-54ed-a8b3-18e11b17c52b
- Telepítési mappa
- %ProgramFiles%\Command Code
PowerShell: letöltés, ellenőrzés, telepítés
Letölti a hivatalos fájlt, ellenőrzi az SHA256 összegét, majd csendesen telepíti.
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