如何让 Inno Setup 更新多个位置?

发布于 2024-09-10 06:56:15 字数 207 浏览 3 评论 0原文

我有一个使用 Inno Setup 作为安装程序的应用程序。 我现在正在使用 Inno Setup 编写一个更新程序,以将一些更新应用到各个安装位置。

该应用程序可以作为便携式应用程序安装在可移动闪存驱动器上,我希望能够立即在连接到 PC 的每个驱动器的多个驱动器/位置/目录上推出更新。

有没有办法让 Inno Setup 将其内容作为位置数组中每个位置的更新推出?

I have an application that uses Inno Setup as its installer.
I am now writing an updater using Inno Setup to apply some updates to various installed locations.

This application can be installed on removable flash drives as a portable app and I would like to be able to roll out the updates across several drives/locations/directories for each drive attached to the PC at once.

Is there a way to get Inno Setup to roll out its contents as an update to each location in an array of locations?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

心安伴我暖 2024-09-17 06:56:15

不直接。一种选择是为设计为静默的文件构建安装。

然后编写使用第一个安装进行编译的第二个安装。然后,您可以在 [Code] 部分调用 ShellExecute() 执行第一个安装程序。您可以根据需要多次调用第一个安装程序。

尽管如此,我怀疑这可能真的会对“添加/删除程序”造成破坏。

Not directly. One option is to build an install for the files that is designed to be silent.

Then write a second install that compiles that uses the first one. Then you [Code] Section you could call ShellExecute() executing the first installer. You could call the first installer as many times as you wanted.

Although, I suspect this may really creates havok on the Add/Remove Programs.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文