Superhumanを確認画面なしでインストール・アンインストールし、展開ツールで検出するためのコマンドです。マニフェストの記載か、インストーラー技術の既定値として確実なコマンドだけを表示しています。
関連ガイド: サイレントインストールのオプション一覧 · レジストリとPowerShellでアンインストールする方法
wingetを使う
PowerShell
winget install --id Superhuman.Superhuman -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Superhuman.Superhuman -e --silentwinget uninstall --id Superhuman.Superhuman -e --silentインストーラー別
64ビット · EXE(NSIS) · 現在のユーザー
サイレントインストール
"Superhuman Setup 1041.0.75-latest.exe" /Sインストール先を指定
"Superhuman Setup 1041.0.75-latest.exe" /S /D=C:\Apps\superhuman- アンインストール用レジストリキー
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\49b7df64-6557-59ab-9b2b-f97a2de29e77
ARM64 · EXE(NSIS) · 現在のユーザー
サイレントインストール
"Superhuman Setup 1041.0.75-latest.exe" /Sインストール先を指定
"Superhuman Setup 1041.0.75-latest.exe" /S /D=C:\Apps\superhuman- アンインストール用レジストリキー
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\49b7df64-6557-59ab-9b2b-f97a2de29e77
PowerShell:ダウンロード・検証・インストール
公式ファイルをダウンロードし、SHA256を検証してからサイレントインストールします。
install-superhuman.ps1
$url = 'https://download.superhuman.com/native-update/Superhuman%20Setup%201041.0.75-latest.exe'
$sha256 = '5AB648D5CC68018977526652A7F07CD9D7C6A3D074DDFB89A069AB1DD165670A'
$file = Join-Path $env:TEMP 'Superhuman Setup 1041.0.75-latest.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-superhuman.ps1
$url = 'https://download.superhuman.com/native-update/Superhuman%20Setup%201041.0.75-latest.exe'
$sha256 = '5AB648D5CC68018977526652A7F07CD9D7C6A3D074DDFB89A069AB1DD165670A'
$file = Join-Path $env:TEMP 'Superhuman Setup 1041.0.75-latest.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