Files
Harrison RavazzoloandAllen Houchins 06b3176042 Windows FMA - Android Studio (#46505)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

* **New Features**
* Android Studio support for Windows is now available, adding a Windows
app entry and a specific Windows release version (2025.3.4.7).
* Install/uninstall now run non-interactively and include improved
detection of existing installations and version checks for safe
upgrades.

<!-- 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/46505?utm_source=github_walkthrough&utm_medium=github&utm_campaign=change_stack)

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

---------

Co-authored-by: Allen Houchins <allenhouchins@mac.com>
2026-05-29 20:38:38 -05:00

24 lines
418 B
PowerShell

$exeFilePath = "${env:INSTALLER_PATH}"
$ExpectedExitCodes = @(0, 1223)
try {
$processOptions = @{
FilePath = "$exeFilePath"
ArgumentList = "/S"
PassThru = $true
Wait = $true
}
$process = Start-Process @processOptions
$exitCode = $process.ExitCode
Write-Host "Install exit code: $exitCode"
if ($ExpectedExitCodes -contains $exitCode) { Exit 0 }
Exit $exitCode
} catch {
Write-Host "Error: $_"
Exit 1
}