J2msi self-made EXE into the installation package simple GUI program

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.