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

jvergara
01.44.2009 fe44f946b79a613998bffc3fc20995edc40208c7
Fix a problem calculating the ratios on Windows when the server is not configured to run as a service.
2 files modified
4 ■■■■ changed files
opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/installer/offline/OfflineInstaller.java 2 ●●● patch | view | raw | blame | history
opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/installer/webstart/WebStartInstaller.java 2 ●●● patch | view | raw | blame | history
opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/installer/offline/OfflineInstaller.java
@@ -487,7 +487,7 @@
      }
    }
    if (Utils.isWindows())
    if (Utils.isWindows() && getUserData().getEnableWindowsService())
    {
      totalTime += hmTime.get(InstallProgressStep.ENABLING_WINDOWS_SERVICE);
      steps.add(InstallProgressStep.ENABLING_WINDOWS_SERVICE);
opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/installer/webstart/WebStartInstaller.java
@@ -411,7 +411,7 @@
      }
    }
    if (Utils.isWindows())
    if (Utils.isWindows() && getUserData().getEnableWindowsService())
    {
        totalTime += hmTime.get(InstallProgressStep.ENABLING_WINDOWS_SERVICE);
        steps.add(InstallProgressStep.ENABLING_WINDOWS_SERVICE);