Kommandon för att installera OpenBot 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 SynthetifyLabs.OpenBot -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id SynthetifyLabs.OpenBot -e --silentwinget uninstall --id SynthetifyLabs.OpenBot -e --silentPer installationsfil
64-bitars · EXE (NSIS) · Aktuell användare
Tyst installation
OpenBot-0.62.0-x64.exe /SEgen mapp
OpenBot-0.62.0-x64.exe /S /D=C:\Apps\openbot- Avinstallationsnyckel i registret
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\df305836-e26f-5152-8da0-cadfa0a70d09
64-bitars · EXE (NSIS) · Alla användare
Tyst installation
OpenBot-0.62.0-x64.exe /SEgen mapp
OpenBot-0.62.0-x64.exe /S /D=C:\Apps\openbot- Avinstallationsnyckel i registret
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\df305836-e26f-5152-8da0-cadfa0a70d09
PowerShell: ladda ner, kontrollera, installera
Laddar ner den officiella filen, kontrollerar dess SHA256 och installerar tyst.
install-openbot.ps1
$url = 'https://github.com/nightly-labs/openbot/releases/download/v0.62.0/OpenBot-0.62.0-x64.exe'
$sha256 = 'EAA467DAB05D36F27F46F38E64D343F5DCDEFEA13C1EE8A78CDFC03973038592'
$file = Join-Path $env:TEMP 'OpenBot-0.62.0-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-openbot.ps1
$url = 'https://github.com/nightly-labs/openbot/releases/download/v0.62.0/OpenBot-0.62.0-x64.exe'
$sha256 = 'EAA467DAB05D36F27F46F38E64D343F5DCDEFEA13C1EE8A78CDFC03973038592'
$file = Join-Path $env:TEMP 'OpenBot-0.62.0-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