Sunshineを確認画面なしでインストール・アンインストールし、展開ツールで検出するためのコマンドです。マニフェストの記載か、インストーラー技術の既定値として確実なコマンドだけを表示しています。
関連ガイド: サイレントインストールのオプション一覧 · レジストリとPowerShellでアンインストールする方法
wingetを使う
PowerShell
winget install --id LizardByte.Sunshine -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id LizardByte.Sunshine -e --silentwinget uninstall --id LizardByte.Sunshine -e --silentインストーラー別
64ビット · MSI · すべてのユーザー · en-US
サイレントインストール
msiexec /i Sunshine-Windows-AMD64-installer.msi /qn /norestartログを出力
msiexec /i Sunshine-Windows-AMD64-installer.msi /qn /norestart /l*v "%TEMP%\sunshine-install.log"アンインストール
msiexec /x {F4B3C08C-F867-4367-9465-6DAB091E5FB6} /qn /norestart- MSIプロダクトコード
- {F4B3C08C-F867-4367-9465-6DAB091E5FB6}
- アンインストール用レジストリキー
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{F4B3C08C-F867-4367-9465-6DAB091E5FB6}
- UpgradeCode
- {512A3D1B-BE16-401B-A0D1-59BBA3942FB8}
- インストール先フォルダー
- %ProgramFiles%/./Sunshine
ARM64 · MSI · すべてのユーザー · en-US
サイレントインストール
msiexec /i Sunshine-Windows-ARM64-installer.msi /qn /norestartログを出力
msiexec /i Sunshine-Windows-ARM64-installer.msi /qn /norestart /l*v "%TEMP%\sunshine-install.log"アンインストール
msiexec /x {652D54E6-96EC-4359-AC7B-A8C0BF541D8D} /qn /norestart- MSIプロダクトコード
- {652D54E6-96EC-4359-AC7B-A8C0BF541D8D}
- アンインストール用レジストリキー
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{652D54E6-96EC-4359-AC7B-A8C0BF541D8D}
- UpgradeCode
- {512A3D1B-BE16-401B-A0D1-59BBA3942FB8}
- インストール先フォルダー
- %ProgramFiles%/./Sunshine
PowerShell:ダウンロード・検証・インストール
公式ファイルをダウンロードし、SHA256を検証してからサイレントインストールします。
install-sunshine.ps1
$url = 'https://github.com/LizardByte/Sunshine/releases/download/v2026.914.233613/Sunshine-Windows-AMD64-installer.msi'
$sha256 = '1D7FED8BEECD5889DC7FF14CF9F42D6D38F37C3066C13C6C2A5F4E91847E0CCF'
$file = Join-Path $env:TEMP 'Sunshine-Windows-AMD64-installer.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 install-sunshine.ps1
$url = 'https://github.com/LizardByte/Sunshine/releases/download/v2026.914.233613/Sunshine-Windows-ARM64-installer.msi'
$sha256 = '1E211404B924FCF421657C71E1AAA95CF1F76E172CACF8FF8430BEACC0E30E4A'
$file = Join-Path $env:TEMP 'Sunshine-Windows-ARM64-installer.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