Rebasedを確認画面なしでインストール・アンインストールし、展開ツールで検出するためのコマンドです。マニフェストの記載か、インストーラー技術の既定値として確実なコマンドだけを表示しています。
関連ガイド: サイレントインストールのオプション一覧 · レジストリとPowerShellでアンインストールする方法
wingetを使う
PowerShell
winget install --id detachhead.rebased -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id detachhead.rebased -e --silentwinget uninstall --id detachhead.rebased -e --silentインストーラー別
64ビット · EXE(NSIS) · すべてのユーザー · en-US
サイレントインストール
rebased.exe /Sインストール先を指定
rebased.exe /S /D=C:\Apps\rebased- アンインストール用レジストリキー
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Rebased 1.1.22
- インストール先フォルダー
- %ProgramFiles%\detachhead\Rebased
- DisplayVersion
- 1.1.22
ARM64 · EXE(NSIS) · すべてのユーザー · en-US
サイレントインストール
rebased-aarch64.exe /Sインストール先を指定
rebased-aarch64.exe /S /D=C:\Apps\rebased- アンインストール用レジストリキー
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Rebased 1.1.22
- インストール先フォルダー
- %ProgramFiles%\detachhead\Rebased
- DisplayVersion
- 1.1.22
PowerShell:ダウンロード・検証・インストール
公式ファイルをダウンロードし、SHA256を検証してからサイレントインストールします。
install-rebased.ps1
$url = 'https://github.com/DetachHead/rebased/releases/download/1.1.22/rebased.exe'
$sha256 = '05B9F87F577F313B58BD663A709BA4AAA179F8947648936513FF17B8B02FFE31'
$file = Join-Path $env:TEMP 'rebased.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-rebased.ps1
$url = 'https://github.com/DetachHead/rebased/releases/download/1.1.22/rebased-aarch64.exe'
$sha256 = '22BBA20833AE48570CDF8197C24B9293ACA95933EB8FD300C867B3A9A85FEF26'
$file = Join-Path $env:TEMP 'rebased-aarch64.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