Files
Allen Houchins 1d4650d2be Add Beekeeper Studio as a Windows FMA (#47060)
Add Winget input manifest and PowerShell install/uninstall scripts for
Beekeeper Studio, and register the app in outputs. Files added:
ee/maintained-apps/inputs/winget/beekeeper-studio.json, install and
uninstall scripts under inputs/winget/scripts, and
ee/maintained-apps/outputs/beekeeper-studio/windows.json (version 5.8.1
with installer URL and SHA256). Also update
ee/maintained-apps/outputs/apps.json to include the Windows entry.
Installer script runs the NSIS installer silently with /S and /allusers
for machine-scope installs; the uninstaller searches ARP registry
entries, parses the uninstall string, and enforces /S and /allusers to
ensure a machine-scoped uninstall.
2026-06-07 23:00:24 -05:00

25 lines
564 B
PowerShell

$exeFilePath = "${env:INSTALLER_PATH}"
try {
# Beekeeper Studio ships an electron-builder NSIS installer. /S runs it
# silently; /allusers forces a per-machine install so the app is reachable
# from Fleet's SYSTEM context (matches the winget machine-scope switch).
$processOptions = @{
FilePath = "$exeFilePath"
ArgumentList = "/S", "/allusers"
PassThru = $true
Wait = $true
}
$process = Start-Process @processOptions
$exitCode = $process.ExitCode
Write-Host "Install exit code: $exitCode"
Exit $exitCode
} catch {
Write-Host "Error: $_"
Exit 1
}