> Neither InnoSetup or WiX in themselves get us around the current problems > with shipping a JDK-less installer
I wonder if the solution is simply to improve the message that is shown by the netbeans launcher when it cannot find Java. For example, the netbeans64.exe launcher currently displays just an angry error icon with the message “Cannot find Java 1.8 or higher”. If we make this dialog into actual instructions for downloading Java, perhaps the entire problem is solved? It requires really minimal implementation… just use the “Information” icon instead of the “Error” icon in the dialog, and change the user interface string. -- Eirik From: Neil C Smith <neilcsm...@apache.org> Reply-To: "dev@netbeans.apache.org" <dev@netbeans.apache.org> Date: Tuesday, March 18, 2025 at 6:54 AM To: "dev@netbeans.apache.org" <dev@netbeans.apache.org> Subject: Re: Re : Re: heads up: windows installer/uninstaller issues On Mon, 17 Mar 2025 at 20:35, Eirik Bakke <eba...@ultorg.com.inva<mailto:eba...@ultorg.com.inva>lid> wrote: Here’s a NetBeans-ified version of my MSI installer building scripts, with a README: https://github.com/eirikbakke/netbeans-msi-example/ > It would help to see usage with a NetBeans structured application. The buildmsi_ci.bat script just assumes you set a PAYLOAD_DIR that contains bin/netbeans64.exe at a minimum. If you have a NetBeans platform application you’d do some search-and-replace of “netbeans” with whatever the branding token of your application is. Many thanks for sharing this. Really useful! I'll start taking a look at adding support for WiX to NBPackage sometime after NB26. I may look at WiX 5+ though, as this looks like it might simplify the templating requirements. NBPackage will handle all the branding token stuff automatically. We should have resolved the issue of a new home for the community installers, which should lead to a viable alternative for NB26. That would stick with InnoSetup for now, though, as that has been widely tested already. Neither InnoSetup or WiX in themselves get us around the current problems with shipping a JDK-less installer, or we'd have ditched NBI earlier. Not that the way that NBI handles that is a good idea to replicate! 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