mirror of
https://github.com/fleetdm/fleet
synced 2026-05-24 09:28:54 +00:00
Add metadata and install/uninstall automation for Thunderbird on Windows. Adds ee/maintained-apps/inputs/winget/thunderbird.json plus PowerShell install/uninstall scripts (NSIS silent /S, install uses /PreventRebootRequired=true; uninstall resolves registry entry for x64 en-US and appends /S). Update maintained apps outputs: register Thunderbird in ee/maintained-apps/outputs/apps.json and add ee/maintained-apps/outputs/thunderbird/windows.json (version 149.0.2, installer URL and sha256, script refs). Also update frontend icon component and app PNG asset for Thunderbird. <!-- Add the related story/sub-task/bug number, like Resolves #123, or remove if NA --> **Related issue:** Resolves #43526
25 lines
638 B
PowerShell
25 lines
638 B
PowerShell
# Learn more about .exe install scripts:
|
|
# http://fleetdm.com/learn-more-about/exe-install-scripts
|
|
|
|
$exeFilePath = "${env:INSTALLER_PATH}"
|
|
|
|
try {
|
|
# Thunderbird uses a Nullsoft (NSIS) installer; Winget silent switches:
|
|
# /S /PreventRebootRequired=true
|
|
$processOptions = @{
|
|
FilePath = "$exeFilePath"
|
|
ArgumentList = "/S /PreventRebootRequired=true"
|
|
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
|
|
}
|