Certify Oneを確認画面なしでインストール・アンインストールし、展開ツールで検出するためのコマンドです。マニフェストの記載か、インストーラー技術の既定値として確実なコマンドだけを表示しています。
関連ガイド: サイレントインストールのオプション一覧 · レジストリとPowerShellでアンインストールする方法
wingetを使う
PowerShell
winget install --id FireDaemon.CertifyOne -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id FireDaemon.CertifyOne -e --silentwinget uninstall --id FireDaemon.CertifyOne -e --silentインストーラー別
64ビット · EXE
サイレントインストール
Certify-One-x64-4.2.3.exe /exenoui /qn /norestart REBOOT=ReallySuppressアンインストール
msiexec /x {2C529066-3771-4F2B-9336-66C8B09FF852} /qn /norestart- MSIプロダクトコード
- {2C529066-3771-4F2B-9336-66C8B09FF852}
- アンインストール用レジストリキー
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{2C529066-3771-4F2B-9336-66C8B09FF852}
PowerShell:ダウンロード・検証・インストール
公式ファイルをダウンロードし、SHA256を検証してからサイレントインストールします。
install-certify-one.ps1
$url = 'https://download.firedaemon.com/FireDaemon-Certify-One/4.2.3/Certify-One-x64-4.2.3.exe'
$sha256 = 'F23EDE58FB068B4B09903A35FD6B90E3F54DED83768478DB13304B93F349BB00'
$file = Join-Path $env:TEMP 'Certify-One-x64-4.2.3.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 '/exenoui /qn /norestart REBOOT=ReallySuppress' -Wait