fxlauncher-gradle-plugin
fxlauncher-gradle-plugin copied to clipboard
Customized inno setup script
Hi! I'm using fxlauncher for creating native installer for Windows. I need some customization of that process. Are project files appName.iss, appName.ico, appName-setup-icon.bmp used? I put them in "src/main/deploy/package/window" directory, but it seems they are not used. Maybe there is another folder should be for that files?
Thanks.
You need to pass the appropriate parameters to javapackager
as per the documentation:
https://docs.oracle.com/javase/8/docs/technotes/tools/windows/javapackager.html
Are those files for InnoSetup perhaps?
There is nothing InnoSetup specific in FXLauncher. If InnoSetup is supposed to pick up those files automatically, I guess it's looking in the wrong folder. I don't think it will be looking in src/main/deploy, so perhaps you need to copy these files to the working directory for the javapackagert step?
Sorry for not being able to give you a straight answer here, I haven't done any customization to InnoSetup before.
have the same problem, after 2 days i have found solution. you need put files in root project folder example nameProject
/package/(windows or macos or linux)/innoSetup.iss, icons, etc.., i know this is an old post, buti hope I can help someone else.
you can add the argument argument
-vargument
in javapackager, to see the correct path