mStream Serverを確認画面なしでインストール・アンインストールし、展開ツールで検出するためのコマンドです。マニフェストの記載か、インストーラー技術の既定値として確実なコマンドだけを表示しています。
関連ガイド: サイレントインストールのオプション一覧 · レジストリとPowerShellでアンインストールする方法
wingetを使う
PowerShell
winget install --id PaulSori.mStreamServer -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id PaulSori.mStreamServer -e --silentwinget uninstall --id PaulSori.mStreamServer -e --silentインストーラー別
64ビット · EXE(Inno Setup) · 現在のユーザー
サイレントインストール
mStream-6.25.0-win-x64-setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-インストール先を指定
mStream-6.25.0-win-x64-setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\mstream-server"- アンインストール用レジストリキー
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{9C2E7C1A-63D4-4C0B-A0B4-52B6E5B0A9D3}_is1
- インストール先フォルダー
- %LocalAppData%\Programs\mStream
64ビット · ZIP
インストール不要(ポータブル)
PowerShell:ダウンロード・検証・インストール
公式ファイルをダウンロードし、SHA256を検証してからサイレントインストールします。
install-mstream-server.ps1
$url = 'https://github.com/IrosTheBeggar/mStream/releases/download/v6.25.0/mStream-6.25.0-win-x64-setup.exe'
$sha256 = '86AB1160E200411CE0C4F1C72244B2574DDB2623D9C9C7ED26711B6E38179CDD'
$file = Join-Path $env:TEMP 'mStream-6.25.0-win-x64-setup.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