Kommandon för att installera Codex Bridge utan frågor, ta bort programmet igen och identifiera det i distributionsverktyg. Ett kommando visas bara när det är säkert: från manifestet eller som installationsteknikens dokumenterade standard.
Relaterad guide: Parametrar för tyst installation: MSI, NSIS, Inno · Avinstallera program via registret eller PowerShell
Med winget
PowerShell
winget install --id Fanch-hui.CodexBridge -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Fanch-hui.CodexBridge -e --silentwinget uninstall --id Fanch-hui.CodexBridge -e --silentPer installationsfil
64-bitars · EXE (Inno Setup) · Aktuell användare
Tyst installation
CodexBridge-Windows-x64-3.0.2-Setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Egen mapp
CodexBridge-Windows-x64-3.0.2-Setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\codex-bridge"- Avinstallationsnyckel i registret
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{6F51B5A4-4C25-4E72-A8E5-93447D72D031}_is1
PowerShell: ladda ner, kontrollera, installera
Laddar ner den officiella filen, kontrollerar dess SHA256 och installerar tyst.
install-codex-bridge.ps1
$url = 'https://github.com/Fanch-hui/codex-bridge/releases/download/v3.0.2/CodexBridge-Windows-x64-3.0.2-Setup.exe'
$sha256 = '15AD80E77A6D5C9C39D6F3D09626161394EE2D0FD8FE995BD4D9F88F58EBEDA7'
$file = Join-Path $env:TEMP 'CodexBridge-Windows-x64-3.0.2-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