Příkazy pro instalaci programu Codex Remote bez dotazů, jeho odinstalaci a detekci v nástrojích pro nasazení. Příkaz je uveden jen tehdy, když je přesně známý: z manifestu nebo ze zdokumentovaných parametrů technologie instalátoru.
Související návod: Parametry tiché instalace: MSI, NSIS, Inno Setup · Odinstalace programu přes registr nebo PowerShell
Přes winget
PowerShell
winget install --id chensunlai.CodexRemote -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id chensunlai.CodexRemote -e --silentwinget uninstall --id chensunlai.CodexRemote -e --silentPodle instalátoru
64bit · EXE (Inno Setup) · Všichni uživatelé
Tichá instalace
codex-remote-windows-x64-setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Vlastní složka
codex-remote-windows-x64-setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\codex-remote"- Klíč odinstalace v registru
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{4D30F86F-17AB-4471-AD08-315162419095}_is1
- Instalační složka
- %ProgramFiles%\CodexRemote
PowerShell: stáhnout, ověřit, nainstalovat
Stáhne oficiální soubor, ověří SHA256 a program nainstaluje v tichém režimu.
install-codex-remote.ps1
$url = 'https://github.com/chensunlai/codex-remote/releases/download/v3.0.1/codex-remote-windows-x64-setup.exe'
$sha256 = '0355E03C345752419BFB8CECA62C3540CAFC319CDBE1CF493346E77FB0B7889D'
$file = Join-Path $env:TEMP 'codex-remote-windows-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 '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-' -Wait