On Fri, 21 Mar 2025 at 14:02, Eirik Bakke <eba...@ultorg.com> wrote:
> Here's one idea for how to make an "official" Windows installer, i.e. an 
> installer that is distributed as a convenience binary, officially from Apache 
> NetBeans:
>
> 1) Improve the netbeans64.exe launcher so that when it starts and doesn't 
> find the JDK, it prompts the user to select one with a file browser, and 
> remembers the selection for the next time.
>
> 2) Package this into an MSI installer using the scripts at 
> https://github.com/eirikbakke/netbeans-msi-example , with only minimal 
> changes to fit into the existing GitHub Actions scripts on the main NetBeans 
> repo.
>
> Thoughts on this approach? (In case I decide to work on it.)

1) would be great, as long as it works for the platform too, and would
be a major benefit to the zip as well.  You might not be the only
person looking at launcher code right now, so some coordination of
approach might be good.

2) is unnecessary - we can already build a Windows installer using
NBPackage - the only thing stopping us switching a long time ago is
something like 1).

Personally, I'm still in favour of dropping installers here, because
of the overhead and because installers without a runtime have other
issues.  I remain of the view that if you want choice of runtime, you
use the zip or use the tools we already provide to build yourself a
bespoke installer.

Best wishes,

Neil

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org
For additional commands, e-mail: 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