Monitorianを確認画面なしでインストール・アンインストールし、展開ツールで検出するためのコマンドです。マニフェストの記載か、インストーラー技術の既定値として確実なコマンドだけを表示しています。
関連ガイド: サイレントインストールのオプション一覧 · レジストリとPowerShellでアンインストールする方法
wingetを使う
PowerShell
winget install --id emoacht.Monitorian -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id emoacht.Monitorian -e --silentwinget uninstall --id emoacht.Monitorian -e --silentインストーラー別
32ビット · ZIP · すべてのユーザー
サイレントインストール
msiexec /i MonitorianInstaller4168.zip /qn /norestartアンインストール
msiexec /x {1C8F0254-8050-4F7B-839A-C4EF20D02867} /qn /norestart- MSIプロダクトコード
- {1C8F0254-8050-4F7B-839A-C4EF20D02867}
- アンインストール用レジストリキー
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{1C8F0254-8050-4F7B-839A-C4EF20D02867}
- UpgradeCode
- {81A4D148-75D3-462E-938D-8C208FB48E3C}
- インストール先フォルダー
- %ProgramFiles(x86)%\Monitorian
PowerShell:ダウンロード・検証・インストール
公式ファイルをダウンロードし、SHA256を検証してからサイレントインストールします。
install-monitorian.ps1
$url = 'https://github.com/emoacht/Monitorian/releases/download/4.16.8-Installer/MonitorianInstaller4168.zip'
$sha256 = '6F00297CE4493CF777894304B304EB526D969E46C594854EDB31520D3970292E'
$file = Join-Path $env:TEMP 'MonitorianInstaller4168.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