简体   繁体   中英

How to skip configurable form & its actions in Install4j

I'm using 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? 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?

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.

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).

Got answer for 2nd question.

We can edit each message we see in installer screen using message_en.utf8 file. we can override messages in this file & specify this file under 'Language' section.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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