Update Fleet-maintained apps (#27877)

Automated ingestion of latest Fleet-maintained app data.

Co-authored-by: jahzielv <19838370+jahzielv@users.noreply.github.com>
This commit is contained in:
github-actions[bot]
2025-04-04 09:08:51 -05:00
committed by GitHub
co-authored by jahzielv
parent 3ad3def17f
commit a7591dc941
5 changed files with 19 additions and 19 deletions
@@ -1,18 +1,18 @@
{
"versions": [
{
"version": "2.43.205",
"version": "2.44.209",
"queries": {
"exists": "SELECT 1 FROM programs WHERE name = 'Box' AND publisher = 'Box, Inc.';"
},
"installer_url": "https://e3.boxcdn.net/desktop/releases/win/BoxDrive-2.43.205.msi",
"installer_url": "https://e3.boxcdn.net/desktop/releases/win/BoxDrive-2.44.209.msi",
"install_script_ref": "8959087b",
"uninstall_script_ref": "8f1ea340",
"sha256": "5c2fbb3d3b88843f2a41d97ef6790c8b959a4a3e88216e57638c2d884b883ea3"
"uninstall_script_ref": "de1e8a93",
"sha256": "d52c46b8b1c3ee383f712c1e1672eccde790bf8a3cf52d28440be89220924a1b"
}
],
"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",
"8f1ea340": "$product_code = \"{023DC454-39E5-46FD-8F1B-DF6F344AAADB}\"\n\n# Fleet uninstalls app using product code that's extracted on upload\nmsiexec /quiet /x $product_code\nExit $LASTEXITCODE\n"
"de1e8a93": "$product_code = \"{4C462062-5BE1-4757-9796-73C3A2D942E1}\"\n\n# Fleet uninstalls app using product code that's extracted on upload\nmsiexec /quiet /x $product_code\nExit $LASTEXITCODE\n"
}
}
@@ -1,18 +1,18 @@
{
"versions": [
{
"version": "134.0.3124.95",
"version": "135.0.3179.54",
"queries": {
"exists": "SELECT 1 FROM apps WHERE bundle_identifier = 'com.microsoft.edgemac';"
},
"installer_url": "https://msedge.sf.dl.delivery.mp.microsoft.com/filestreamingservice/files/7697fb1f-03b9-4c5b-a21a-db2973b936d9/MicrosoftEdge-134.0.3124.95.pkg",
"install_script_ref": "5875c250",
"installer_url": "https://msedge.sf.dl.delivery.mp.microsoft.com/filestreamingservice/files/d3d754a3-4afc-4dc2-b1b9-5226894fdf12/MicrosoftEdge-135.0.3179.54.pkg",
"install_script_ref": "75760409",
"uninstall_script_ref": "3a3eb6a1",
"sha256": "0384868c1c3d97d60ff5da6500e6b48a9a47cadf46a509a2c6598b6d916a6b91"
"sha256": "7bb07e3722866a4b5e44f0efe42c204a72105cbcfd3abe96811d6f00d08e8a61"
}
],
"refs": {
"3a3eb6a1": "#!/bin/sh\n\n# variables\nLOGGED_IN_USER=$(scutil \u003c\u003c\u003c \"show State:/Users/ConsoleUser\" | awk '/Name :/ { print $3 }')\n# functions\n\nremove_launchctl_service() {\n local service=\"$1\"\n local booleans=(\"true\" \"false\")\n local plist_status\n local paths\n local should_sudo\n\n echo \"Removing launchctl service ${service}\"\n\n for should_sudo in \"${booleans[@]}\"; do\n plist_status=$(launchctl list \"${service}\" 2\u003e/dev/null)\n\n if [[ $plist_status == \\{* ]]; then\n if [[ $should_sudo == \"true\" ]]; then\n sudo launchctl remove \"${service}\"\n else\n launchctl remove \"${service}\"\n fi\n sleep 1\n fi\n\n paths=(\n \"/Library/LaunchAgents/${service}.plist\"\n \"/Library/LaunchDaemons/${service}.plist\"\n )\n\n # if not using sudo, prepend the home directory to the paths\n if [[ $should_sudo == \"false\" ]]; then\n for i in \"${!paths[@]}\"; do\n paths[i]=\"${HOME}${paths[i]}\"\n done\n fi\n\n for path in \"${paths[@]}\"; do\n if [[ -e \"$path\" ]]; then\n if [[ $should_sudo == \"true\" ]]; then\n sudo rm -f -- \"$path\"\n else\n rm -f -- \"$path\"\n fi\n fi\n done\n done\n}\n\ntrash() {\n local logged_in_user=\"$1\"\n local target_file=\"$2\"\n local timestamp=\"$(date +%Y-%m-%d-%s)\"\n local rand=\"$(jot -r 1 0 99999)\"\n\n # replace ~ with /Users/$logged_in_user\n if [[ \"$target_file\" == ~* ]]; then\n target_file=\"/Users/$logged_in_user${target_file:1}\"\n fi\n\n local trash=\"/Users/$logged_in_user/.Trash\"\n local file_name=\"$(basename \"${target_file}\")\"\n\n if [[ -e \"$target_file\" ]]; then\n echo \"removing $target_file.\"\n mv -f \"$target_file\" \"$trash/${file_name}_${timestamp}_${rand}\"\n else\n echo \"$target_file doesn't exist.\"\n fi\n}\n\nremove_launchctl_service 'com.microsoft.EdgeUpdater.update-internal.109.0.1518.89.system'\nremove_launchctl_service 'com.microsoft.EdgeUpdater.update.system'\nremove_launchctl_service 'com.microsoft.EdgeUpdater.wake.system'\nsudo pkgutil --forget 'com.microsoft.edgemac'\nsudo rm -rf '/Library/Application Support/Microsoft/EdgeUpdater'\nsudo rmdir '/Library/Application Support/Microsoft'\nsudo rmdir '~/Library/Microsoft'\ntrash $LOGGED_IN_USER '~/Library/Application Scripts/com.microsoft.edgemac.wdgExtension'\ntrash $LOGGED_IN_USER '~/Library/Application Support/Microsoft Edge'\ntrash $LOGGED_IN_USER '~/Library/Caches/com.microsoft.edgemac'\ntrash $LOGGED_IN_USER '~/Library/Caches/Microsoft Edge'\ntrash $LOGGED_IN_USER '~/Library/Containers/com.microsoft.edgemac.wdgExtension'\ntrash $LOGGED_IN_USER '~/Library/HTTPStorages/com.microsoft.edgemac'\ntrash $LOGGED_IN_USER '~/Library/LaunchAgents/com.microsoft.EdgeUpdater.*.plist'\ntrash $LOGGED_IN_USER '~/Library/Microsoft/MicrosoftSoftwareUpdate/Actives/com.microsoft.edgemac'\ntrash $LOGGED_IN_USER '~/Library/Preferences/com.microsoft.edgemac.plist'\ntrash $LOGGED_IN_USER '~/Library/Saved Application State/com.microsoft.edgemac.savedState'\ntrash $LOGGED_IN_USER '~/Library/WebKit/com.microsoft.edgemac'\n",
"5875c250": "#!/bin/sh\n\n# variables\nAPPDIR=\"/Applications/\"\nTMPDIR=$(dirname \"$(realpath $INSTALLER_PATH)\")\n\n# install pkg files\n\nCHOICE_XML=$(mktemp /tmp/choice_xml_XXX)\n\ncat \u003c\u003c EOF \u003e \"$CHOICE_XML\"\n\u003c?xml version=\"1.0\" encoding=\"UTF-8\"?\u003e\n\u003c!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\"\u003e\n\u003cplist version=\"1.0\"\u003e\n\u003carray\u003e\n \u003cdict\u003e\n \u003ckey\u003eattributeSetting\u003c/key\u003e\n \u003cinteger\u003e0\u003c/integer\u003e\n \u003ckey\u003echoiceAttribute\u003c/key\u003e\n \u003cstring\u003eselected\u003c/string\u003e\n \u003ckey\u003echoiceIdentifier\u003c/key\u003e\n \u003cstring\u003ecom.microsoft.package.Microsoft_AutoUpdate.app\u003c/string\u003e\n \u003c/dict\u003e\n\u003c/array\u003e\n\u003c/plist\u003e\n\nEOF\n\nsudo installer -pkg \"$TMPDIR\"/MicrosoftEdge-134.0.3124.95.pkg -target / -applyChoiceChangesXML \"$CHOICE_XML\"\n\n"
"75760409": "#!/bin/sh\n\n# variables\nAPPDIR=\"/Applications/\"\nTMPDIR=$(dirname \"$(realpath $INSTALLER_PATH)\")\n\n# install pkg files\n\nCHOICE_XML=$(mktemp /tmp/choice_xml_XXX)\n\ncat \u003c\u003c EOF \u003e \"$CHOICE_XML\"\n\u003c?xml version=\"1.0\" encoding=\"UTF-8\"?\u003e\n\u003c!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\"\u003e\n\u003cplist version=\"1.0\"\u003e\n\u003carray\u003e\n \u003cdict\u003e\n \u003ckey\u003eattributeSetting\u003c/key\u003e\n \u003cinteger\u003e0\u003c/integer\u003e\n \u003ckey\u003echoiceAttribute\u003c/key\u003e\n \u003cstring\u003eselected\u003c/string\u003e\n \u003ckey\u003echoiceIdentifier\u003c/key\u003e\n \u003cstring\u003ecom.microsoft.package.Microsoft_AutoUpdate.app\u003c/string\u003e\n \u003c/dict\u003e\n\u003c/array\u003e\n\u003c/plist\u003e\n\nEOF\n\nsudo installer -pkg \"$TMPDIR\"/MicrosoftEdge-135.0.3179.54.pkg -target / -applyChoiceChangesXML \"$CHOICE_XML\"\n\n"
}
}
@@ -1,14 +1,14 @@
{
"versions": [
{
"version": "11.39.2",
"version": "11.39.5",
"queries": {
"exists": "SELECT 1 FROM apps WHERE bundle_identifier = 'com.postmanlabs.mac';"
},
"installer_url": "https://dl.pstmn.io/download/version/11.39.2/osx_arm64",
"installer_url": "https://dl.pstmn.io/download/version/11.39.5/osx_arm64",
"install_script_ref": "1809f0b2",
"uninstall_script_ref": "15e9f11c",
"sha256": "514ebe398927856c4b95800e1c1a363c243e49e4f4ddeb57ef220665ebea077d"
"sha256": "abb9d8851e430adca9b8e2181f4f29172bdd19ec096cca54368fc33730206a5b"
}
],
"refs": {
@@ -1,14 +1,14 @@
{
"versions": [
{
"version": "1.98.2",
"version": "1.99.0",
"queries": {
"exists": "SELECT 1 FROM apps WHERE bundle_identifier = 'com.microsoft.VSCode';"
},
"installer_url": "https://update.code.visualstudio.com/1.98.2/darwin-arm64/stable",
"installer_url": "https://update.code.visualstudio.com/1.99.0/darwin-arm64/stable",
"install_script_ref": "6478c56c",
"uninstall_script_ref": "391941e2",
"sha256": "ac89add013db53126c99387a9178781b8d67a69d4defad871d297cc7c4cfc603"
"sha256": "ed3abb9daa5f693f865b4a6846fadca138ccffa1c39e667591e47144d93a6383"
}
],
"refs": {
@@ -1,14 +1,14 @@
{
"versions": [
{
"version": "1.98.2",
"version": "1.99.0",
"queries": {
"exists": "SELECT 1 FROM programs WHERE name = 'Microsoft Visual Studio Code' AND publisher = 'Microsoft Corporation';"
},
"installer_url": "https://vscode.download.prss.microsoft.com/dbazure/download/stable/ddc367ed5c8936efe395cffeec279b04ffd7db78/VSCodeSetup-x64-1.98.2.exe",
"installer_url": "https://vscode.download.prss.microsoft.com/dbazure/download/stable/4437686ffebaf200fa4a6e6e67f735f3edf24ada/VSCodeSetup-x64-1.99.0.exe",
"install_script_ref": "49122823",
"uninstall_script_ref": "e09509e2",
"sha256": "2cfa385732dac31e82d94808af04f129f897aadd74b1967fb58035c8c615555e"
"sha256": "c7263d720fd3624235d7846fbb1da587a822b1b79a75064e28358e6404b764f6"
}
],
"refs": {