需要帮助编写从网络服务器获取安装程序的多程序安装程序

发布于 2024-11-07 12:31:57 字数 380 浏览 4 评论 0原文

好吧,我正在尝试编写一个安装多个程序的安装程序。安装程序需要能够从 Web 服务器获取文件,或者能够将文件打包到单个安装程序文件中。

我正在寻找的最终结果是用户点击网页,他们可以单击链接来下载单个安装程序文件,安装程序将继续安装每个程序。安静的安装会更好,但不是绝对必要的。我正在努力使其尽可能用户友好且防白痴。

从网络服务器获取每个程序的安装程序会更好,这样它总是获取最新版本,并且我不必在每次更新程序时调整安装程序脚本。

我研究过 NSIS 和 MSI,但似乎都无法满足我的需要。我曾经考虑过使用 Java Web Start 来运行一个可以安装所有内容的 Java 程序,但我不确定这种想法的合理性。如果这是可能的,那么用户甚至不需要运行文件,Java Web Start 就会处理所有事情。

Okay, I am trying to write an installer that installs multiple programs. The installer needs to be able to either get the files from a web server, or be able to package the files into a single installer file.

The end result I am looking for is a user hits a webpage, they can click a link to download a single installer file and the installer goes ahead and installs each of the programs. Quiet installations would be preferable but not absolutely necessary. I am trying to make this as user friendly and idiot proof as possible.

Grabbing the installers for each program from a web server would be preferable so it always grabs the latest version and I will not have to tweak the installer script each time the programs are updated.

I have looked into NSIS and MSI, and neither seem to be able to do what I need. I have entertained the idea of using Java Web Start to run a Java program that can install everything, but I am not sure the plausibility of that. If that is possible, then the user would not even need to run a file the Java Web Start would just take care of everything.

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

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

发布评论

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

评论(1

玩物 2024-11-14 12:31:57

也许 Ninite 会有所帮助。

如果没有,有两种可能的解决方案:

  1. 您可以尝试使用 MSI 包装器作为先决条件或通过自定义操作安装应用程序。它既肮脏又复杂,但 MSI 是一个标准。
  2. 您可以编写自己的应用程序来处理安装程序。这很可能是最好的方法。

Perhaps Ninite will help.

If not, there are two possible solutions:

  1. You can try using a MSI wrapper which installs the applications as prerequisites or through custom actions. It's dirty and complicated, but MSI is a standard.
  2. You can write your own application which handles the installers. This is most likely the best approach.
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文