Coreを確認画面なしでインストール・アンインストールし、展開ツールで検出するためのコマンドです。マニフェストの記載か、インストーラー技術の既定値として確実なコマンドだけを表示しています。
関連ガイド: サイレントインストールのオプション一覧 · レジストリとPowerShellでアンインストールする方法
wingetを使う
PowerShell
winget install --id ManticoreGames.Core -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id ManticoreGames.Core -e --silentwinget uninstall --id ManticoreGames.Core -e --silentインストーラー別
64ビット · EXE(WiX Burn)
サイレントインストール
CoreLauncherInstall.exe /quiet /norestartPowerShell:ダウンロード・検証・インストール
公式ファイルをダウンロードし、SHA256を検証してからサイレントインストールします。
install-core.ps1
$url = 'https://manticoreprod.azureedge.net/builds/CoreLauncherInstall.exe'
$sha256 = '69CBC014B759A1DA9694E6CA31BE802EB50B3EF75FBCD08EA7241415B6B54A7D'
$file = Join-Path $env:TEMP 'CoreLauncherInstall.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 '/quiet /norestart' -Wait