mobanisto / pinpit-gradle-plugin

Platform Independent Native Packaging and Installer Toolkit
Apache License 2.0
50 stars 1 forks source link

Support building MSI on macOS #11

Open sebkur opened 1 year ago

sebkur commented 1 year ago

This requires wine on the build machine. According to the Wine wiki it currently only works from macOS 10.8 to 10.14 and not with 10.15 upwards (i.e. Catalina, Big Sur, Monterey, Ventura) as 32-bit x86 support is required.

However there's also a note:

work is being done to convert core modules of WINE to PE format which will allow WINE to work on newer versions of macOS in the future.

I haven't found the relevant issue upstream that tracks progress with this yet.

sebkur commented 1 year ago

This thread on reddit has a discussion on how to run wine on M1 macs and in particular mentions this:

There actually are updated Winehq macOS packages however we’re not pushing them directly to Winehq due to a rather annoying bug that affects macOS High Sierra and below.

However currently upstream hasn’t completed there wow64 work to allow running 32Bit windows binaries on 64Bit OSs

If wine64 alone is fine the new packages can be installed via brew.

and this:

The following third-party projects will work

PortingKit/Wineskin

PlayOnMac

brew install --cask --no-quarantine gcenx/wine/wine-crossover

sebkur commented 1 year ago

A completely different alternative could be to try using Gnome's msitools for building MSI packages (see #30).