Closed Hely0n closed 2 years ago
It work's when setting jpackager home to a JDK 17, but I know it worked with JDK 16 too as I used it in the last years. Is there something to note?
Got it! The icon option must be passed to "imageOptions", instead of "installerOptions". It works with JDK 17 because jpackage can add icons to the installer .exe too, which didn't work in prior versions.
I'm trying to set an icon, but it gives this error. Throws "Error: Option [--icon] is not valid with type [msi]" when setting type to msi.
Current config: