diff --git a/ee/maintained-apps/inputs/winget/aws-vpn-client.json b/ee/maintained-apps/inputs/winget/aws-vpn-client.json new file mode 100644 index 0000000000..80d9c76cc4 --- /dev/null +++ b/ee/maintained-apps/inputs/winget/aws-vpn-client.json @@ -0,0 +1,10 @@ +{ + "name": "AWS Client VPN", + "slug": "aws-vpn-client/windows", + "package_identifier": "Amazon.AWSVPNClient", + "unique_identifier": "AWS VPN Client", + "installer_arch": "x64", + "installer_type": "msi", + "installer_scope": "machine", + "default_categories": ["Productivity"] +} diff --git a/ee/maintained-apps/outputs/apps.json b/ee/maintained-apps/outputs/apps.json index 3781beb957..ff8cb26d3f 100644 --- a/ee/maintained-apps/outputs/apps.json +++ b/ee/maintained-apps/outputs/apps.json @@ -239,6 +239,13 @@ "unique_identifier": "com.amazonaws.acvc.osx", "description": "AWS Client VPN is a managed client-based VPN service to securely access AWS resources." }, + { + "name": "AWS Client VPN", + "slug": "aws-vpn-client/windows", + "platform": "windows", + "unique_identifier": "AWS VPN Client", + "description": "AWS Client VPN is a managed client-based VPN service to securely access AWS resources." + }, { "name": "Backblaze", "slug": "backblaze/darwin", diff --git a/ee/maintained-apps/outputs/aws-vpn-client/windows.json b/ee/maintained-apps/outputs/aws-vpn-client/windows.json new file mode 100644 index 0000000000..f925ecf833 --- /dev/null +++ b/ee/maintained-apps/outputs/aws-vpn-client/windows.json @@ -0,0 +1,23 @@ +{ + "versions": [ + { + "version": "5.3.4", + "queries": { + "exists": "SELECT 1 FROM programs WHERE name = 'AWS VPN Client' AND publisher = 'Amazon';", + "patched": "SELECT 1 WHERE NOT EXISTS (SELECT 1 FROM programs WHERE name = 'AWS VPN Client' AND publisher = 'Amazon' AND version_compare(version, '5.3.4') < 0);" + }, + "installer_url": "https://d20adtppz83p9s.cloudfront.net/WPF/5.3.4/AWS_VPN_Client.msi", + "install_script_ref": "8959087b", + "uninstall_script_ref": "4a75ca68", + "sha256": "81a5c5101624c5f74de8afdcb816f03ea8ff9e8c6a5eaa8890a95779a94dbe41", + "default_categories": [ + "Developer tools" + ], + "upgrade_code": "{8D1975AA-4987-4668-ACD2-66EC556E5608}" + } + ], + "refs": { + "4a75ca68": "# 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('{8D1975AA-4987-4668-ACD2-66EC556E5608}')) {\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" + } +} diff --git a/frontend/pages/SoftwarePage/components/icons/AwsVpnClient.tsx b/frontend/pages/SoftwarePage/components/icons/AwsVpnClient.tsx index 3fce14a3b5..59edbf5057 100644 --- a/frontend/pages/SoftwarePage/components/icons/AwsVpnClient.tsx +++ b/frontend/pages/SoftwarePage/components/icons/AwsVpnClient.tsx @@ -7,7 +7,7 @@ const AwsVpnClient = (props: SVGProps) => ( ); diff --git a/website/assets/images/app-icon-aws-vpn-client-60x60@2x.png b/website/assets/images/app-icon-aws-vpn-client-60x60@2x.png index a88e24f767..d9bd958dbf 100644 Binary files a/website/assets/images/app-icon-aws-vpn-client-60x60@2x.png and b/website/assets/images/app-icon-aws-vpn-client-60x60@2x.png differ