คำสั่งสำหรับติดตั้ง Bot Framework Emulator โดยไม่มีหน้าต่างถามตอบ ถอนการติดตั้ง และตรวจจับจากเครื่องมือกระจายซอฟต์แวร์ เราแสดงคำสั่งเฉพาะเมื่อแน่ใจเท่านั้น คือมาจากแมนิเฟสต์หรือค่าเริ่มต้นที่มีเอกสารของเทคโนโลยีตัวติดตั้งนั้น
คู่มือที่เกี่ยวข้อง: พารามิเตอร์ติดตั้งแบบเงียบ: MSI, NSIS, Inno Setup · ถอนการติดตั้งโปรแกรมผ่านรีจิสทรีหรือ PowerShell
ใช้ 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 --silentแยกตามตัวติดตั้ง
32 บิต · EXE (NSIS) · ผู้ใช้ปัจจุบัน · en-US
ติดตั้งแบบเงียบ
BotFramework-Emulator-4.15.1-windows-setup.exe /Sกำหนดโฟลเดอร์เอง
BotFramework-Emulator-4.15.1-windows-setup.exe /S /D=C:\Apps\bot-framework-emulator- คีย์รีจิสทรีสำหรับถอนการติดตั้ง
- HKCU\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\4284f564-a844-5e4a-9dde-c2da80c6c6d6
32 บิต · EXE (NSIS) · ผู้ใช้ทุกคน · en-US
ติดตั้งแบบเงียบ
BotFramework-Emulator-4.15.1-windows-setup.exe /Sกำหนดโฟลเดอร์เอง
BotFramework-Emulator-4.15.1-windows-setup.exe /S /D=C:\Apps\bot-framework-emulator- คีย์รีจิสทรีสำหรับถอนการติดตั้ง
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\4284f564-a844-5e4a-9dde-c2da80c6c6d6
PowerShell: ดาวน์โหลด ตรวจสอบ ติดตั้ง
ดาวน์โหลดไฟล์ทางการ ตรวจสอบค่า SHA256 แล้วติดตั้งแบบเงียบ
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