Les commandes pour installer codex-threadripper sans aucune question, le désinstaller et le détecter depuis un outil de déploiement. Une commande n’apparaît que si elle est certaine : issue du manifeste ou valeur par défaut documentée de la technologie d’installation.
Guide associé: Installation silencieuse : MSI, NSIS, Inno Setup · Désinstaller un programme via le registre ou PowerShell
Avec winget
PowerShell
winget install --id Wangnov.codex-threadripper -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Wangnov.codex-threadripper -e --silentwinget uninstall --id Wangnov.codex-threadripper -e --silentPar installateur
64 bits · MSI · Tous les utilisateurs
Installation silencieuse
msiexec /i codex-threadripper-x86_64-pc-windows-msvc.msi /qn /norestartÉcrire un journal
msiexec /i codex-threadripper-x86_64-pc-windows-msvc.msi /qn /norestart /l*v "%TEMP%\codex-threadripper-install.log"Désinstallation
msiexec /x {5A92AF4D-C2DB-42CD-8D30-6147CD1D411E} /qn /norestart- Code produit MSI
- {5A92AF4D-C2DB-42CD-8D30-6147CD1D411E}
- Clé de registre de désinstallation
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{5A92AF4D-C2DB-42CD-8D30-6147CD1D411E}
- UpgradeCode
- {FEF4DA9B-F44C-4321-BCC4-509C23FBEE5F}
64 bits · ZIP
Aucune installation nécessaire (portable)
- Code produit MSI
- {8F2BF24F-523E-4CFA-A45C-F89975806968}
- Clé de registre de désinstallation
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{8F2BF24F-523E-4CFA-A45C-F89975806968}
PowerShell : télécharger, vérifier, installer
Télécharge le fichier officiel, vérifie son empreinte SHA256 et l’installe en mode silencieux.
install-codex-threadripper.ps1
$url = 'https://github.com/Wangnov/codex-threadripper/releases/download/v0.3.6/codex-threadripper-x86_64-pc-windows-msvc.msi'
$sha256 = '9B74EB3C8CA945D7FEEDDEED348E88307C61BE29E4BD729A7D34114C477D05FD'
$file = Join-Path $env:TEMP 'codex-threadripper-x86_64-pc-windows-msvc.msi'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process msiexec.exe -ArgumentList '/i', ('"{0}"' -f $file), '/qn', '/norestart' -Wait