为复杂的跨平台程序创建安装程序 [英] Creating installers for complex cross-platform programs

查看:70
本文介绍了为复杂的跨平台程序创建安装程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在为一堆相对复杂的桌面应用程序草拟一个应用程序部署过程。我们同时具有本机和Java应用程序,因此部署必须能够检查JRE的存在并在需要时进行安装。一些应用程序依赖于特殊的硬件,因此部署还必须能够启动必要的驱动程序安装程序。一些应用程序是多平台的,并且最好使用相同的机制应该能够创建Windows,Linux和Mac OS X安装程序。即:

I'm sketching an application deployment process for a bunch of relatively complex desktop applications. We have both native and Java apps, so the deployment must be able to check for existence of the JRE and install it if needed. Some of the apps depend on special hardware, so the deployment must also be able to launch the necessary driver installers. Some of the apps are multiplatform, and preferably the same mechanism should be able to create Windows, Linux and Mac OS X installers. That is:


  • 除了应用程序本身之外,安装程序还必须能够安装


    • Java运行时环境。

    • 驱动程序(硬件)-即启动其他安装程序。

    现在,有点复杂,我怀疑可能没有单个安装程序可以完成所有这一切。因此,我在两种根本不同的方法之间进行思考:

    Now, this is getting a bit complex, and I suspect that there might be no single installer that could do this all. Therefore I'm thinking between two fundamentally different approaches:


    1. 特定于平台的机制: NSIS 会为以下文件创建 .exe .msi Windows,XXX将为Ubuntu创建 .deb ,YYY将为OS X创建 .dmg

    2. 可以满足上述所有要求的跨平台安装程序:ZZZ?

    1. Platform-specific mechanisms: NSIS would create .exe or .msi for Windows, XXX would create .deb for Ubuntu, and YYY would create .dmg for OS X.
    2. Cross-platform installer that would handle all the requirements above: ZZZ?

    有什么建议吗?我看过的一些选项包括:

    Any recommendations? Some options that I've looked include:


    • NSIS -很好,但仅Windows。

    • IzPack -很好,但是需要运行JVM。

    • NSIS - Excellent, but Windows only.
    • IzPack - Good, but requires JVM to run.

    是否有通用的工具,还是应该选择一个合适的工具?每个平台分别使用工具?在后一种情况下,对于Ubuntu和Mac OS X, NSIS等效项是什么?

    Is there an universal tool for this, or should I just pick an appropriate tool separately for each platform? In the latter case, what would be "NSIS equivalents" for Ubuntu and Mac OS X?

    推荐答案

    BitRock InstallBuilder 满足所有要求,包括成为多平台并提供自动更新机制

    BitRock InstallBuilder meets all the requirements, including being multiplatform and providing an autoupdate mechanism

    这篇关于为复杂的跨平台程序创建安装程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆