Hi everyone, I already have a working Compose Desk...
# compose-desktop
r
Hi everyone, I already have a working Compose Desktop app targeting windows and it works great! Except that there is no ClickOnce kind of target that self updates and installs my app. I did try Hydralic but it explicitly supports Windows 10 only, so I opted to writing my own simple wrapper in Rust that uses Velopack to self-update itself and other resources. Those resources would be the compose distribution along with runtime and jar files. So my current hurdle is the following: Is it possible to get the compose distribution package as file tree or a zip archive? More in the thread I guess
So I just need to get the following file tree but as zip archive or, well just plain files. I know there is a MSI and EXE target formats, but isn't there a ZIP target? I have a feeling there was one or something similar.
Oh man I'm blind. Anyway what I needed is
createDistributable
task xd
m
Do you plan to make this generally available once you got it working?
r
I'm using Velopack to get self-updating and other features. It's yet to support Java so I'm writing a Rust wrapper. So it's not a tool but rather a project tailored solution. I could, however, provide an example
m
An example would still be welcomed.
🤝 1
f
Hydraulic Conveyor supports Linux, MacOS, and Windows (both 11 and 10) Not sure where you got it only supports Windows 10.
a
But does it support Windows ME?
😅 1
f
@Alexander Maryanovsky Lol, I guess not. Literally unusable
c
From conveyors docs
Conveyor uses Windows' built-in packaging technology, MSIX. A small installer EXE drives the Windows Deployment Engine APIs to install or update the package. Support for MSIX is built in to Windows. All Windows 10/11 systems support it and Microsoft have also backported it to Windows 7.1 MSIX files are enhanced ZIP files with several features that make it a good fit for modern desktop app distribution:
So it seems like it works with WIndows 7.1 +?
r
No it doesn't. > Minimum system requirements > Apps packaged with Conveyor have the following minimum system requirements. > Windows > • Windows 10 version 1709 ("Fall Creators Update", October 2017) or higher > • Windows Server 2019 LTSC or higher > • Windows Enterprise 2019 LTSC or higher > Windows 11 works fine. > JVM apps > When packaging JVM apps the following requirements also apply: > • macOS: macOS 10.14+ (Mojave) > • Linux: glibc 2.17+ (released 2012) > Source: https://conveyor.hydraulic.dev/17.0/min-sys-requirements/
Also met a numerous issues with Windows 7 deployment in the wild. And since Windows 7 is a major targeted platform for us, we are looking into alternatives. Don't see anything wrong with that. But it did work great for Windows 10+ clients.
c
so that says windows 10 and windows 11. no? while your original post said windows 10 only?
r
Yeah, should've said win10 and 11, my bad. But I did mean Windows 10 and anything higher 🫡