<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /></head><body style='font-size: 10pt; font-family: Verdana,Geneva,sans-serif'>
<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>

</body></html>