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