Příkazy pro instalaci programu wsly 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 MihaiValentin.wsly -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id MihaiValentin.wsly -e --silentwinget uninstall --id MihaiValentin.wsly -e --silentPodle instalátoru
Libovolná architektura · EXE (Inno Setup) · Aktuální uživatel
Tichá instalace
wsly-1.1.2-setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTARTVlastní složka
wsly-1.1.2-setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /DIR="C:\Apps\wsly"PowerShell: stáhnout, ověřit, nainstalovat
Stáhne oficiální soubor, ověří SHA256 a program nainstaluje v tichém režimu.
install-wsly.ps1
$url = 'https://github.com/mihai-valentin/wsly/releases/download/1.1.2/wsly-1.1.2-setup.exe'
$sha256 = '32D5D448ABC306ADE45860BC8170561C488B191D7A2A1AFC424AD1FFE7C629F2'
$file = Join-Path $env:TEMP 'wsly-1.1.2-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 '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART' -Wait