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