ADInstruments DMT Normalizationを確認画面なしでインストール・アンインストールし、展開ツールで検出するためのコマンドです。マニフェストの記載か、インストーラー技術の既定値として確実なコマンドだけを表示しています。
関連ガイド: サイレントインストールのオプション一覧 · レジストリとPowerShellでアンインストールする方法
wingetを使う
PowerShell
winget install --id ADInstruments.LabChart.Module.DMTNormalization -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id ADInstruments.LabChart.Module.DMTNormalization -e --silentwinget uninstall --id ADInstruments.LabChart.Module.DMTNormalization -e --silentインストーラー別
32ビット · MSI · すべてのユーザー
サイレントインストール
msiexec /i DMTNormalization_v1.4.3.msi /qn /norestartログを出力
msiexec /i DMTNormalization_v1.4.3.msi /qn /norestart /l*v "%TEMP%\adinstruments-dmt-normalization-install.log"アンインストール
msiexec /x {C6267F5D-0519-42E0-84E7-9C96D82EB4AC} /qn /norestart- MSIプロダクトコード
- {C6267F5D-0519-42E0-84E7-9C96D82EB4AC}
- アンインストール用レジストリキー
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{C6267F5D-0519-42E0-84E7-9C96D82EB4AC}
- UpgradeCode
- {885989C0-7B06-4EAA-82A8-525AEBF0BF4A}
PowerShell:ダウンロード・検証・インストール
公式ファイルをダウンロードし、SHA256を検証してからサイレントインストールします。
install-adinstruments-dmt-normalization.ps1
$url = 'https://cdn.adinstruments.com/Installers/win/DMTNormalization_v1.4.3.msi'
$sha256 = '53CF3174EB5550C06D30C87F6657B6C91D77B9AF6409355B4D99665FFC8C5231'
$file = Join-Path $env:TEMP 'DMTNormalization_v1.4.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