Příkazy pro instalaci programu CodexWinBar bez dotazů, jeho odinstalaci a detekci v nástrojích pro nasazení. Příkaz je uveden jen tehdy, když je přesně známý: z manifestu nebo ze zdokumentovaných parametrů technologie instalátoru.
Související návod: Parametry tiché instalace: MSI, NSIS, Inno Setup · Odinstalace programu přes registr nebo PowerShell
Přes winget
PowerShell
winget install --id ItayCohen.CodexWinBar -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id ItayCohen.CodexWinBar -e --silentwinget uninstall --id ItayCohen.CodexWinBar -e --silentPodle instalátoru
64bit · EXE · Aktuální uživatel
Tichá instalace
CodexWinBar-win-Setup.exe --silentPowerShell: stáhnout, ověřit, nainstalovat
Stáhne oficiální soubor, ověří SHA256 a program nainstaluje v tichém režimu.
install-codexwinbar.ps1
$url = 'https://github.com/ItayCohen-Prog/CodexWinBar/releases/download/v1.1.24/CodexWinBar-win-Setup.exe'
$sha256 = '46494AD95E7BC128501B6D5F7A41FC43ECDAD1A1914FEEF79FB3D5CC5E4B2014'
$file = Join-Path $env:TEMP 'CodexWinBar-win-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 '--silent' -Wait