Příkazy pro instalaci programu SessionGraph 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 arvindell.SessionGraph -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id arvindell.SessionGraph -e --silentwinget uninstall --id arvindell.SessionGraph -e --silentPodle instalátoru
64bit · MSI · Všichni uživatelé
Tichá instalace
msiexec /i sessiongraph-win32-x64.msi /qn /norestartZapsat protokol
msiexec /i sessiongraph-win32-x64.msi /qn /norestart /l*v "%TEMP%\sessiongraph-install.log"Odinstalace
msiexec /x {B74BCE11-8248-4A6F-AD0F-4E57CF8E4B38} /qn /norestart- Kód produktu MSI
- {B74BCE11-8248-4A6F-AD0F-4E57CF8E4B38}
- Klíč odinstalace v registru
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{B74BCE11-8248-4A6F-AD0F-4E57CF8E4B38}
- UpgradeCode
- {494E776E-6EDA-5899-A6C9-603F8DA99DB0}
PowerShell: stáhnout, ověřit, nainstalovat
Stáhne oficiální soubor, ověří SHA256 a program nainstaluje v tichém režimu.
install-sessiongraph.ps1
$url = 'https://github.com/arvindell/sessiongraph/releases/download/v1.0.34/sessiongraph-win32-x64.msi'
$sha256 = '136C36AB1C97A03EA470C32A04AFA505010C287520BEEB5D94A152888EF54553'
$file = Join-Path $env:TEMP 'sessiongraph-win32-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