Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8230152

No appropriate error message when wix tools missing.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • internal
    • internal
    • tools

      I accidentally ran jpackage on windows in an environment that didn't have path set to point to wix tools.
      The result when running jpackage with --package-type either "msi" or "exe" was error saying :
      Error: Invalid or unsupported package type: [exe].
      Even with --verbose, there is no indication why the package type is unsupported.

      This is because WinMsiBundler.isSupported() now returns false, and we don't get to the code in winMsiBundler.validate(). that previously threw the exception with the explanation.

      This change may have been appropriate, but then either the error message itself or at least a verbose println should have been added to indicate the reason.


            herrick Andy Herrick (Inactive)
            herrick Andy Herrick (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: