安装包里对应的 Catalog 如下
{
"id": "Microsoft.Azure.Compute.Emulator.Exe",
"version": "2.9.8699.21",
"type": "Exe",
"chip": "x64",
"payloads": [{
"fileName": "MicrosoftAzureComputeEmulator-x64.exe",
"sha256": "775af600c38248de6e2d39f165e6fb587eff6352bb8b359cf0a2e31239dc8bae",
"size": 5458848,
"url": "
https://download.visualstudio.microsoft.com/download/pr/100351350/e5259fba7dbbca835aa3c19ed90297bf/MicrosoftAzureComputeEmulator-x64.exe"
}
],
"detectConditions": {
"conditions": [{
"registryKey": "HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows Azure Emulator",
"id": "ComputeEmulatorX64RegKey",
"registryValue": "FullVersion",
"registryData": "[2.9.8699.20,)"
}
]
},
"installParams": {
"fileName": "[Payload]",
"parameters": "/quiet"
},
"uninstallParams": {
"fileName": "[Payload]",
"parameters": "/quiet /uninstall"
},
"providerKey": "MicrosoftAzureComputeEmulatorExe,v2.9",
"installSizes": {
"systemDrive": 19394560
}
}
不清楚这个 catalog.json 文件自身是不是 HTTPS 下载的,你可以比较一下你的。