Commands for installing Bot Framework Emulator without prompts, removing it again and detecting it from deployment tools. A command is shown only when it is certain: from the manifest or the installer technology’s documented default.
Related guide: Silent install switches: MSI, NSIS, Inno Setup · Uninstall a program with the registry or PowerShell
With winget
PowerShell
winget install --id Microsoft.BotFrameworkEmulator -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Microsoft.BotFrameworkEmulator -e --silentwinget uninstall --id Microsoft.BotFrameworkEmulator -e --silentBy installer
32-bit · EXE (NSIS) · Current user · en-US
Silent install
BotFramework-Emulator-4.15.1-windows-setup.exe /SCustom folder
BotFramework-Emulator-4.15.1-windows-setup.exe /S /D=C:\Apps\bot-framework-emulator- Uninstall registry key
- HKCU\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\4284f564-a844-5e4a-9dde-c2da80c6c6d6
32-bit · EXE (NSIS) · All users · en-US
Silent install
BotFramework-Emulator-4.15.1-windows-setup.exe /SCustom folder
BotFramework-Emulator-4.15.1-windows-setup.exe /S /D=C:\Apps\bot-framework-emulator- Uninstall registry key
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\4284f564-a844-5e4a-9dde-c2da80c6c6d6
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-bot-framework-emulator.ps1
$url = 'https://github.com/microsoft/BotFramework-Emulator/releases/download/v4.15.1/BotFramework-Emulator-4.15.1-windows-setup.exe'
$sha256 = 'C02B32FA861C448B3645D34F6E3719EE24C95BC0E4F9561DFF560407069006F2'
$file = Join-Path $env:TEMP 'BotFramework-Emulator-4.15.1-windows-setup.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-bot-framework-emulator.ps1
$url = 'https://github.com/microsoft/BotFramework-Emulator/releases/download/v4.15.1/BotFramework-Emulator-4.15.1-windows-setup.exe'
$sha256 = 'C02B32FA861C448B3645D34F6E3719EE24C95BC0E4F9561DFF560407069006F2'
$file = Join-Path $env:TEMP 'BotFramework-Emulator-4.15.1-windows-setup.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