Manifests/MicrosoftTeamsClassic.json

{
    "Name": "Microsoft Teams (classic)",
    "Source": "https://www.microsoft.com/teams",
    "Get": {
        "Update": {
            "Uri": "https://teams.microsoft.com/package/desktopclient/update/1.2.00.32462/windows/x64?ring=#ring",
            "ContentType": "application/json; charset=utf-8",
            "UserAgent": "Mozilla/5.0 (Windows NT 6.1; WOW64) SkypeUriPreview Preview/0.5",
            "MatchVersion": "(\\d+(\\.\\d+){1,4}).*",
            "Rings": {
                "General": "general",
                "ITAdmins": "ring1_5",
                "DeveloperPartners": "ring1_6",
                "Dogfood": "ring2",
                "TAP": "ring3",
                "Preview": "ring3_6",
                "OuterRing": "ring3_9",
                "Public": "ring4"
            },
            "ReplaceText": "#ring"
        },
        "Download": {
            "Uri": "https://teams.microsoft.com/desktopclient/installer/windows/#architecture?ring=#ring",
            "Architecture": [
                "x64",
                "x32",
                "arm64"
            ],
            "ReplaceText": {
                "architecture": "#architecture",
                "ring": "#ring"
            },
            "Extensions": [
                ".exe",
                ".msi"
            ]
        }
    },
    "Install": {
        "Setup": "Teams*.msi",
        "Physical": {
            "Arguments": "",
            "PostInstall": [
                "Remove-Item -Path \"$env:Public\\Desktop\\Microsoft Teams.lnk\" -Force -ErrorAction \"SilentlyContinue\""
            ]
        },
        "Virtual": {
            "Arguments": "ALLUSER=1 ALLUSERS=1",
            "PostInstall": [
                "Remove-Item -Path \"$env:Public\\Desktop\\Microsoft Teams.lnk\" -Force -ErrorAction \"SilentlyContinue\""
            ]
        }
    }
}