Manifests/OracleVirtualBox.json

{
    "Name": "Oracle VirtualBox",
    "Source": "https://www.virtualbox.org/",
    "Get": {
        "Update": {
            "Uri": {
                "LATEST": "https://download.virtualbox.org/virtualbox/LATEST.TXT",
                "STABLE": "https://download.virtualbox.org/virtualbox/LATEST-STABLE.TXT",
                "BETA": "https://download.virtualbox.org/virtualbox/LATEST-BETA.TXT"
            }
        },
        "Download": {
            "Uri": "https://download.virtualbox.org/virtualbox/",
            "MatchVersion": "(\\d+(\\.\\d+){1,4}).*",
            "MatchExtensions": ".*Version.*(exe)|.*Version.*(iso)",
            "MatchDownloadFile": "<a[^>]*>([^<]+)</a>"
        }
    },
    "Install": {
        "Setup": "VirtualBox*.exe",
        "Physical": {
            "Arguments": "--silent",
            "PostInstall": []
        },
        "Virtual": {
            "Arguments": "",
            "PostInstall": []
        }
    }
}