How to create a MSI Windows installer for a Java program?
问题 I'd like to create a single Microsoft Installer file for a Java program. I can't use Netbeans or any Maven plugin to do it because I can't use Oracle Java and/or JavaFX (mainly for legal reasons) and both seem to use Oracle native deployment + JavaSE 1.8. My current archive contains: a Java Runtime Environment (OpenJDK 1.7 JRE) a script (.bat) a fat JAR an icon file a few text files I don't want to use the JRE of the system, that's why I provide another JRE. The script just calls the JRE with