phoenix-protectorを確認画面なしでインストール・アンインストールし、展開ツールで検出するためのコマンドです。マニフェストの記載か、インストーラー技術の既定値として確実なコマンドだけを表示しています。
関連ガイド: サイレントインストールのオプション一覧 · レジストリとPowerShellでアンインストールする方法
インストーラー別
CPU共通 · MSI
サイレントインストール
msiexec /i Phoenix_Protector.msi /qn /norestartログを出力
msiexec /i Phoenix_Protector.msi /qn /norestart /l*v "%TEMP%\phoenix-protector-install.log"PowerShell:ダウンロード・検証・インストール
公式ファイルをダウンロードし、SHA256を検証してからサイレントインストールします。
install-phoenix-protector.ps1
$url = 'https://ntcore.com/files/Phoenix_Protector.msi'
$sha256 = '15A7DBBF90CE66FB302A322C6809FAFD897808096069DFECEDEDF78E51B16369'
$file = Join-Path $env:TEMP 'Phoenix_Protector.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