VideoCacheViewを確認画面なしでインストール・アンインストールし、展開ツールで検出するためのコマンドです。マニフェストの記載か、インストーラー技術の既定値として確実なコマンドだけを表示しています。
関連ガイド: サイレントインストールのオプション一覧 · レジストリとPowerShellでアンインストールする方法
wingetを使う
PowerShell
winget install --id NirSoft.VideoCacheView -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id NirSoft.VideoCacheView -e --silentwinget uninstall --id NirSoft.VideoCacheView -e --silentインストーラー別
64ビット · ZIP · en-US
インストール不要(ポータブル)
32ビット · EXE(NSIS) · すべてのユーザー · en-US
サイレントインストール
videocacheview_setup.exe /Sインストール先を指定
videocacheview_setup.exe /S /D=C:\Apps\videocacheview- アンインストール用レジストリキー
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\NirSoft VideoCacheView
- インストール先フォルダー
- %ProgramFiles(x86)%\NirSoft\VideoCacheView
32ビット · ZIP · en-US
インストール不要(ポータブル)
PowerShell:ダウンロード・検証・インストール
公式ファイルをダウンロードし、SHA256を検証してからサイレントインストールします。
install-videocacheview.ps1
$url = 'https://www.nirsoft.net/utils/videocacheview_setup.exe'
$sha256 = 'AB838F8026F761D4E6D02C90B486B8B9B2FDA8EA4D32F2C04ADC4DFCA56AC8BA'
$file = Join-Path $env:TEMP 'videocacheview_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