如何让 Inno Setup 更新多个位置?
我有一个使用 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
不直接。一种选择是为设计为静默的文件构建安装。
然后编写使用第一个安装进行编译的第二个安装。然后,您可以在
[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 callShellExecute()
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.