I have a simple modular javafx application.
i compile it using
dir /s /b src\*.java > sources.txt & javac --module-path %PATH_TO_FX% -d mods/hellofx @sources.txt & del sources.txt
This creates mods directory
I then create runtime image using the command
jlink --module-path "%PATH_TO_FX_MODS%;mods" --add-modules hellofx --output hellofx
This creates the runtime image in hellofx directory
Now i use the jpackage command to create the windows installer. In the directory i have an icon for the application.
jpackage --runtime-image hellofx --module hellofx/hellofx.HelloFX --win-shortcut --win-menu --icon smile.ico
This icon was used for the installed application but is there a way to create an icon for the installer file itself? The installer file named HelloFX-1.0 doesnt have an icon. Is there a way to configure jpackage to also change icon of this file? Thanks for the help!