How to Convert a JRE (.msi type) Executable into a Silent Installer Executable
First start with the Sun-delivered Java Runtime Environment executable installer file. In this case we are using j2re-1_4_2_06-windows-i586.exe as shown below.

Now run the IExpress utility from the Run tool

The code packaging IExpress wizard starts:

Select as follows and click next:

Select as follows and click next:

Select as follows and click next::

Select as follows and click next:

Select as follows and click next:

Click on “Add” button and navigate to location of the Sun-delivered Java Runtime Environment executable installer file referred to at the beginning of this procedure.

Enter the filename of the Sun-delivered Java Runtime Environment executable installer file and also the switches { /S /v/qn } as shown below:

Select as follows and click next:

Select as follows and click next:

Choose a target path (different directory) so that you can use the SAME name for the silent install JRE. The location (directory) for the package must be different from the directory used for the non-silent jre executable and the silent pacakage file itself gets the same name as the non-silent package. Also be sure to check the box as shown below in the “options” section.

If the directory you have chosen for your silent package does not exist, you will get the following dialog box. Answer yes to the dialog.

Select as follows and click next:

Select as follows and click next:

Select as follows and click next:

The DOS windows opens and gives the status of the repackaging of the JRE for silent install:

Click on “Finish” to accept the successful creation of the silent JRE plugin installer repackaged version:

You are done with creation of the silent JRE installer plugin. Next you must sign the repackaged executable using a digital code-signing certificate.