Commando’s om codex-threadripper zonder vragen te installeren, weer te verwijderen en te detecteren in uitroltools. Een commando staat er alleen als het vaststaat: uit het manifest of als gedocumenteerde standaard van de installertechniek.
Gerelateerde handleiding: Stille installatie-parameters: MSI, NSIS, Inno Setup · Programma verwijderen via register of PowerShell
Met 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 --silentPer installer
64-bits · MSI · Alle gebruikers
Stille installatie
msiexec /i codex-threadripper-x86_64-pc-windows-msvc.msi /qn /norestartLogbestand schrijven
msiexec /i codex-threadripper-x86_64-pc-windows-msvc.msi /qn /norestart /l*v "%TEMP%\codex-threadripper-install.log"Verwijderen
msiexec /x {5A92AF4D-C2DB-42CD-8D30-6147CD1D411E} /qn /norestart- MSI-productcode
- {5A92AF4D-C2DB-42CD-8D30-6147CD1D411E}
- Registersleutel voor verwijderen
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{5A92AF4D-C2DB-42CD-8D30-6147CD1D411E}
- UpgradeCode
- {FEF4DA9B-F44C-4321-BCC4-509C23FBEE5F}
64-bits · ZIP
Geen installatie nodig (portable)
- MSI-productcode
- {8F2BF24F-523E-4CFA-A45C-F89975806968}
- Registersleutel voor verwijderen
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{8F2BF24F-523E-4CFA-A45C-F89975806968}
PowerShell: downloaden, controleren, installeren
Downloadt het officiële bestand, controleert de SHA256-hash en installeert stil.
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