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

Update jpackage to support WiX v4 and v5 on Windows

XMLWordPrintable

    • b02
    • generic
    • generic

      A DESCRIPTION OF THE PROBLEM :
      According to the jpackage user guide, WiX 3 "or later" is required to build exe and msi packages on Windows: https://docs.oracle.com/en/java/javase/21/jpackage/packaging-overview.html#GUID-786E15C0-2CE7-4BDF-9B2F-AC1C57249134

      WiX v3 documentation claims it is no longer actively maintained: https://wixtoolset.org/docs/wix3/

      Here are instructions to install WiX v4: https://wixtoolset.org/docs/intro/

      However, having WiX v4 installed (and not WiX v3) causes jpackage to fail. It claims it cannot locate certain tools (candle.exe and light.exe). It then says to install WiX v3 "or later" to fix the problem. But as mentioned, WiX v3 appears to be end-of-life. Installing WiX v3 also requires enabling an older version of .NET.

      Please update jpackage to at least allow working with WiX v4 on Windows.


        There are no Sub-Tasks for this issue.

            asemenyuk Alexey Semenyuk
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: