Polecenia do instalacji programu SessionGraph bez pytań, do jego usuwania i do wykrywania w narzędziach wdrożeniowych. Polecenie jest podane tylko wtedy, gdy jest pewne: pochodzi z manifestu albo z udokumentowanych ustawień domyślnych technologii instalatora.
Powiązany poradnik: Parametry cichej instalacji: MSI, NSIS, Inno Setup · Odinstalowanie programu przez rejestr lub PowerShell
Przez 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 --silentWedług instalatora
64-bit · MSI · Wszyscy użytkownicy
Cicha instalacja
msiexec /i sessiongraph-win32-x64.msi /qn /norestartZapis dziennika
msiexec /i sessiongraph-win32-x64.msi /qn /norestart /l*v "%TEMP%\sessiongraph-install.log"Odinstalowanie
msiexec /x {B74BCE11-8248-4A6F-AD0F-4E57CF8E4B38} /qn /norestart- Kod produktu MSI
- {B74BCE11-8248-4A6F-AD0F-4E57CF8E4B38}
- Klucz odinstalowania w rejestrze
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{B74BCE11-8248-4A6F-AD0F-4E57CF8E4B38}
- UpgradeCode
- {494E776E-6EDA-5899-A6C9-603F8DA99DB0}
PowerShell: pobierz, zweryfikuj, zainstaluj
Pobiera oficjalny plik, sprawdza jego SHA256 i instaluje go po cichu.
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