Linux gradlew desktop:packageMsi /desktop:packageExe
Describe the bug
When running gradlew desktop:packageMsi; gradlew desktop:packageExe it's successful, but nothing is built.
I also installed msitools. But it has no affection.
Affected platforms Select one of the platforms below:
- Desktop
If the bug is Android-only, report it in the Jetpack Compose tracker
Versions
- Kotlin version*: 1.8.10
- Compose Multiplatform version*: 1.3.1
- OS version(s)* (required for Desktop and iOS issues): WSL2 Debian
- OS architecture (x86 or arm64): amd64
- JDK (for desktop issues): OpenJDK 64-Bit Server VM GraalVM CE 22.3.0 (build 17.0.5+8-jvmci-22.3-b08, mixed mode, sharing)
To Reproduce Steps and/or the code snippet to reproduce the behavior:
- Install WSL 2 Debian
- navigate to your local windows project
- run above commands
Expected behavior It's possible to cross-compile Compose Desktop from Linux to Windows.
Screenshots
gradlew desktop:packageMsi

gradlew desktop:packageExe

I believe that packaging to Windows distros is not supported on Linux but at least the gradle plugin should clearly report it.
I would also expect a clear report. At least. :D but it would be more awesome to have cross compile. Can you tell me if it somehow works from Linux to Windows? @pjBooms