Add Cisco Webex as Windows FMA (#36463)
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"name": "Webex",
|
||||
"slug": "webex/windows",
|
||||
"package_identifier": "Cisco.Webex",
|
||||
"unique_identifier": "Cisco Webex",
|
||||
"installer_arch": "x64",
|
||||
"installer_type": "msi",
|
||||
"installer_scope": "machine",
|
||||
"default_categories": ["Communication"]
|
||||
}
|
||||
@@ -841,6 +841,13 @@
|
||||
"unique_identifier": "Cisco-Systems.Spark",
|
||||
"description": "Webex is a video communication and virtual meeting platform."
|
||||
},
|
||||
{
|
||||
"name": "Webex",
|
||||
"slug": "webex/windows",
|
||||
"platform": "windows",
|
||||
"unique_identifier": "Cisco Webex",
|
||||
"description": "Webex is a video communication and virtual meeting platform."
|
||||
},
|
||||
{
|
||||
"name": "WebStorm",
|
||||
"slug": "webstorm/darwin",
|
||||
|
||||
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"version": "45.11.1.33570",
|
||||
"queries": {
|
||||
"exists": "SELECT 1 FROM programs WHERE name = 'Cisco Webex' AND publisher = 'Cisco Systems, Inc';"
|
||||
},
|
||||
"installer_url": "https://binaries.webex.com/WebexDesktop-Win-64-Gold/20251120141634/Webex.msi",
|
||||
"install_script_ref": "8959087b",
|
||||
"uninstall_script_ref": "8478e0d0",
|
||||
"sha256": "f8933d39ae49a03f6a713dd5fbd39ab69015800e7ca2bc875c07cf3c005b6d89",
|
||||
"default_categories": [
|
||||
"Communication"
|
||||
],
|
||||
"upgrade_code": "{B9DCA8E9-B3A9-419A-9D6F-9BC3557EE72C}"
|
||||
}
|
||||
],
|
||||
"refs": {
|
||||
"8478e0d0": "# Fleet uninstalls app by finding all related product codes for the specified upgrade code\n$inst = New-Object -ComObject \"WindowsInstaller.Installer\"\n$timeoutSeconds = 300 # 5 minute timeout per product\n\nforeach ($product_code in $inst.RelatedProducts(\"{B9DCA8E9-B3A9-419A-9D6F-9BC3557EE72C}\")) {\n $process = Start-Process msiexec -ArgumentList @(\"/quiet\", \"/x\", $product_code, \"/norestart\") -PassThru\n \n # Wait for process with timeout\n $completed = $process.WaitForExit($timeoutSeconds * 1000)\n \n if (-not $completed) {\n Stop-Process -Id $process.Id -Force -ErrorAction SilentlyContinue\n Exit 1603 # ERROR_UNINSTALL_FAILURE\n }\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\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"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"version": "45.11.1.33570",
|
||||
"queries": {
|
||||
"exists": "SELECT 1 FROM programs WHERE name = 'Cisco Webex' AND publisher = 'Cisco Systems, Inc';"
|
||||
},
|
||||
"installer_url": "https://binaries.webex.com/WebexDesktop-Win-64-Gold/20251120141634/Webex.msi",
|
||||
"install_script_ref": "8959087b",
|
||||
"uninstall_script_ref": "8478e0d0",
|
||||
"sha256": "f8933d39ae49a03f6a713dd5fbd39ab69015800e7ca2bc875c07cf3c005b6d89",
|
||||
"default_categories": [
|
||||
"Communication"
|
||||
],
|
||||
"upgrade_code": "{B9DCA8E9-B3A9-419A-9D6F-9BC3557EE72C}"
|
||||
}
|
||||
],
|
||||
"refs": {
|
||||
"8478e0d0": "# Fleet uninstalls app by finding all related product codes for the specified upgrade code\n$inst = New-Object -ComObject \"WindowsInstaller.Installer\"\n$timeoutSeconds = 300 # 5 minute timeout per product\n\nforeach ($product_code in $inst.RelatedProducts(\"{B9DCA8E9-B3A9-419A-9D6F-9BC3557EE72C}\")) {\n $process = Start-Process msiexec -ArgumentList @(\"/quiet\", \"/x\", $product_code, \"/norestart\") -PassThru\n \n # Wait for process with timeout\n $completed = $process.WaitForExit($timeoutSeconds * 1000)\n \n if (-not $completed) {\n Stop-Process -Id $process.Id -Force -ErrorAction SilentlyContinue\n Exit 1603 # ERROR_UNINSTALL_FAILURE\n }\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\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"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user