Polecenia do instalacji programu Codex Remote bez pytań, do jego usuwania i do wykrywania w narzędziach wdrożeniowych. Polecenie jest podane tylko wtedy, gdy jest pewne: pochodzi z manifestu albo z udokumentowanych ustawień domyślnych technologii instalatora.
Powiązany poradnik: Parametry cichej instalacji: MSI, NSIS, Inno Setup · Odinstalowanie programu przez rejestr lub PowerShell
Przez 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 --silentWedług instalatora
64-bit · EXE (Inno Setup) · Wszyscy użytkownicy
Cicha instalacja
codex-remote-windows-x64-setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Własny folder
codex-remote-windows-x64-setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\codex-remote"- Klucz odinstalowania w rejestrze
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{4D30F86F-17AB-4471-AD08-315162419095}_is1
- Folder instalacji
- %ProgramFiles%\CodexRemote
PowerShell: pobierz, zweryfikuj, zainstaluj
Pobiera oficjalny plik, sprawdza jego SHA256 i instaluje go po cichu.
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