At the command prompt, navigate to the directory where the installer is located.
cd JavaES-install-dir
Use the Setup.bat /r command to create the response file, either in the default location or in the system's Windows folder or in a location you specify.
Use the /f1 option to specify where the response file is to be created and to provide a name. To avoid unpredictable results. specify an absolute path for the file that has the .iss extension. For example, type:
Setup.bat /r /f1"C:\Temp\example.iss".
Run \Setup.bat and not \Windows\setup.exe to start the installation.
Proceed with the installation providing the information that you want the silent installer to provide.
All the data typed and options selected are recorded in the .iss file.
At the end of the installation, the response file is generated.
The response file is ready for use with the options selected during the record installation. The response file can be edited manually to modify the options recorded. For information about how to edit a response file, see Editing the Response File.