Because WiX was executed with the command line, the operation was cumbersome, so I wrote a graphical operation program for the WiX build installation package,
The principle is very simple, the main use of Java to execute WiX heat, candle and light commands, the final generation of installation files, such as Xxx.msi
To make a statement, the installer now generated can only confirm licence, choose the installation directory, uninstall, create a shortcut to the desktop and the startup bar,
If more powerful or rich functionality is needed, it needs to be researched and expanded, and now it is tailored to meet the needs of our company's projects.
This procedure is simple, the main selection of the path of several resource files, and then execute.
You can put the JRE you need into the installation package, which is the standalone JRE, not the system provided, that is, running the computer has no Java operating environment is OK.
You can package any EXE file that can be executed.
Previously made a version of Java8 (JavaFX), that version can also be run to package the jar into EXE, and then into the installation package MSI, but the operation requires the machine to install JAVA8,
Most of the cases are java6, so the JAVA8 version is manually reduced to JAVA6 (JavaFX is convenient, change to JAVA6 can only use swing very painful)
Give me a name J2msi, here's the
: Http://files.cnblogs.com/files/rojas/J2MSI.zip
Source Address: Http://files.cnblogs.com/files/rojas/j2msiSource.zip
Considerations run version Jre6 and above.
NOTE: Reprint please attach the following source http://www.cnblogs.com/rojas/
J2msi self-made EXE into the installation package simple GUI program