基于 Swing 的项目的 Java 安装程序

发布于 2024-11-29 18:45:07 字数 239 浏览 5 评论 0原文

我从事一个Java项目,其中使用了Web服务,需要在注册表中修改值,并且有一些DLL需要向系统注册。在安装时需要设置一些环境变量,请记住这些要求,哪个 Java 安装程序是最好的,我还需要一个独立于平台的安装程序,因为我的 Java 项目是独立于平台的。

我想我可以使用 IzPack

但我认为你们可以更好地帮助我并建议我一个安装程序。

I worked on a Java project in which web services are used, values are to be modified in registry and there are some DLLs to be register with system. there are some environment variables to set, at the time of installation, keeping in mind these requirements , which Java installer is best, i also need a installer which is platform independent as my Java project is platform independent.

I think i may use IzPack

but i think you guys can help me better and suggest me an installer.

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

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

发布评论

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

评论(2

时常饿 2024-12-06 18:45:07

如果可以选择商业产品,您可以查看 install4j ,但我对此无话可说。

IzPack 似乎是唯一仍在积极开发的开源 Java 安装程序。我最近亲自使用过它,它有很多强大的功能,但上手并不容易。有很多文档非常详细地描述了一些事情,但不幸的是,对于最常见的情况没有简单的“如何做”。预计会花费大量时间进行试错。

If a commercial product is an option, you could take a look at install4j, but I can't say anything about it.

IzPack seems to be the only open source Java installer that's still being actively developed. I've recently used it myself, and it has a lot of powerful features, but is not easy to get started with. There's a lot of documentation that describes some things in great detail, but unfortunately no simple "how to" for the most common case. Expect to spend a lot of time on trial-and-error.

帅的被狗咬 2024-12-06 18:45:07

我会使用 IzPack,它是一个很棒的工具,可以将安装程序捆绑在一个 jar 中。独立于平台,并且可以仅在存在特殊条件时使用某些例程。例如,只在Windows上安装DLL,搞乱注册表(自定义操作)等等。

我一直很喜欢使用 IzPack,并建议您尝试一下。
该文档也是一个很好的资源,可以了解各种可能性文档

I would use IzPack, its a great tool which bundles your installer in a jar. platform independent and with the possibility to only use some routines when special conditions a present. For example, only install DLL on Windows, mess with the registry (Custom Action) and so on.

I always enjoyed using IzPack and suggest you should give it a try.
The doc is also a great resource for the possibilities Doc

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