Příkazy pro instalaci programu eXeLearning 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 Exelearning.Exelearning -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Exelearning.Exelearning -e --silentwinget uninstall --id Exelearning.Exelearning -e --silentPodle instalátoru
64bit · EXE (NSIS) · Aktuální uživatel · en-US
Tichá instalace
eXeLearning-Setup-4.0.5.exe /SVlastní složka
eXeLearning-Setup-4.0.5.exe /S /D=C:\Apps\exelearning- Klíč odinstalace v registru
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\d01d247d-c864-5e2c-93fe-72af2692cb95
PowerShell: stáhnout, ověřit, nainstalovat
Stáhne oficiální soubor, ověří SHA256 a program nainstaluje v tichém režimu.
install-exelearning.ps1
$url = 'https://github.com/exelearning/exelearning/releases/download/v4.0.5/eXeLearning-Setup-4.0.5.exe'
$sha256 = '3FEBA6649CFFA76BF74AB320E33862AC3C41576856504BE2D1FC0658A24FBDEB'
$file = Join-Path $env:TEMP 'eXeLearning-Setup-4.0.5.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