OpenHumanを確認画面なしでインストール・アンインストールし、展開ツールで検出するためのコマンドです。マニフェストの記載か、インストーラー技術の既定値として確実なコマンドだけを表示しています。
関連ガイド: サイレントインストールのオプション一覧 · レジストリとPowerShellでアンインストールする方法
wingetを使う
PowerShell
winget install --id TinyHumansAI.OpenHuman -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id TinyHumansAI.OpenHuman -e --silentwinget uninstall --id TinyHumansAI.OpenHuman -e --silentインストーラー別
64ビット · EXE(NSIS) · 現在のユーザー
サイレントインストール
OpenHuman_0.64.15_x64-setup.exe /Sインストール先を指定
OpenHuman_0.64.15_x64-setup.exe /S /D=C:\Apps\openhuman- アンインストール用レジストリキー
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\OpenHuman
64ビット · MSI · すべてのユーザー
サイレントインストール
msiexec /i OpenHuman_0.64.15_x64_en-US.msi /qn /norestartログを出力
msiexec /i OpenHuman_0.64.15_x64_en-US.msi /qn /norestart /l*v "%TEMP%\openhuman-install.log"アンインストール
msiexec /x {3E7388F0-42A8-41C4-95C3-3323D24EF4D6} /qn /norestart- MSIプロダクトコード
- {3E7388F0-42A8-41C4-95C3-3323D24EF4D6}
- アンインストール用レジストリキー
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{3E7388F0-42A8-41C4-95C3-3323D24EF4D6}
- UpgradeCode
- {54052255-0CFF-5EA8-82D1-C533E6DE0990}
PowerShell:ダウンロード・検証・インストール
公式ファイルをダウンロードし、SHA256を検証してからサイレントインストールします。
install-openhuman.ps1
$url = 'https://github.com/tinyhumansai/openhuman/releases/download/v0.64.15/OpenHuman_0.64.15_x64-setup.exe'
$sha256 = 'FFF6A9588C2F71334DF8EC1F395B3BFAE7395D77E84C97FEF50950DD6411A2D6'
$file = Join-Path $env:TEMP 'OpenHuman_0.64.15_x64-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 '/S' -Wait install-openhuman.ps1
$url = 'https://github.com/tinyhumansai/openhuman/releases/download/v0.64.15/OpenHuman_0.64.15_x64_en-US.msi'
$sha256 = 'D3ADD5F3CA48B62B7CA93BB53B7990D35E3D40673E42C9A951915F459993FDD9'
$file = Join-Path $env:TEMP 'OpenHuman_0.64.15_x64_en-US.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