Příkazy pro instalaci programu DeltaForge CLI 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 DeltaForge.CLI -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id DeltaForge.CLI -e --silentwinget uninstall --id DeltaForge.CLI -e --silentPodle instalátoru
64bit · MSI
Tichá instalace
msiexec /i deltaforge-cli-1.2.0-windows-x64.msi /qn /norestartZapsat protokol
msiexec /i deltaforge-cli-1.2.0-windows-x64.msi /qn /norestart /l*v "%TEMP%\deltaforge-cli-install.log"PowerShell: stáhnout, ověřit, nainstalovat
Stáhne oficiální soubor, ověří SHA256 a program nainstaluje v tichém režimu.
install-deltaforge-cli.ps1
$url = 'https://github.com/deltaforge-org/delta-forge/releases/download/v1.2.0/deltaforge-cli-1.2.0-windows-x64.msi'
$sha256 = '5D83000D84FA5F0768C88453ED3D046FDDFF48E08BBB6437C6DDB20C516178A2'
$file = Join-Path $env:TEMP 'deltaforge-cli-1.2.0-windows-x64.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