Příkazy pro instalaci programu Pendulums 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 SwingTeam.Pendulums -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id SwingTeam.Pendulums -e --silentwinget uninstall --id SwingTeam.Pendulums -e --silentPodle instalátoru
64bit · EXE (NSIS)
Tichá instalace
Pendulums.exe /SVlastní složka
Pendulums.exe /S /D=C:\Apps\pendulumsPowerShell: stáhnout, ověřit, nainstalovat
Stáhne oficiální soubor, ověří SHA256 a program nainstaluje v tichém režimu.
install-pendulums.ps1
$url = 'https://github.com/Swing-team/pendulums-web-client/releases/download/v1.1.0/Pendulums.exe'
$sha256 = 'BCA6BE34ED17626882595EB1F79512A94D16A7DF22C98FA0E5A9EDCEB42A30A8'
$file = Join-Path $env:TEMP 'Pendulums.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