Moonscraper Chart Editorを確認画面なしでインストール・アンインストールし、展開ツールで検出するためのコマンドです。マニフェストの記載か、インストーラー技術の既定値として確実なコマンドだけを表示しています。
関連ガイド: サイレントインストールのオプション一覧 · レジストリとPowerShellでアンインストールする方法
wingetを使う
PowerShell
winget install --id Firefox2000000.MoonscraperChartEditor -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Firefox2000000.MoonscraperChartEditor -e --silentwinget uninstall --id Firefox2000000.MoonscraperChartEditor -e --silentインストーラー別
64ビット · EXE(Inno Setup) · すべてのユーザー · en-US
サイレントインストール
MSCE.1.5.13.Installer.Win64.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-インストール先を指定
MSCE.1.5.13.Installer.Win64.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\moonscraper-chart-editor"- アンインストール用レジストリキー
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{7510F674-07C4-4D9A-BAA7-B380238F6723}_is1
- インストール先フォルダー
- %ProgramFiles%\Moonscraper Chart Editor
32ビット · EXE(Inno Setup) · すべてのユーザー · en-US
サイレントインストール
MSCE.1.5.13.Installer.Win32.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-インストール先を指定
MSCE.1.5.13.Installer.Win32.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\moonscraper-chart-editor"- アンインストール用レジストリキー
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{7510F674-07C4-4D9A-BAA7-B380238F6723}_is1
- インストール先フォルダー
- %ProgramFiles%\Moonscraper Chart Editor
- DisplayVersion
- 1.5.13
PowerShell:ダウンロード・検証・インストール
公式ファイルをダウンロードし、SHA256を検証してからサイレントインストールします。
install-moonscraper-chart-editor.ps1
$url = 'https://github.com/FireFox2000000/Moonscraper-Chart-Editor/releases/download/1.5.13/MSCE.1.5.13.Installer.Win64.exe'
$sha256 = '30C5D0070CDFCA7DC7B0F1C973468B12995FF3E14685A1308790257AA030FEFE'
$file = Join-Path $env:TEMP 'MSCE.1.5.13.Installer.Win64.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-moonscraper-chart-editor.ps1
$url = 'https://github.com/FireFox2000000/Moonscraper-Chart-Editor/releases/download/1.5.13/MSCE.1.5.13.Installer.Win32.exe'
$sha256 = 'A6AC2686F619E1A5BD534DB75BD540B197EC02D5E8FCCC82B16D608EF2F5C962'
$file = Join-Path $env:TEMP 'MSCE.1.5.13.Installer.Win32.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