Manifests/SumatraPDFReader.json

{
    "Name": "Sumatra PDF Reader",
    "Source": "https://www.sumatrapdfreader.org/",
    "Get": {
        "Update": {
            "Uri": "https://www.sumatrapdfreader.org/update-check-rel.txt",
            "MatchVersion": "Latest\\s(\\d+(\\.\\d+){1,4})"
        },
        "Download": {
            "Uri": {
                "x86": "https://www.sumatrapdfreader.org/dl2/SumatraPDF-#version-install.exe",
                "x64": "https://www.sumatrapdfreader.org/dl2/SumatraPDF-#version-64-install.exe"
            },
            "ReplaceText": "#version"
        }
    },
    "Install": {
        "Setup": "SumatraPDF.*.exe",
        "Preinstall": "",
        "Physical": {
            "Arguments": "-s -d \"$env:ProgramFiles\\SumatraPDF\"",
            "PostInstall": [

            ]
        },
        "Virtual": {
            "Arguments": "-s -d \"$env:ProgramFiles\\SumatraPDF\"",
            "PostInstall": [

            ]
        }
    }
}