010 Editorを確認画面なしでインストール・アンインストールし、展開ツールで検出するためのコマンドです。マニフェストの記載か、インストーラー技術の既定値として確実なコマンドだけを表示しています。
関連ガイド: サイレントインストールのオプション一覧 · レジストリとPowerShellでアンインストールする方法
wingetを使う
PowerShell
winget install --id SweetScape.010Editor -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id SweetScape.010Editor -e --silentwinget uninstall --id SweetScape.010Editor -e --silentインストーラー別
64ビット · EXE(Inno Setup) · すべてのユーザー
サイレントインストール
010EditorWin64Installer17.0.1.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-インストール先を指定
010EditorWin64Installer17.0.1.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\010-editor"- アンインストール用レジストリキー
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\010 Editor_is1
32ビット · EXE(Inno Setup) · すべてのユーザー
サイレントインストール
010EditorWin32Installer17.0.1.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-インストール先を指定
010EditorWin32Installer17.0.1.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\010-editor"- アンインストール用レジストリキー
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\010 Editor_is1
PowerShell:ダウンロード・検証・インストール
公式ファイルをダウンロードし、SHA256を検証してからサイレントインストールします。
install-010-editor.ps1
$url = 'https://download.sweetscape.com/010EditorWin64Installer17.0.1.exe'
$sha256 = '9955CC38DFDA1E41A40546D7C7EA30EF6CB655F46962F4B19F4550A2E8FCE49F'
$file = Join-Path $env:TEMP '010EditorWin64Installer17.0.1.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-010-editor.ps1
$url = 'https://download.sweetscape.com/010EditorWin32Installer17.0.1.exe'
$sha256 = '35F27034B357F6510476E41383E303495042030EA145A17B60373E2CC9E88167'
$file = Join-Path $env:TEMP '010EditorWin32Installer17.0.1.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