MultiBaseCS Serverを確認画面なしでインストール・アンインストールし、展開ツールで検出するためのコマンドです。マニフェストの記載か、インストーラー技術の既定値として確実なコマンドだけを表示しています。
関連ガイド: サイレントインストールのオプション一覧 · レジストリとPowerShellでアンインストールする方法
wingetを使う
PowerShell
winget install --id 34u.MultiBaseCSServer -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id 34u.MultiBaseCSServer -e --silentwinget uninstall --id 34u.MultiBaseCSServer -e --silentインストーラー別
64ビット · ZIP · de-DE
サイレントインストール
msiexec /i MultiBaseCS5ServerMSI_547.zip /qn /norestartアンインストール
msiexec /x {6623FB49-3C67-4F49-87C5-C27E72EB0B05} /qn /norestart- MSIプロダクトコード
- {6623FB49-3C67-4F49-87C5-C27E72EB0B05}
- アンインストール用レジストリキー
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{6623FB49-3C67-4F49-87C5-C27E72EB0B05}
PowerShell:ダウンロード・検証・インストール
公式ファイルをダウンロードし、SHA256を検証してからサイレントインストールします。
install-multibasecs-server.ps1
$url = 'https://www.multibasecs.de/downloads/Files/MultiBaseCS/Version_54/MultiBaseCS5ServerMSI_547.zip'
$sha256 = '091CD32CCFB0ADF1E5B7AEA47F58F3CF6AD418D56F8028E0293B8495B3EB184C'
$file = Join-Path $env:TEMP 'MultiBaseCS5ServerMSI_547.zip'
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