Príkazy na inštaláciu programu Command Code bez otázok, na jeho odinštalovanie a na detekciu v nástrojoch na nasadzovanie. Príkaz je uvedený iba vtedy, keď je presne známy: z manifestu alebo zo zdokumentovaných parametrov technológie inštalátora.
Súvisiaci návod: Parametre tichej inštalácie: MSI, NSIS, Inno Setup · Odinštalovanie programu cez register alebo PowerShell
Cez winget
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 --silentPodľa inštalátora
64-bit · EXE (NSIS) · Aktuálny používateľ
Tichá inštalácia
CommandCode-0.1.58-x64-setup.exe /SVlastný priečinok
CommandCode-0.1.58-x64-setup.exe /S /D=C:\Apps\command-code- Kľúč odinštalovania v registri
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\b46e7766-e5c9-54ed-a8b3-18e11b17c52b
- Inštalačný priečinok
- %LocalAppData%\Programs\Command Code
64-bit · EXE (NSIS) · Všetci používatelia
Tichá inštalácia
CommandCode-0.1.58-x64-setup.exe /SVlastný priečinok
CommandCode-0.1.58-x64-setup.exe /S /D=C:\Apps\command-code- Kľúč odinštalovania v registri
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\b46e7766-e5c9-54ed-a8b3-18e11b17c52b
- Inštalačný priečinok
- %ProgramFiles%\Command Code
PowerShell: stiahnuť, overiť, nainštalovať
Stiahne oficiálny súbor, overí SHA256 a program nainštaluje v tichom režime.
install-command-code.ps1
$url = 'https://github.com/CommandCodeAI/desktop/releases/latest/download/CommandCode-0.1.58-x64-setup.exe'
$sha256 = 'A91676207FD01F37E26F66D13E0B51A3FC45DC57719177889C7D11208565D49C'
$file = Join-Path $env:TEMP 'CommandCode-0.1.58-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.58-x64-setup.exe'
$sha256 = 'A91676207FD01F37E26F66D13E0B51A3FC45DC57719177889C7D11208565D49C'
$file = Join-Path $env:TEMP 'CommandCode-0.1.58-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