Kommandon för att installera Dive utan frågor, ta bort programmet igen och identifiera det i distributionsverktyg. Ett kommando visas bara när det är säkert: från manifestet eller som installationsteknikens dokumenterade standard.
Relaterad guide: Parametrar för tyst installation: MSI, NSIS, Inno · Avinstallera program via registret eller PowerShell
Med 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 --silentPer installationsfil
64-bitars · EXE (NSIS) · Aktuell användare
Tyst installation
Dive-electron-0.14.3-win-x64.exe /SEgen mapp
Dive-electron-0.14.3-win-x64.exe /S /D=C:\Apps\dive- Avinstallationsnyckel i registret
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\6675a1a1-f6e6-5b85-8f7b-ac0387bb4ec2
64-bitars · EXE (NSIS) · Alla användare
Tyst installation
Dive-electron-0.14.3-win-x64.exe /SEgen mapp
Dive-electron-0.14.3-win-x64.exe /S /D=C:\Apps\dive- Avinstallationsnyckel i registret
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\6675a1a1-f6e6-5b85-8f7b-ac0387bb4ec2
PowerShell: ladda ner, kontrollera, installera
Laddar ner den officiella filen, kontrollerar dess SHA256 och installerar tyst.
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