AIMPを確認画面なしでインストール・アンインストールし、展開ツールで検出するためのコマンドです。マニフェストの記載か、インストーラー技術の既定値として確実なコマンドだけを表示しています。
関連ガイド: サイレントインストールのオプション一覧 · レジストリとPowerShellでアンインストールする方法
wingetを使う
PowerShell
winget install --id AIMP.AIMP -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id AIMP.AIMP -e --silentwinget uninstall --id AIMP.AIMP -e --silentインストーラー別
64ビット · EXE · すべてのユーザー
サイレントインストール
aimp_5.10.2418_w64.exe /AUTO /SILENT- アンインストール用レジストリキー
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\AIMP
32ビット · EXE · すべてのユーザー
サイレントインストール
aimp_5.10.2418_w32.exe /AUTO /SILENT- アンインストール用レジストリキー
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\AIMP
PowerShell:ダウンロード・検証・インストール
公式ファイルをダウンロードし、SHA256を検証してからサイレントインストールします。
install-aimp.ps1
$url = 'https://aimp.ru/files/windows/builds/aimp_5.10.2418_w64.exe'
$sha256 = 'BEEC5CD3D3E61B314C4505B79EDB93C2F0ED85CA08FD70393724FE80CCA70420'
$file = Join-Path $env:TEMP 'aimp_5.10.2418_w64.exe'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process -FilePath $file -ArgumentList '/AUTO /SILENT' -Wait install-aimp.ps1
$url = 'https://aimp.ru/files/windows/builds/aimp_5.10.2418_w32.exe'
$sha256 = '21A1DF4B36E29327694A627A54D8E47167C781DB2E6BF560319BE45CA4FC761F'
$file = Join-Path $env:TEMP 'aimp_5.10.2418_w32.exe'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process -FilePath $file -ArgumentList '/AUTO /SILENT' -Wait