Diveを確認画面なしでインストール・アンインストールし、展開ツールで検出するためのコマンドです。マニフェストの記載か、インストーラー技術の既定値として確実なコマンドだけを表示しています。
関連ガイド: サイレントインストールのオプション一覧 · レジストリとPowerShellでアンインストールする方法
wingetを使う
PowerShell
winget install --id OpenAgentPlatform.Dive -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id OpenAgentPlatform.Dive -e --silentwinget uninstall --id OpenAgentPlatform.Dive -e --silentインストーラー別
64ビット · EXE(NSIS) · 現在のユーザー
サイレントインストール
Dive-electron-0.14.3-win-x64.exe /Sインストール先を指定
Dive-electron-0.14.3-win-x64.exe /S /D=C:\Apps\dive- アンインストール用レジストリキー
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\6675a1a1-f6e6-5b85-8f7b-ac0387bb4ec2
64ビット · EXE(NSIS) · すべてのユーザー
サイレントインストール
Dive-electron-0.14.3-win-x64.exe /Sインストール先を指定
Dive-electron-0.14.3-win-x64.exe /S /D=C:\Apps\dive- アンインストール用レジストリキー
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\6675a1a1-f6e6-5b85-8f7b-ac0387bb4ec2
PowerShell:ダウンロード・検証・インストール
公式ファイルをダウンロードし、SHA256を検証してからサイレントインストールします。
install-dive.ps1
$url = 'https://github.com/OpenAgentPlatform/Dive/releases/download/v0.14.3/Dive-electron-0.14.3-win-x64.exe'
$sha256 = 'F45F332C75288C6002949E942F00B6954E806C26C7D57CD7F0A28CC75595FC9C'
$file = Join-Path $env:TEMP 'Dive-electron-0.14.3-win-x64.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-dive.ps1
$url = 'https://github.com/OpenAgentPlatform/Dive/releases/download/v0.14.3/Dive-electron-0.14.3-win-x64.exe'
$sha256 = 'F45F332C75288C6002949E942F00B6954E806C26C7D57CD7F0A28CC75595FC9C'
$file = Join-Path $env:TEMP 'Dive-electron-0.14.3-win-x64.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