mirror of
https://github.com/fleetdm/fleet
synced 2026-05-23 17:08:53 +00:00
Update Fleet-maintained apps (#35797)
Automated ingestion of latest Fleet-maintained app data. Co-authored-by: allenhouchins <32207388+allenhouchins@users.noreply.github.com>
This commit is contained in:
parent
60295fb88d
commit
876bdc9adf
3 changed files with 11 additions and 11 deletions
|
|
@ -1,14 +1,14 @@
|
|||
{
|
||||
"versions": [
|
||||
{
|
||||
"version": "144.0.2",
|
||||
"version": "145.0",
|
||||
"queries": {
|
||||
"exists": "SELECT 1 FROM programs WHERE name = 'Mozilla Firefox (x64 en-US)' AND publisher = 'Mozilla';"
|
||||
},
|
||||
"installer_url": "https://download-installer.cdn.mozilla.net/pub/firefox/releases/144.0.2/win64/en-US/Firefox%20Setup%20144.0.2.exe",
|
||||
"installer_url": "https://download-installer.cdn.mozilla.net/pub/firefox/releases/145.0/win64/en-US/Firefox%20Setup%20145.0.exe",
|
||||
"install_script_ref": "80fb9175",
|
||||
"uninstall_script_ref": "8b5e20e4",
|
||||
"sha256": "04a28aee8ce4077c55a95a88d30428c0f3b299f507a7c14717a951fc55524833",
|
||||
"sha256": "4b0345c113242653d923b369fcbd48e3089c57658f8c1542f887c8a375d50306",
|
||||
"default_categories": [
|
||||
"Browsers"
|
||||
]
|
||||
|
|
|
|||
|
|
@ -1,21 +1,21 @@
|
|||
{
|
||||
"versions": [
|
||||
{
|
||||
"version": "4.46.104",
|
||||
"version": "4.47.59",
|
||||
"queries": {
|
||||
"exists": "SELECT 1 FROM programs WHERE name = 'Slack' AND publisher = 'Slack Technologies Inc.';"
|
||||
},
|
||||
"installer_url": "https://downloads.slack-edge.com/desktop-releases/windows/x64/4.46.104/slack-standalone-4.46.104.0.msi",
|
||||
"installer_url": "https://downloads.slack-edge.com/desktop-releases/windows/x64/4.47.59/slack-standalone-4.47.59.0.msi",
|
||||
"install_script_ref": "8959087b",
|
||||
"uninstall_script_ref": "e4a6ce99",
|
||||
"sha256": "723607a4aaa5f2070d9fc4c3c6a81dcc94eddd20226ca3d28def41190ada0602",
|
||||
"uninstall_script_ref": "1df3cad0",
|
||||
"sha256": "5d45912f6252c55bbb0d1521951094802cb38961b5bc274f37fb46025da5995f",
|
||||
"default_categories": [
|
||||
"Communication"
|
||||
]
|
||||
}
|
||||
],
|
||||
"refs": {
|
||||
"8959087b": "$logFile = \"${env:TEMP}/fleet-install-software.log\"\n\ntry {\n\n$installProcess = Start-Process msiexec.exe `\n -ArgumentList \"/quiet /norestart /lv ${logFile} /i `\"${env:INSTALLER_PATH}`\"\" `\n -PassThru -Verb RunAs -Wait\n\nGet-Content $logFile -Tail 500\n\nExit $installProcess.ExitCode\n\n} catch {\n Write-Host \"Error: $_\"\n Exit 1\n}\n",
|
||||
"e4a6ce99": "$product_code = \"{A1A6A7A8-C8CD-43BB-BA72-BBC46362E177}\"\n\n# Fleet uninstalls app using product code that's extracted on upload\n$process = Start-Process msiexec -ArgumentList @(\"/quiet\", \"/x\", $product_code, \"/norestart\") -Wait -PassThru\n\n# Check exit code and output result\nif ($process.ExitCode -eq 0) {\n Write-Output \"Exit 0\"\n Exit 0\n} else {\n Write-Output \"Exit $($process.ExitCode)\"\n Exit $process.ExitCode\n}\n"
|
||||
"1df3cad0": "$product_code = \"{CE5C8CF0-B1D2-45AB-9A79-5734AA6F5A99}\"\n\n# Fleet uninstalls app using product code that's extracted on upload\n$process = Start-Process msiexec -ArgumentList @(\"/quiet\", \"/x\", $product_code, \"/norestart\") -Wait -PassThru\n\n# Check exit code and output result\nif ($process.ExitCode -eq 0) {\n Write-Output \"Exit 0\"\n Exit 0\n} else {\n Write-Output \"Exit $($process.ExitCode)\"\n Exit $process.ExitCode\n}\n",
|
||||
"8959087b": "$logFile = \"${env:TEMP}/fleet-install-software.log\"\n\ntry {\n\n$installProcess = Start-Process msiexec.exe `\n -ArgumentList \"/quiet /norestart /lv ${logFile} /i `\"${env:INSTALLER_PATH}`\"\" `\n -PassThru -Verb RunAs -Wait\n\nGet-Content $logFile -Tail 500\n\nExit $installProcess.ExitCode\n\n} catch {\n Write-Host \"Error: $_\"\n Exit 1\n}\n"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -18,4 +18,4 @@
|
|||
"8959087b": "$logFile = \"${env:TEMP}/fleet-install-software.log\"\n\ntry {\n\n$installProcess = Start-Process msiexec.exe `\n -ArgumentList \"/quiet /norestart /lv ${logFile} /i `\"${env:INSTALLER_PATH}`\"\" `\n -PassThru -Verb RunAs -Wait\n\nGet-Content $logFile -Tail 500\n\nExit $installProcess.ExitCode\n\n} catch {\n Write-Host \"Error: $_\"\n Exit 1\n}\n",
|
||||
"94e215e0": "# Fleet uninstalls app by finding all related product codes for the specified upgrade code\n$inst = New-Object -ComObject \"WindowsInstaller.Installer\"\nforeach ($product_code in $inst.RelatedProducts(\"{C819B794-A45C-4F27-9860-0C86492A52CC}\")) {\n $process = Start-Process msiexec -ArgumentList @(\"/quiet\", \"/x\", $product_code, \"/norestart\") -Wait -PassThru\n\n # If the uninstall failed, bail\n if ($process.ExitCode -ne 0) {\n Write-Output \"Uninstall for $($product_code) exited $($process.ExitCode)\"\n Exit $process.ExitCode\n }\n}\n\n# All uninstalls succeeded; exit success\nExit 0"
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue