如何在 Azure 云服务上保留 .exe 安装

How to persist .exe installations on Azure Cloud Service

我创建了一个 Azure 云服务来分析图像中的文本。它使用 this Python library which depends on the installation of Tesseract-OCR here. Specifically, I am using tesseract-ocr-setup-3.02.02.exe (one of the old versions because it has a Windows installer), which can be found here.

我的问题是:此安装程序没有 silent/automatic 安装选项,但我需要它在部署 Azure 云服务时自动安装。 我不能在每次上传云服务时都手动安装它,尤其是在 Azure 重新启动云服务 VM 进行维护之后。是否有其他选项可以在 Azure 云服务 VM 上安装 Tesseract-OCR,以便在 Azure 重新启动云服务时安装仍然存在?

你最好的选择是设置一个虚拟机,安装你需要的软件,然后通过 ftp 或其他方式将你的应用程序部署到这台机器上..

您无法自定义 "managed cloud service"

的主机