Is it possible to create an msi package installer for windows on a mac? i tried running the
packageMsi
gradle task but when it finishes it points me to
/binaries/main/app
directory where the output is a
.app
file instead of
.msi
. im new to desktop development so i feel kind of confused, is it even possible to do this on a mac or do i have to run the gradle task to a windows machine to get the msi file for windows?
🚫 3
a
Alexander Maryanovsky
01/30/2024, 10:06 AM
The app-packaging uses jpackage which grabs the JRE it is part of itself. So unfortunately you can only build releases for platform X on platform X.
🙏 1
t
Taha
01/30/2024, 10:08 AM
oh that explains everything. thanks for the clarification!
But Conveyor is not a direct replacement for jpackage. It does more than that and is a commercial tool which is only free for OSS use.
m
Mike Dawson
01/30/2024, 11:10 AM
Indeed, not a direct replacement, not open source itself, and only free for open source projects (any open source project, even if the open source project is commercial).
It does use the output from Gradle:
https://conveyor.hydraulic.dev/13.0/tutorial/tortoise/2-gradle/