简体   繁体   中英

how to add custom options that gets invoked after the application is installed using install4j?

Is it possible to have a custom option after the application is installed using install4j. something like a custom application with screens and actions that needs to be invoked directly by the user by clicking on it after installation of the application.

Yes, they are called "installer applications" in install4j. On the "Installer->Screens & Actions" step, click on the add button, then select "Add application" and choose "Empty custom application" from the application templates.

You can invoke such applications via the API by calling

com.install4j.api.launcher.ApplicationLauncher.launchApplication(
  "<id>", null, false, null
);

See https://www.ej-technologies.com/resources/install4j/help/api/com/install4j/api/launcher/ApplicationLauncher.html for the Javadoc.

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