Příkazy pro instalaci programu Juggernaut 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 JohnCantrell.Juggernaut -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id JohnCantrell.Juggernaut -e --silentwinget uninstall --id JohnCantrell.Juggernaut -e --silentPodle instalátoru
64bit · EXE (NSIS)
Tichá instalace
Juggernaut-win-v0.1.2.exe /SVlastní složka
Juggernaut-win-v0.1.2.exe /S /D=C:\Apps\juggernautPowerShell: stáhnout, ověřit, nainstalovat
Stáhne oficiální soubor, ověří SHA256 a program nainstaluje v tichém režimu.
install-juggernaut.ps1
$url = 'https://github.com/LN-Juggernaut/juggernaut-desktop/releases/download/0.1.2/Juggernaut-win-v0.1.2.exe'
$sha256 = '8659E03A4563F72A489D7EE1F5B49FCF9DBBB9BCD62BE18464FA8A4EB4669922'
$file = Join-Path $env:TEMP 'Juggernaut-win-v0.1.2.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 '/S' -Wait