OpenMPTを確認画面なしでインストール・アンインストールし、展開ツールで検出するためのコマンドです。マニフェストの記載か、インストーラー技術の既定値として確実なコマンドだけを表示しています。
関連ガイド: サイレントインストールのオプション一覧 · レジストリとPowerShellでアンインストールする方法
wingetを使う
PowerShell
winget install --id OpenMPT.OpenMPT -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id OpenMPT.OpenMPT -e --silentwinget uninstall --id OpenMPT.OpenMPT -e --silentインストーラー別
64ビット · EXE(Inno Setup) · 現在のユーザー
サイレントインストール
OpenMPT-1.32.12.00-Setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-インストール先を指定
OpenMPT-1.32.12.00-Setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\openmpt"- アンインストール用レジストリキー
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{40c97d3e-7763-4b88-8c6a-0901befee4af}_is1
64ビット · EXE(Inno Setup) · すべてのユーザー
サイレントインストール
OpenMPT-1.32.12.00-Setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-インストール先を指定
OpenMPT-1.32.12.00-Setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\openmpt"- アンインストール用レジストリキー
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{40c97d3e-7763-4b88-8c6a-0901befee4af}_is1
ARM64 · EXE(Inno Setup) · 現在のユーザー
サイレントインストール
OpenMPT-1.32.12.00-Setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-インストール先を指定
OpenMPT-1.32.12.00-Setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\openmpt"- アンインストール用レジストリキー
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{40c97d3e-7763-4b88-8c6a-0901befee4af}_is1
ARM64 · EXE(Inno Setup) · すべてのユーザー
サイレントインストール
OpenMPT-1.32.12.00-Setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-インストール先を指定
OpenMPT-1.32.12.00-Setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\openmpt"- アンインストール用レジストリキー
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{40c97d3e-7763-4b88-8c6a-0901befee4af}_is1
32ビット · EXE(Inno Setup) · 現在のユーザー
サイレントインストール
OpenMPT-1.32.12.00-Setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-インストール先を指定
OpenMPT-1.32.12.00-Setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\openmpt"- アンインストール用レジストリキー
- HKCU\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{40c97d3e-7763-4b88-8c6a-0901befee4af}_is1
32ビット · EXE(Inno Setup) · すべてのユーザー
サイレントインストール
OpenMPT-1.32.12.00-Setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-インストール先を指定
OpenMPT-1.32.12.00-Setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\openmpt"- アンインストール用レジストリキー
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{40c97d3e-7763-4b88-8c6a-0901befee4af}_is1
PowerShell:ダウンロード・検証・インストール
公式ファイルをダウンロードし、SHA256を検証してからサイレントインストールします。
install-openmpt.ps1
$url = 'https://download.openmpt.org/archive/openmpt/1.32/OpenMPT-1.32.12.00-Setup.exe'
$sha256 = '7FD1248AA3964A89E2233819595013C78295BE788DEFBE8F3410FAA1B358C8AA'
$file = Join-Path $env:TEMP 'OpenMPT-1.32.12.00-Setup.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 '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-' -Wait install-openmpt.ps1
$url = 'https://download.openmpt.org/archive/openmpt/1.32/OpenMPT-1.32.12.00-Setup.exe'
$sha256 = '7FD1248AA3964A89E2233819595013C78295BE788DEFBE8F3410FAA1B358C8AA'
$file = Join-Path $env:TEMP 'OpenMPT-1.32.12.00-Setup.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 '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-' -Wait install-openmpt.ps1
$url = 'https://download.openmpt.org/archive/openmpt/1.32/OpenMPT-1.32.12.00-Setup.exe'
$sha256 = '7FD1248AA3964A89E2233819595013C78295BE788DEFBE8F3410FAA1B358C8AA'
$file = Join-Path $env:TEMP 'OpenMPT-1.32.12.00-Setup.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 '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-' -Wait install-openmpt.ps1
$url = 'https://download.openmpt.org/archive/openmpt/1.32/OpenMPT-1.32.12.00-Setup.exe'
$sha256 = '7FD1248AA3964A89E2233819595013C78295BE788DEFBE8F3410FAA1B358C8AA'
$file = Join-Path $env:TEMP 'OpenMPT-1.32.12.00-Setup.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 '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-' -Wait install-openmpt.ps1
$url = 'https://download.openmpt.org/archive/openmpt/1.32/OpenMPT-1.32.12.00-Setup.exe'
$sha256 = '7FD1248AA3964A89E2233819595013C78295BE788DEFBE8F3410FAA1B358C8AA'
$file = Join-Path $env:TEMP 'OpenMPT-1.32.12.00-Setup.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 '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-' -Wait install-openmpt.ps1
$url = 'https://download.openmpt.org/archive/openmpt/1.32/OpenMPT-1.32.12.00-Setup.exe'
$sha256 = '7FD1248AA3964A89E2233819595013C78295BE788DEFBE8F3410FAA1B358C8AA'
$file = Join-Path $env:TEMP 'OpenMPT-1.32.12.00-Setup.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 '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-' -Wait