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