Commands for installing BrightScript 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 MarceloLvCabral.BrightScriptEmulator -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id MarceloLvCabral.BrightScriptEmulator -e --silentwinget uninstall --id MarceloLvCabral.BrightScriptEmulator -e --silentBy installer
64-bit · EXE (NSIS) · en-US
Silent install
brs-desktop-2.6.2-windows.exe /SCustom folder
brs-desktop-2.6.2-windows.exe /S /D=C:\Apps\brightscript-emulatorUninstall
msiexec /x {E69D4CB2-9611-5C63-AD1A-C28C6ED57B4F} /qn /norestart- MSI product code
- {E69D4CB2-9611-5C63-AD1A-C28C6ED57B4F}
- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{E69D4CB2-9611-5C63-AD1A-C28C6ED57B4F}
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-brightscript-emulator.ps1
$url = 'https://github.com/lvcabral/brs-desktop/releases/download/v2.6.2/brs-desktop-2.6.2-windows.exe'
$sha256 = 'D4B7809D88F4E67E8F519F261437EB10252CAB1E87C14F31641EE5E2CCB4CEA5'
$file = Join-Path $env:TEMP 'brs-desktop-2.6.2-windows.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