Ordres per instal·lar Codex Account Switch sense preguntes, desinstal·lar-lo i detectar-lo des d’eines de desplegament. Només es mostra una ordre quan és segura: la que indica el manifest o el valor per defecte documentat de la tecnologia de l’instal·lador.
Guia relacionada: Instal·lació silenciosa: MSI, NSIS, Inno Setup · Desinstal·lar un programa amb el registre o PowerShell
Amb winget
PowerShell
winget install --id XiaoLan.CodexAccountSwitch -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id XiaoLan.CodexAccountSwitch -e --silentwinget uninstall --id XiaoLan.CodexAccountSwitch -e --silentPer instal·lador
64 bits · EXE (Inno Setup) · Usuari actual
Instal·lació silenciosa
Codex_AccountSwitch_Setup_windows_x64_v1.3.18.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Una altra carpeta
Codex_AccountSwitch_Setup_windows_x64_v1.3.18.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\codex-account-switch"- Clau de desinstal·lació al registre
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{0ACAA3F5-9AE4-4E3E-9D0D-7B9A7A7D1C21}_is1
64 bits · EXE (Inno Setup) · Tots els usuaris
Instal·lació silenciosa
Codex_AccountSwitch_Setup_windows_x64_v1.3.18.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Una altra carpeta
Codex_AccountSwitch_Setup_windows_x64_v1.3.18.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\codex-account-switch"- Clau de desinstal·lació al registre
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{0ACAA3F5-9AE4-4E3E-9D0D-7B9A7A7D1C21}_is1
ARM64 · EXE (Inno Setup) · Usuari actual
Instal·lació silenciosa
Codex_AccountSwitch_Setup_windows_arm_v1.3.18.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Una altra carpeta
Codex_AccountSwitch_Setup_windows_arm_v1.3.18.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\codex-account-switch"- Clau de desinstal·lació al registre
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{0ACAA3F5-9AE4-4E3E-9D0D-7B9A7A7D1C21}_is1
ARM64 · EXE (Inno Setup) · Tots els usuaris
Instal·lació silenciosa
Codex_AccountSwitch_Setup_windows_arm_v1.3.18.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Una altra carpeta
Codex_AccountSwitch_Setup_windows_arm_v1.3.18.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\codex-account-switch"- Clau de desinstal·lació al registre
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{0ACAA3F5-9AE4-4E3E-9D0D-7B9A7A7D1C21}_is1
32 bits · EXE (Inno Setup) · Usuari actual
Instal·lació silenciosa
Codex_AccountSwitch_Setup_windows_x86_v1.3.18.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Una altra carpeta
Codex_AccountSwitch_Setup_windows_x86_v1.3.18.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\codex-account-switch"- Clau de desinstal·lació al registre
- HKCU\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{0ACAA3F5-9AE4-4E3E-9D0D-7B9A7A7D1C21}_is1
32 bits · EXE (Inno Setup) · Tots els usuaris
Instal·lació silenciosa
Codex_AccountSwitch_Setup_windows_x86_v1.3.18.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Una altra carpeta
Codex_AccountSwitch_Setup_windows_x86_v1.3.18.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\codex-account-switch"- Clau de desinstal·lació al registre
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{0ACAA3F5-9AE4-4E3E-9D0D-7B9A7A7D1C21}_is1
PowerShell: baixar, verificar, instal·lar
Baixa el fitxer oficial, en comprova l’SHA256 i l’instal·la en mode silenciós.
install-codex-account-switch.ps1
$url = 'https://github.com/isxlan0/Codex_AccountSwitch/releases/download/v1.3.18/Codex_AccountSwitch_Setup_windows_x64_v1.3.18.exe'
$sha256 = '79BED4B68E61F7DD25B78E58CFA1F2944623D92C11A8F70FCDC0C34E2700F50B'
$file = Join-Path $env:TEMP 'Codex_AccountSwitch_Setup_windows_x64_v1.3.18.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 install-codex-account-switch.ps1
$url = 'https://github.com/isxlan0/Codex_AccountSwitch/releases/download/v1.3.18/Codex_AccountSwitch_Setup_windows_x64_v1.3.18.exe'
$sha256 = '79BED4B68E61F7DD25B78E58CFA1F2944623D92C11A8F70FCDC0C34E2700F50B'
$file = Join-Path $env:TEMP 'Codex_AccountSwitch_Setup_windows_x64_v1.3.18.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 install-codex-account-switch.ps1
$url = 'https://github.com/isxlan0/Codex_AccountSwitch/releases/download/v1.3.18/Codex_AccountSwitch_Setup_windows_arm_v1.3.18.exe'
$sha256 = 'C2B83290C0F171F9E174DA2FBA9E8BB281453135168187A151F518C436841E43'
$file = Join-Path $env:TEMP 'Codex_AccountSwitch_Setup_windows_arm_v1.3.18.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 install-codex-account-switch.ps1
$url = 'https://github.com/isxlan0/Codex_AccountSwitch/releases/download/v1.3.18/Codex_AccountSwitch_Setup_windows_arm_v1.3.18.exe'
$sha256 = 'C2B83290C0F171F9E174DA2FBA9E8BB281453135168187A151F518C436841E43'
$file = Join-Path $env:TEMP 'Codex_AccountSwitch_Setup_windows_arm_v1.3.18.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 install-codex-account-switch.ps1
$url = 'https://github.com/isxlan0/Codex_AccountSwitch/releases/download/v1.3.18/Codex_AccountSwitch_Setup_windows_x86_v1.3.18.exe'
$sha256 = '0D88599877DCD9235A4CB4BE5CF204FB2124348874068F4337727E05AAFBE843'
$file = Join-Path $env:TEMP 'Codex_AccountSwitch_Setup_windows_x86_v1.3.18.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 install-codex-account-switch.ps1
$url = 'https://github.com/isxlan0/Codex_AccountSwitch/releases/download/v1.3.18/Codex_AccountSwitch_Setup_windows_x86_v1.3.18.exe'
$sha256 = '0D88599877DCD9235A4CB4BE5CF204FB2124348874068F4337727E05AAFBE843'
$file = Join-Path $env:TEMP 'Codex_AccountSwitch_Setup_windows_x86_v1.3.18.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