Active Learningを確認画面なしでインストール・アンインストールし、展開ツールで検出するためのコマンドです。マニフェストの記載か、インストーラー技術の既定値として確実なコマンドだけを表示しています。
関連ガイド: サイレントインストールのオプション一覧 · レジストリとPowerShellでアンインストールする方法
wingetを使う
PowerShell
winget install --id Mersive.SolsticeActiveLearning -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Mersive.SolsticeActiveLearning -e --silentwinget uninstall --id Mersive.SolsticeActiveLearning -e --silentインストーラー別
32ビット · MSI · すべてのユーザー
サイレントインストール
msiexec /i ActiveLearning-1.4.msi /qn /norestartログを出力
msiexec /i ActiveLearning-1.4.msi /qn /norestart /l*v "%TEMP%\active-learning-install.log"アンインストール
msiexec /x {3F111719-0EA2-421D-8F47-52ABEE7B59EE} /qn /norestart- MSIプロダクトコード
- {3f111719-0ea2-421d-8f47-52abee7b59ee}
- アンインストール用レジストリキー
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{3f111719-0ea2-421d-8f47-52abee7b59ee}
- UpgradeCode
- {DCF9226A-14C5-4F71-B738-0B4605701ED5}
PowerShell:ダウンロード・検証・インストール
公式ファイルをダウンロードし、SHA256を検証してからサイレントインストールします。
install-active-learning.ps1
$url = 'https://mersive.com/downloads/ActiveLearning-1.4.msi'
$sha256 = 'F99BAF2DD41E1B6B7AF9B39BBAC1949726A5CD5A31E1F3DCACDA2560017F956D'
$file = Join-Path $env:TEMP 'ActiveLearning-1.4.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