From d804a118553d392a890d910f3424d498800a08ce Mon Sep 17 00:00:00 2001 From: Paul Hristea Date: Tue, 20 Oct 2026 22:44:45 +0300 Subject: [PATCH 1/3] Add checkbox option to start OIE service after install Signed-off-by: Paul Hristea --- .../install4j/oie-installer-config.install4j | 69 +++++++++++++++++++ 1 file changed, 69 insertions(+) diff --git a/tools/install4j/oie-installer-config.install4j b/tools/install4j/oie-installer-config.install4j index 9a7ae3565..e3fb04f1f 100644 --- a/tools/install4j/oie-installer-config.install4j +++ b/tools/install4j/oie-installer-config.install4j @@ -366,6 +366,19 @@ return true; + + + startServiceNow + + + + return Boolean.valueOf(!context.isUpdateInstallation()); // Saving value due to interaction with UninstallPreviousAction + + + + + !context.isConsole() && !context.isUnattended() + @@ -403,6 +416,62 @@ return true; + + + Installation Successful + The service is installed and will run automatically on boot. + + !context.isConsole() && !context.isUnattended() + + + + The Open Integration Engine service has been installed and is configured to run automatically when the computer starts up. + +Would you like to start the service now? + + + + + Start the service now + + startServiceNow + + + + + + + Starting Service + Please wait... + + + context.getBooleanVariable("startServiceNow") // Skip screen altogether if startServiceNow is false + + + context.getWizardContext().setControlButtonVisible(ControlButtonType.NEXT, false); + context.getWizardContext().setControlButtonVisible(ControlButtonType.PREVIOUS, false); + context.goForward(1, true, true); // startServiceNow was true, start action automatically + + + + + + + + + + 25 + + + + + + + Starting the Open Integration Engine service... + + + + From 9273c985e4fbe3428eaadd2847769062c6198eac Mon Sep 17 00:00:00 2001 From: Paul Hristea Date: Wed, 21 Oct 2026 15:29:15 +0300 Subject: [PATCH 2/3] Improve content on Finish screen Default Start Service checkbox to unchecked Update readme.html Signed-off-by: Paul Hristea --- .../install4j/oie-installer-config.install4j | 69 ++++++++++++++----- tools/install4j/readme.html | 10 +-- 2 files changed, 55 insertions(+), 24 deletions(-) diff --git a/tools/install4j/oie-installer-config.install4j b/tools/install4j/oie-installer-config.install4j index e3fb04f1f..2debec5bf 100644 --- a/tools/install4j/oie-installer-config.install4j +++ b/tools/install4j/oie-installer-config.install4j @@ -193,8 +193,9 @@ - + sys.installationDir + startServiceNow context.getBooleanVariable("sys.streamlinedInstallation") @@ -313,8 +314,9 @@ return true; - + sys.installationDir + startServiceNow context.getVariable("sys.responseFile") == null @@ -366,19 +368,6 @@ return true; - - - startServiceNow - - - - return Boolean.valueOf(!context.isUpdateInstallation()); // Saving value due to interaction with UninstallPreviousAction - - - - - !context.isConsole() && !context.isUnattended() - @@ -458,9 +447,27 @@ Would you like to start the service now? - + - 25 + + + + com.install4j.runtime.beans.actions.services.StartServiceAction startAction = + new com.install4j.runtime.beans.actions.services.StartServiceAction(); + startAction.setLauncherId("25"); + startAction.init(context); + boolean succeeded = false; + try { + succeeded = startAction.execute(context); + } catch (Exception e) { + com.install4j.api.Util.log(e); + succeeded = false; + } + context.setVariable("serviceStartSucceeded", Boolean.valueOf(succeeded)); + return true; + + + @@ -474,9 +481,33 @@ Would you like to start the service now? - + + + The Open Integration Engine service is installed and will start automatically when the computer boots. + +The service was not started during installation. + + !context.getBooleanVariable("startServiceNow") + + + + The Open Integration Engine service has been initiated. + +If the server does not come online, please check the logs in the installation directory for errors. + + context.getBooleanVariable("startServiceNow") && context.getBooleanVariable("serviceStartSucceeded") + + + + The Open Integration Engine service could not be started. + +Please check the service status in your operating system's service manager and review the server logs in the installation directory for errors. + + context.getBooleanVariable("startServiceNow") && !context.getBooleanVariable("serviceStartSucceeded") + + - ${form:finishedMessage} + Visit the <a href="https://docs.openintegrationengine.org">official documentation website</a> for more information. diff --git a/tools/install4j/readme.html b/tools/install4j/readme.html index 339d6ffef..83315a2ac 100644 --- a/tools/install4j/readme.html +++ b/tools/install4j/readme.html @@ -1,7 +1,7 @@ - -

Open Integration Engine ${compiler:sys.version}

+ +

Open Integration Engine ${compiler:sys.version}

This installer sets up a fully functional version of the engine with minimal user input, or upgrades an existing installation. @@ -9,15 +9,15 @@

Open Integration Engine ${compiler:sys.version}

Notes

    -
  • Native services are installed for all supported platforms and are configured to start automatically.
  • -
  • macOS users: A reboot will automatically start the service.
  • +
  • Native services are installed for all supported platforms and are configured to start automatically on boot.
  • +
  • An option will be provided to start the service immediately after installation.
  • A new installation uses the default configuration files in the conf directory; the installer does not prompt for customization. This includes ports (default: 8080 and 8443), log and app data paths, and password requirements.
  • - An upgrade replaces the program files from the previous installation. + An upgrade replaces the program files after uninstalling the previous installation. Files in the conf directory are kept and are not updated with new defaults. Directories created at runtime, such as appdata, are also kept.
  • From f3cedb7397eeabb1bde78eed309862efe7a16328 Mon Sep 17 00:00:00 2001 From: Paul Hristea Date: Fri, 23 Oct 2026 15:27:37 +0300 Subject: [PATCH 3/3] Slightly improve wording Signed-off-by: Paul Hristea --- tools/install4j/oie-installer-config.install4j | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/install4j/oie-installer-config.install4j b/tools/install4j/oie-installer-config.install4j index 2debec5bf..d38a5ab84 100644 --- a/tools/install4j/oie-installer-config.install4j +++ b/tools/install4j/oie-installer-config.install4j @@ -499,7 +499,7 @@ If the server does not come online, please check the logs in the installation di - The Open Integration Engine service could not be started. + The Open Integration Engine was successfully installed, but the service could not be started. Please check the service status in your operating system's service manager and review the server logs in the installation directory for errors.