Create a native javafx app with Inno Setup and maven


I've a little JavaFX app and I use Maven for managing the dependencies thanks to the javafx-maven-plugin.

This plugin have an option who will build a native installer based on the settings (mvn jfx:build-native) using InnoSetup (on windows)

That's work pretty well but I can't find where I can specify all the Inno Setup options (like those visible here). Did I have to add something on my pom ? Did I have to create a .iss file ? If yes, how to specify the link to this file ?

Any idea ?

5/29/2013 9:49:53 AM

Where to put "Inno Setup" file (*.iss)?

When using javafx-maven-plugin you can add inno setup file into:


Referencing files in iss

If you need to reference some files in setup file your root will be on:


So for example to pack whole project use:

Source: "project-name\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs

That will pack all files from:


Adding application icon

For simple icon you can just put it in:


And in iss put this:

Name: "{group}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"
Name: "{commondesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon

And don`t forget to define: MyAppExeName and MyAppName.

10/29/2013 12:01:58 AM

Licensed under: CC-BY-SA with attribution
Not affiliated with: Stack Overflow