Susideを確認画面なしでインストール・アンインストールし、展開ツールで検出するためのコマンドです。マニフェストの記載か、インストーラー技術の既定値として確実なコマンドだけを表示しています。
関連ガイド: サイレントインストールのオプション一覧 · レジストリとPowerShellでアンインストールする方法
wingetを使う
PowerShell
winget install --id zeankundev.suside -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id zeankundev.suside -e --silentwinget uninstall --id zeankundev.suside -e --silentインストーラー別
64ビット · EXE(NSIS) · 現在のユーザー
サイレントインストール
Suside_Installer_2.3.3_win.exe /Sインストール先を指定
Suside_Installer_2.3.3_win.exe /S /D=C:\Apps\susidePowerShell:ダウンロード・検証・インストール
公式ファイルをダウンロードし、SHA256を検証してからサイレントインストールします。
install-suside.ps1
$url = 'https://github.com/SerialDesignatorN/suside/releases/download/2.3.3.1/Suside_Installer_2.3.3_win.exe'
$sha256 = '16A2A857FF4F67421543A197943DB485A9A93B8B0D28746133F6748AEB010000'
$file = Join-Path $env:TEMP 'Suside_Installer_2.3.3_win.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 '/S' -Wait