2

Is it possible for a Windows application to download and install a new version of itself without the use of a Windows Service?

How would this work when using MSI based installations?

If the app checked periodically for a new version, eg. once per day, could the new MSI be downloaded and then installed automatically so that it replaced the existing version of the app?

4

1 回答 1

0

Windows Installer 是用于在 Windows 上安装应用程序的 Windows 服务。它包含在所有当前版本的 Windows 中。因此,您无法在不运行该服务的情况下安装 Windows Installer 程序包。

如果系统上未安装 Windows Installer 服务,则需要使用Windows Installer Bootstrapping方法来安装该服务。

于 2012-12-10T18:58:14.390 回答