Příkazy pro instalaci programu Dr.Explain 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 IndigoByte.DrExplain -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id IndigoByte.DrExplain -e --silentwinget uninstall --id IndigoByte.DrExplain -e --silentPodle instalátoru
64bit · EXE (Inno Setup) · Všichni uživatelé
Tichá instalace
drexplain_7_3_1402.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Vlastní složka
drexplain_7_3_1402.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\dr-explain"PowerShell: stáhnout, ověřit, nainstalovat
Stáhne oficiální soubor, ověří SHA256 a program nainstaluje v tichém režimu.
install-dr-explain.ps1
$url = 'https://downloads.drexplain.com/drexplain_7_3_1402.exe'
$sha256 = '67D9F75E00D00CDEBF54AF9B66D188D76EED4EA8AEBBD0604818071D242ADDEF'
$file = Join-Path $env:TEMP 'drexplain_7_3_1402.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 /SP-' -Wait