mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

jvergara
15.52.2007 4c484ff6ea57ce79c5072a830e6536ac41c820c3
opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/installer/Installer.java
@@ -46,6 +46,7 @@
import org.opends.quicksetup.util.Utils;
import org.opends.server.util.SetupUtils;
/**
 * This is an abstract class that is in charge of actually performing the
 * installation.
@@ -860,6 +861,18 @@
  }
  /**
   * This methods enables this server as a Windows service.
   * @throws InstallException if something goes wrong.
   */
  protected void enableWindowsService() throws InstallException
  {
      notifyListeners(getFormattedProgress(
        getMsg("progress-enabling-windows-service")));
      InstallerHelper helper = new InstallerHelper();
      helper.enableWindowsService();
  }
  /**
   * This methods starts the server.
   * @throws InstallException if something goes wrong.
   */
@@ -1043,6 +1056,8 @@
            getMsg("summary-importing-automatically-generated")));
    hmSummary.put(InstallProgressStep.STARTING_SERVER,
        getFormattedSummary(getMsg("summary-starting")));
    hmSummary.put(InstallProgressStep.ENABLING_WINDOWS_SERVICE,
        getFormattedSummary(getMsg("summary-enabling-windows-service")));
    String cmd;
    if (Utils.isWindows())