Files
7d33110476 Update Fleet-maintained apps (#45503)
Automated ingestion of latest Fleet-maintained app data.

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

* **Chores**
* Bumped installer metadata (version, download URLs, checksums, patch
checks) for multiple maintained apps to new releases.
* Adjusted Homebrew ingester logic to handle Camtasia year-prefixed
versions.
* **Bug Fixes**
* macOS uninstall cleanup updated for Camtasia to remove an additional
shared-filelist and preserve user files by moving them to Trash.
* Windows Docker install/uninstall improved: per-user silent install,
registry polling for completion, and more robust registry lookup/error
handling.
* **Tests**
  * Added unit tests for Camtasia version transformation.

<!-- review_stack_entry_start -->

[![Review Change
Stack](https://storage.googleapis.com/coderabbit_public_assets/review-stack-in-coderabbit-ui.svg)](https://app.coderabbit.ai/change-stack/fleetdm/fleet/pull/45503)

<!-- review_stack_entry_end -->
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: allenhouchins <32207388+allenhouchins@users.noreply.github.com>
Co-authored-by: Allen Houchins <allenhouchins@mac.com>
2026-05-14 15:56:26 -05:00

35 lines
1.5 KiB
PowerShell

# Learn more about .exe install scripts:
# http://fleetdm.com/learn-more-about/exe-install-scripts
$exeFilePath = "${env:INSTALLER_PATH}"
try {
# Docker Desktop 4.72+ added a per-user vs all-user install choice for
# Windows. All-user silent installs hang on Windows Server runners
# (Docker Desktop is not officially supported on Windows Server). Install
# per-user with --user instead: no admin needed, target is
# %LOCALAPPDATA%\Programs\DockerDesktop, and uninstall info is written to
# HKCU. --accept-license suppresses the subscription agreement prompt.
Start-Process -FilePath "$exeFilePath" -ArgumentList "install","--user","--accept-license","--quiet" | Out-Null
# The installer process can keep running for several minutes after the
# app is registered with Windows. Poll the HKCU uninstall key (osquery's
# programs table reads both HKLM and HKU) to detect when the core install
# has completed, rather than blocking on Start-Process -Wait.
$registryKey = "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Docker Desktop"
$deadline = (Get-Date).AddMinutes(4)
while ((Get-Date) -lt $deadline) {
if (Get-ItemProperty -Path $registryKey -ErrorAction SilentlyContinue) {
Write-Host "Docker Desktop registered in HKCU."
Exit 0
}
Start-Sleep -Seconds 10
}
Write-Host "Docker Desktop did not register within timeout."
Exit 1
} catch {
Write-Host "Error: $_"
Exit 1
}