Commands for installing SessionGraph without prompts, removing it again and detecting it from deployment tools. A command is shown only when it is certain: from the manifest or the installer technology’s documented default.
Related guide: Silent install switches: MSI, NSIS, Inno Setup · Uninstall a program with the registry or PowerShell
With 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 --silentBy installer
64-bit · MSI · All users
Silent install
msiexec /i sessiongraph-win32-x64.msi /qn /norestartWrite a log
msiexec /i sessiongraph-win32-x64.msi /qn /norestart /l*v "%TEMP%\sessiongraph-install.log"Uninstall
msiexec /x {B74BCE11-8248-4A6F-AD0F-4E57CF8E4B38} /qn /norestart- MSI product code
- {B74BCE11-8248-4A6F-AD0F-4E57CF8E4B38}
- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{B74BCE11-8248-4A6F-AD0F-4E57CF8E4B38}
- UpgradeCode
- {494E776E-6EDA-5899-A6C9-603F8DA99DB0}
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
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