English 中文(简体)
IzPack是否提供“简单”安装模式?
原标题:Does IzPack provide an "easy" install mode?

我需要在我的安装器中提供两种安装模式 : “ 容易” 和“ 正常 ” 。 在“ 容易 ” 模式下, 用户不必浏览台阶, 点击“ 下一步” 按钮。 他只需点击一次“ 安装 ”, 安装过程和所有默认设置完成。 IzPack 是为这种模式提供一个面板, 还是我必须写一个自定义面板? 如果是后者, 我该如何操作? 任何指针/资源?

问题回答

我从未尝试过制造这样的安装器, 但我知道可以安装一次, 并根据输入创建一个自动安装器。

从理论上讲,您可以使用您的常规安装器在机器上安装您的应用程序,并在最后一个面板( FinnishPanel )中生成自动安装器。将生成一个 XML 文件。然后您只需将此文件与安装者放在同一个目录中,才能在类似的机器上进行完全自动安装(相同的操作系统与目录结构等)。

另一个选项是在控制台模式下运行安装器(运行安装罐,使用 -conole 参数并传递理想值) 。 创建批次/ 贝壳脚本可以很容易地在一次点击中全部完成。 我不久前尝试过这个方法, 效果很好 。 不幸的是, 添加自定义面板似乎在某种程度上禁用了当前安装器的此选项 。

http://izpack.org/documentation/advanced-features.html#a自动化安装器'rel=“nofollow”>关于这些功能的文件 不够详细。





相关问题
Spring Properties File

Hi have this j2ee web application developed using spring framework. I have a problem with rendering mnessages in nihongo characters from the properties file. I tried converting the file to ascii using ...

Logging a global ID in multiple components

I have a system which contains multiple applications connected together using JMS and Spring Integration. Messages get sent along a chain of applications. [App A] -> [App B] -> [App C] We set a ...

Java Library Size

If I m given two Java Libraries in Jar format, 1 having no bells and whistles, and the other having lots of them that will mostly go unused.... my question is: How will the larger, mostly unused ...

How to get the Array Class for a given Class in Java?

I have a Class variable that holds a certain type and I need to get a variable that holds the corresponding array class. The best I could come up with is this: Class arrayOfFooClass = java.lang....

SQLite , Derby vs file system

I m working on a Java desktop application that reads and writes from/to different files. I think a better solution would be to replace the file system by a SQLite database. How hard is it to migrate ...

热门标签