Is it possible to create an msi package installer ...
# compose-desktop
t
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
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
oh that explains everything. thanks for the clarification!
m
There is an external tool that does that: Conveyor https://conveyor.hydraulic.dev/
m
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
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/
131 Views