HttpMaster Express Editionを確認画面なしでインストール・アンインストールし、展開ツールで検出するためのコマンドです。マニフェストの記載か、インストーラー技術の既定値として確実なコマンドだけを表示しています。
関連ガイド: サイレントインストールのオプション一覧 · レジストリとPowerShellでアンインストールする方法
wingetを使う
PowerShell
winget install --id Borvid.HttpMasterExpress -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Borvid.HttpMasterExpress -e --silentwinget uninstall --id Borvid.HttpMasterExpress -e --silentインストーラー別
CPU共通 · MSI
サイレントインストール
msiexec /i httpmaster_exp_5.9.3.msi /qn /norestartログを出力
msiexec /i httpmaster_exp_5.9.3.msi /qn /norestart /l*v "%TEMP%\httpmaster-express-edition-install.log"アンインストール
msiexec /x {AF55E3A4-939B-4BA4-97C8-46E88F0A435E} /qn /norestart- MSIプロダクトコード
- {AF55E3A4-939B-4BA4-97C8-46E88F0A435E}
- アンインストール用レジストリキー
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{AF55E3A4-939B-4BA4-97C8-46E88F0A435E}
PowerShell:ダウンロード・検証・インストール
公式ファイルをダウンロードし、SHA256を検証してからサイレントインストールします。
install-httpmaster-express-edition.ps1
$url = 'https://www.httpmaster.net/downloads/httpmaster_exp_5.9.3.msi'
$sha256 = '0BDFC152E08BC313885D087FF62D5931EC7772D4B7355059779ACBD6B1D8ED6B'
$file = Join-Path $env:TEMP 'httpmaster_exp_5.9.3.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