src/jdk.jpackage/windows/classes/jdk/jpackage/internal/WinMsiBundler.java
branchJDK-8200758-branch
changeset 58538 12c965587689
parent 58414 a5f66aa04f68
child 58607 7451b17b40d3
equal deleted inserted replaced
58466:47f0d21c7e8d 58538:12c965587689
   314             if (params == null) throw new ConfigException(
   314             if (params == null) throw new ConfigException(
   315                     I18N.getString("error.parameters-null"),
   315                     I18N.getString("error.parameters-null"),
   316                     I18N.getString("error.parameters-null.advice"));
   316                     I18N.getString("error.parameters-null.advice"));
   317 
   317 
   318             // run basic validation to ensure requirements are met
   318             // run basic validation to ensure requirements are met
   319             // we are not interested in return code, only possible exception
       
   320             validateWixTools();
       
   321 
   319 
   322             String lightVersion = findToolVersion(getLightPath());
   320             String lightVersion = findToolVersion(getLightPath());
   323             if (!VersionExtractor.isLessThan(lightVersion, "3.6")) {
   321             if (!VersionExtractor.isLessThan(lightVersion, "3.6")) {
   324                 Log.verbose(I18N.getString("message.use-wix36-features"));
   322                 Log.verbose(I18N.getString("message.use-wix36-features"));
   325                 params.put(CAN_USE_WIX36.getID(), Boolean.TRUE);
   323                 params.put(CAN_USE_WIX36.getID(), Boolean.TRUE);