Commands for installing Bot Framework Composer 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
winget install --id Microsoft.BotFrameworkComposer -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Microsoft.BotFrameworkComposer -e --silentwinget uninstall --id Microsoft.BotFrameworkComposer -e --silentBy installer
64-bit · EXE (NSIS) · Current user
BotFramework-Composer-2.1.2-windows-setup.exe /SBotFramework-Composer-2.1.2-windows-setup.exe /S /D=C:\Apps\bot-framework-composer- Uninstall registry key
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\af30ccea-0e1e-54cd-b22a-e7e279121975
64-bit · EXE (NSIS) · All users
BotFramework-Composer-2.1.2-windows-setup.exe /SBotFramework-Composer-2.1.2-windows-setup.exe /S /D=C:\Apps\bot-framework-composer- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\af30ccea-0e1e-54cd-b22a-e7e279121975
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
$url = 'https://github.com/microsoft/BotFramework-Composer/releases/download/v2.1.2/BotFramework-Composer-2.1.2-windows-setup.exe'
$sha256 = '2100CCA169A72B399396FC1731AA887EF69696DD66CC7801014015C89878FDF1'
$file = Join-Path $env:TEMP 'BotFramework-Composer-2.1.2-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 $url = 'https://github.com/microsoft/BotFramework-Composer/releases/download/v2.1.2/BotFramework-Composer-2.1.2-windows-setup.exe'
$sha256 = '2100CCA169A72B399396FC1731AA887EF69696DD66CC7801014015C89878FDF1'
$file = Join-Path $env:TEMP 'BotFramework-Composer-2.1.2-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