<!DOCTYPE html><html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
Davide,<br>
<br>
I replied to your question in the core-libs-dev mailing list. See
[1]. Please lets continue the discussion there.<br>
<br>
[1]
<a class="moz-txt-link-freetext" href="https://mail.openjdk.org/pipermail/core-libs-dev/2025-March/141394.html">https://mail.openjdk.org/pipermail/core-libs-dev/2025-March/141394.html</a><br>
<br>
- Alexey<br>
<br>
<div class="moz-cite-prefix">On 3/26/2025 11:29 AM, Victor D'yakov
wrote:<br>
</div>
<blockquote type="cite" cite="mid:2244140e-52e8-4a22-abb5-ebb1ba41dcc3@oracle.com">
<p><br>
</p>
<div class="moz-forward-container">Alexey, could you reply on
core-libs list?</div>
<div class="moz-forward-container"><br>
</div>
<div class="moz-forward-container">Victor<br>
-------- Forwarded Message --------
<table cellpadding="0" cellspacing="0" border="0" class="moz-email-headers-table">
<tbody>
<tr>
<th valign="BASELINE" align="RIGHT" nowrap="nowrap">Subject:
</th>
<td>Re: jpackage and Wix 5</td>
</tr>
<tr>
<th valign="BASELINE" align="RIGHT" nowrap="nowrap">Date:
</th>
<td>Wed, 26 Mar 2025 14:47:16 +0100</td>
</tr>
<tr>
<th valign="BASELINE" align="RIGHT" nowrap="nowrap">From:
</th>
<td>Davide Perini <a class="moz-txt-link-rfc2396E" href="mailto:perini.davide@dpsoftware.org" moz-do-not-send="true"><perini.davide@dpsoftware.org></a></td>
</tr>
<tr>
<th valign="BASELINE" align="RIGHT" nowrap="nowrap">To: </th>
<td><a class="moz-txt-link-abbreviated moz-txt-link-freetext" href="mailto:client-libs-dev@openjdk.org" moz-do-not-send="true">client-libs-dev@openjdk.org</a></td>
</tr>
</tbody>
</table>
<br>
<br>
<p><span>If I use Wix 3 it works correctly,</span><br>
<span>are we sure that jpackage 24 supports Wix 5?</span><br>
<br>
<span>Is this a bug in the jpacakge command?</span></p>
<p><br>
</p>
<p id="reply-intro">On 2025-03-19 11:45, Davide Perini wrote:</p>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0">
<div class="pre" style="margin: 0; padding: 0; font-family: monospace"><br>
<br>
<span style="white-space: nowrap;">Il 19/03/2025 11:19, Davide Perini ha scritto:</span>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0"><span style="white-space: nowrap;">I add some context:</span><br>
<br>
<span style="white-space: nowrap;">I installed wix 5 using the donet command globally,</span><br>
wix is in the path but when I try to run my jpackage
command I get this error:<br>
<br>
jpackage -i ./target --type exe --main-class
org.dpsoftware.JavaFXStarter --main-jar
FireflyLuciferin-jar-with-dependencies.jar --icon
./data/img/luciferin_logo.ico<br>
--win-menu --win-menu-group Ambilight --copyright "Davide
Perini" --name "Firefly Luciferin" --vendor DPsoftware
--win-dir-chooser --win-shortcut --win-per-user-install
--win-shortcut --win-shortcut-prompt --java-options
"-XX:+UseZGC -Xms64m -Xmx1024m"<br>
<br>
<br>
java.io.IOException: Command [wix.exe, build, -nologo,
-pdbtype, none, -intermediatefolder,
C:\Users\SBLANT~1\AppData\Local\Temp\jdk.jpackage95160440034084538\wixobj,
-ext, WixToolset.Util.wixext, -arch, x64, -ext,
WixToolset.UI<br>
.wixext, -b,
C:\Users\SBLANT~1\AppData\Local\Temp\jdk.jpackage95160440034084538\config,
-loc,
C:\Users\SBLANT~1\AppData\Local\Temp\jdk.jpackage95160440034084538\config\MsiInstallerStrings_de.wxl,
-loc, C:\Users\SBLANT~1\AppData\<br>
Local\Temp\jdk.jpackage95160440034084538\config\MsiInstallerStrings_en.wxl,
-loc,
C:\Users\SBLANT~1\AppData\Local\Temp\jdk.jpackage95160440034084538\config\MsiInstallerStrings_ja.wxl,
-loc, C:\Users\SBLANT~1\AppData\Local\Temp\j<br>
dk.jpackage95160440034084538\config\MsiInstallerStrings_zh_CN.wxl,
-culture, en-us, -d, JpAppDescription=Firefly Luciferin,
-d, JpStartMenuShortcutPrompt=yes, -d,
JpDesktopShortcutPrompt=yes, -d,
JpProductCode=e0be8901-8911-3da4<br>
-83e2-2c15892e1623, -d, JpAppName=Firefly Luciferin, -d,
JpAllowDowngrades=yes, -d,
JpIcon=C:\Users\SBLANT~1\AppData\Local\Temp\jdk.jpackage95160440034084538\images\win-msi.image\Firefly
Luciferin\Firefly Luciferin.exe, -d, JpAp<br>
pSizeKb=409283, -d, JpAppVersion=1.0, -d,
JpAfterInstallDirDlg=ShortcutPromptDlg, -d,
JpAllowUpgrades=yes, -d,
JpProductUpgradeCode=2b8902a1-d85a-3650-9b08-d990b365e5e9,
-d, JpAppVendor=DPsoftware, -d, JpConfigDir=C:\Users\SBLAN<br>
T~1\AppData\Local\Temp\jdk.jpackage95160440034084538\config,
C:\Users\SBLANT~1\AppData\Local\Temp\jdk.jpackage95160440034084538\config\main.wxs,
C:\Users\SBLANT~1\AppData\Local\Temp\jdk.jpackage95160440034084538\config\bundle.wx
f,
C:\Users\SBLANT~1\AppData\Local\Temp\jdk.jpackage95160440034084538\config\ui.wxf,
C:\Users\SBLANT~1\AppData\Local\Temp\jdk.jpackage95160440034084538\config\ShortcutPromptDlg.wxs,
C:\Users\SBLANT~1\AppData\Local\Temp\jdk.jpack<br>
age95160440034084538\config\InstallDirNotEmptyDlg.wxs,
-out,
C:\Users\SBLANT~1\AppData\Local\Temp\jdk.jpackage95160440034084538\wixobj\a.msi]
in
C:\Users\SBLANT~1\AppData\Local\Temp\jdk.jpackage95160440034084538\images\win-msi.image\Firefly
Luciferin exited with 144 code<br>
<br>
<br>
<span style="white-space: nowrap;">Il 19/03/2025 10:12, Davide Perini ha scritto:</span>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0"><br>
<span style="white-space: nowrap;">Hi there,</span><br>
<br>
<span style="white-space: nowrap;">I'm using jpackage along with Wix3.</span><br>
<br>
<span style="white-space: nowrap;">The command I use to generate my .exe is:</span><br>
jpackage -i ../../target --type exe
--main-class org.dpsoftware.JavaFXStarter --main-jar
FireflyLuciferin-jar-with-dependencies.jar --icon
../../data/img/java_fast_screen_capture_logo.ico
--win-menu --win-menu-group Luciferin --copyright
"Davide Perini" --name "Firefly Luciferin" --vendor
DPsoftware --win-dir-chooser --win-shortcut
--win-per-user-install --win-upgrade-uuid myuuid
--app-version "${{steps.get-id.outputs.id}}"
--win-shortcut --win-shortcut-prompt --java-options
"-XX:+UseZGC -XX:+UseStringDeduplication -Xms64m
-Xmx1024m --add-modules=jdk.incubator.vector"<br>
<br>
<span style="white-space: nowrap;">How can I move it to Wix5 using Java 24?</span><br>
<br>
Is there a guide/documentation that help in migrating
from Wix 3 to Wix 5?<br>
<br>
Thanks<br>
Davide<br>
<br>
</blockquote>
</blockquote>
</div>
</blockquote>
<p><br>
</p>
</div>
</blockquote>
<br>
</body>
</html>