<html><p>Cool. The changes can be found in <a href="https://github.com/infeo/jdk/commit/77c50367e3fd7d677bfe2e805be2feafa30b0a37.">https://github.com/infeo/jdk/commit/77c50367e3fd7d677bfe2e805be2feafa30b0a37.</a></p><p>Basically, the command line builder for wix3/wix4 is adjusted to set the arch flag to x64, x86 or arm64 depending on return values of some jdk.internal.util.Architecture::is[Architecture] methods. If the architecture is not supported by the wix Version, an IOException("Unsupported architecture") is thrown. I defined an package private enum to filter out already unsupported architectures.<br><br>@"Alexey Semenyuk" I've read the contribution guide. So, the next step would be finding a Sponsor?<br><br>Best regards,</p><p>Armin<br><br>Am Montag, Juni 30, 2025 17:59 CEST, schrieb Alexey Semenyuk <alexey.semenyuk@oracle.com>:<br><br> </p><blockquote type="cite" cite="36a66421-240e-49a4-94f5-f89467eab56d@oracle.com"><p>Hi Armin,<br><br>Your ARM64 MSI contribution/enhancement for the jpackage will be much <br>appreciated.<br><br>- Alexey<br><br>On 6/30/2025 10:09 AM, Armin Schrenk wrote:<br>><br>> Hello everyone,<br>><br>> does jpackage support building native ARM64 MSI packages? Building an <br>> jpackage MSI on Windows ARM64, the resulting package contains x64 DLLs.<br>><br>> I looked further into the JDK code and apparently, the wix Command <br>> builder (WixPipeline.java) only supports x86 or x64 (see <br>> https://github.com/openjdk/jdk/blob/a84946dde4283fd423ef00ce3176bbe1985d7046/src/jdk.jpackage/windows/classes/jdk/jpackage/internal/WixPipeline.java#L211).<br>> According to the wix docs, aarch64 is supported since version 4.0: <br>> https://docs.firegiant.com/wix/tools/wixexe/#build<br>><br>> I already created a patched JDK locally, but maybe this can be a <br>> contribution/enhancement for the JDK in general.<br>><br>> Best regards,<br>><br>> Armin Schrenk<br>><br><br> </p></blockquote><p><br><br><br> </p></html>