I am trying to build an installer that has a native Java project.
This java product has a splash screen that is a GIF file, but I found when I run the executable, the splash screen is not animated.
I could not figure out why it would not animate
This is an example of what my .ini file was looking like
After a LOT of digging, I found this post viewtopic.php?t=10004
Their .ini file had a line that mine did not: "Preffer Native Splash Screen=Yes"
Firstly, there is clearly a misspelling that has not been fixed for years.
However, when I added this line to my .ini file, my splash screen began to animate as expected.
I did some further research and found that in this post viewtopic.php?t=19728
It looks like the "Preffer Native Splash Screen" is supposed to be set by checking the "Use native Java 6 splash screen API" option, which I have checked.
So with that all said, I think there may be a bug where this line is not being written.
Here is my Splash screen settings
And when I check my Files and Folders page, to inspect the .ini file, it properly indicates that the installer will put this line in the file:
However, after installing, the file is missing this line, which is causing my GIF splash screen to fail to animate. I also suspect this is why the splash screen API integration is not working with Java, where when I try to call SplashScreen.getSplashScreen() in code, it returns null erroneously.
Please advise on how to fix this issue! Thanks in advance!
FOLLOW US
Get the latest news in Application Packaging