简体   繁体   English

如何在 Install4j 中跳​​过可配置表单及其操作

[英]How to skip configurable form & its actions in Install4j

I'm using Install4J v6.0.3.我正在使用 Install4J v6.0.3。 There are 2 doubts i wants to clear.我想澄清两个疑问。

1) Is there a way to skip configurable form & its action directly using skip button in footer bar of each? 1)有没有办法直接使用每个页脚栏中的跳过按钮跳过可配置的表单及其操作? I don't wants to ask user whether he/she wants to skip next action or not.我不想问用户他/她是否想跳过下一步。 Is there a way to get skip button on form footer itself along with next, cancel etc.有没有办法在表单页脚本身上获取跳过按钮以及下一步、取消等。

2) Is there a way to edit or change the default content of Welcome & Finish screen in install4j? 2) 有没有办法在 install4j 中编辑或更改欢迎和完成屏幕的默认内容?

While there is currently no way to add a "Skip" button at the bottom, you can add a "Button" form component to the configurable form and call虽然目前无法在底部添加“跳过”按钮,但您可以在可配置表单中添加“按钮”表单组件并调用

context.goForward(1, true, false);

in its "Action script" property.在其“动作脚本”属性中。

The second "false" parameter indicates that the actions attached to the current screen should not be executed.第二个“false”参数表示不应执行附加到当前屏幕的操作。

As to your second question (please ask a separate question in the future), you can add "Configurable banner" forms instead of the standard screens.至于您的第二个问题(请以后单独提出问题),您可以添加“可配置横幅”表单而不是标准屏幕。

1) As this is not possible add skip button in footer of configurable form (As per @Ingo Kegel). 1)因为这是不可能的,在可配置形式的页脚中添加跳过按钮(根据@Ingo Kegel)。

Got answer for 2nd question.得到了第二个问题的答案。

We can edit each message we see in installer screen using message_en.utf8 file.我们可以使用 message_en.utf8 文件编辑在安装程序屏幕中看到的每条消息。 we can override messages in this file & specify this file under 'Language' section.我们可以覆盖此文件中的消息并在“语言”部分下指定此文件。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM