Ordres per instal·lar OpenBot sense preguntes, desinstal·lar-lo i detectar-lo des d’eines de desplegament. Només es mostra una ordre quan és segura: la que indica el manifest o el valor per defecte documentat de la tecnologia de l’instal·lador.
Guia relacionada: Instal·lació silenciosa: MSI, NSIS, Inno Setup · Desinstal·lar un programa amb el registre o PowerShell
Amb 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 instal·lador
64 bits · EXE (NSIS) · Usuari actual
Instal·lació silenciosa
OpenBot-0.62.0-x64.exe /SUna altra carpeta
OpenBot-0.62.0-x64.exe /S /D=C:\Apps\openbot- Clau de desinstal·lació al registre
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\df305836-e26f-5152-8da0-cadfa0a70d09
64 bits · EXE (NSIS) · Tots els usuaris
Instal·lació silenciosa
OpenBot-0.62.0-x64.exe /SUna altra carpeta
OpenBot-0.62.0-x64.exe /S /D=C:\Apps\openbot- Clau de desinstal·lació al registre
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\df305836-e26f-5152-8da0-cadfa0a70d09
PowerShell: baixar, verificar, instal·lar
Baixa el fitxer oficial, en comprova l’SHA256 i l’instal·la en mode silenciós.
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