I only know how to generate MSI files with the WiX toolset 
(https://www.firegiant.com/wixtoolset/), which must run on Windows (according 
to its founder). And then there’s the signing, which used to involve a $600 
physical USB token, but which can now be done on GitHub Actions using Azure 
Trusted Signing. I don’t think the dependencies on these Microsoft-centric 
tools can be avoided.

> This is also what the community installers do.  It's not possible to 
> distribute a JDK from ASF because of the OpenJDK license.

Yeah, I suspected. MSI might not be the best option in this case. The other 
installer tools are probably easier to customize e.g. if e.g. someone wanted to 
streamline the process of helping the user pick a JDK.

-- Eirik

From: Neil C Smith <neilcsm...@apache.org>
Reply-To: "dev@netbeans.apache.org" <dev@netbeans.apache.org>
Date: Friday, March 14, 2025 at 2:14 PM
To: "dev@netbeans.apache.org" <dev@netbeans.apache.org>
Subject: Re: Re : Re: heads up: windows installer/uninstaller issues

On Fri, 14 Mar 2025 at 18:02, Eirik Bakke 
<eba...@ultorg.com.inva<mailto:eba...@ultorg.com.inva>lid> wrote:
My NetBeans Platform app uses an MSI installer on Windows, built and signed 
with GitHub actions scripts that I could share, if this would be an alternative 
for NetBeans.

I'd be more interested in seeing a contribution to NBPackage that
could build an MSI!  Is that something you'd be interested in working
on?

NBPackage currently has an InnoSetup installer backend.

In my case the app redistributes a Zulu build of OpenJDK. Was this ever found 
to be a possibility for official Apache releases of NetBeans, or is it still 
always necessary for users to download the JDK on their own?

This is also what the community installers do.  It's not possible to
distribute a JDK from ASF because of the OpenJDK license.

Best wishes,

Neil

---------------------------------------------------------------------
To unsubscribe, e-mail: 
dev-unsubscr...@netbeans.apache.org<mailto:dev-unsubscr...@netbeans.apache.org>
For additional commands, e-mail: 
dev-h...@netbeans.apache.org<mailto:dev-h...@netbeans.apache.org>

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists




Reply via email to