Home > Articles > MSI Custom Actions w/Wise Package Studio and KiXtart

Create Java Runtime Environment (JRE) Answer File

Legacy InstallShield setup files provide native support for the creation and use of an answer file that may be used to facilitate a silent application installation. The Java Runtime is such an installation. In this case, the answer file may be created using the following command line:

c:\> \\server\package_share\jre\jre-1_2_2_011-win.exe -a -r -f1"\\ server\package_share\jre\setup.iss"

More information on creating InstallShield answer files:

Sample setup.iss file contents:

[InstallShield Silent]
Version=v5.00.000
File=Response File
[File Transfer]
OverwriteReadOnly=NoToAll
[DlgOrder]
Dlg0=SdLicense-0
Count=2
Dlg1=SdAskDestPath-0
[SdLicense-0]
Result=1
[SdAskDestPath-0]
szDir=C:\Program Files\JavaSoft\JRE\1.2
Result=1
[Application]
Name=Java Runtime Environment
Version=1.2
Company=JavaSoft
Lang=0009