Fix a problem calculating the ratios on Windows when the server is not configured to run as a service.
| | |
| | | } |
| | | } |
| | | |
| | | if (Utils.isWindows()) |
| | | if (Utils.isWindows() && getUserData().getEnableWindowsService()) |
| | | { |
| | | totalTime += hmTime.get(InstallProgressStep.ENABLING_WINDOWS_SERVICE); |
| | | steps.add(InstallProgressStep.ENABLING_WINDOWS_SERVICE); |
| | |
| | | } |
| | | } |
| | | |
| | | if (Utils.isWindows()) |
| | | if (Utils.isWindows() && getUserData().getEnableWindowsService()) |
| | | { |
| | | totalTime += hmTime.get(InstallProgressStep.ENABLING_WINDOWS_SERVICE); |
| | | steps.add(InstallProgressStep.ENABLING_WINDOWS_SERVICE); |