I want to deploy javafx application:
It generates the executable file but with following problems:
I am not able to set the application icon
I am not able to set the custom .iss file or .wix file for the executable
Resulting app is installed as Unknown in startup .
Resulting app is installed on AppData folder of current user not in program files as other applications
It does not create desktop shortcut.
With verbose output I get following on console:
add package/windows/sample4deploy.ico to the class path to customize)
add package/windows/sample4deploy.wxs to the class path to customize)
Using default package resource [Inno Setup project file] (add package/windows/sample4deploy.iss to the class path to customize)
Using default package resource [setup dialog icon] (add package/windows/sample4deploy-setup-icon.bmp to the class path to customize)
Following these messages:
I created folder named package in root directory of app and in that windows folder.
So my path package/windows .I added athe resources in that folder such as app icon , .wix file . iss file .
Still it takes the default values
I am not getting what is wrong with it ..
Regards, Sadiq
Please update your ant path:
In my case, Netbeans->tools->options->java->ant
Added the Folder that contains the "package folder". So that Ant can search for the icon or image.

This solves Mubasher's question:
.............. ...........
<plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-antrun-plugin</artifactId>
                <version>1.7</version>
                <executions>
                    <execution>
                        <phase>package</phase>
                        <configuration>
                            <additionalClasspathElements>
                                <additionalClasspathElement>${basedir}</additionalClasspathElement>
                            </additionalClasspathElements>
........... ......... ........
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With