You can perform a silent, or background, installation by using files called response files. In this case, instead of displaying a graphical user ("wizard") interface, the silent installation program reads all of your responses from a file that you provide. The response file responsefile.esb.txt can be used to silently install WebSphere ESB. The response file is shipped with default values.
################################################################################ # # Licensed Material - Property of IBM # 5724-L01 # (C) Copyright IBM Corporation 2005. All Rights Reserved. # US Government Users Restricted Rights- Use, duplication or disclosure # restricted by GSA ADP Schedule Contract with IBM Corp. # ################################################################################ ################################################################################ # # InstallShield Options File # # Wizard name: Install # Wizard source: setup.jar # # This file can be used to configure Install with the options specified below # when the wizard is run with the "-options" command line option. Read each # setting's documentation for information on how to change its value. # # A common use of an options file is to run the wizard in silent mode. This lets # the options file author specify wizard settings without having to run the # wizard in graphical or console mode. To use this options file for silent mode # execution, use the following command line arguments when running the wizard: # # -options "D:\installImage\ESB\responsefile.esb.txt" -silent # ################################################################################ ################################################################################### # # License Acceptance # # Valid Options : true Accepts the license. Will install the product. # false Declines the license. Install will not occur. # # If no install occurs, this will be logged to a temporary log file in the user's temporary directory. # # By changing the silentInstallLicenseAcceptance.value in this response file to "true", you agree that you # have reviewed and agree to the terms of the IBM International Program License Agreement accompanying this # program, which is located at CD_ROOT\ESB\lafiles. If you do not agree to these terms, do not change # the value or otherwise download, install, copy, access, or use the program and promptly return the # program and proof of entitlement to the party from whom you acquired it to obtain a refund of the amount you paid. # # -W silentInstallLicenseAcceptance.value="false" ################################################################################ # # Incremental Install # # If you are installing additional features on top of an existing installation, # (e.g. incremental install), uncomment the following line. This will notify # the installer that you are doing an incremental install. # # -W esbDetectionPanel_InstallWizardBean.optionSelected="1" # # Please make sure installLocation is set to your existing install location. # # For already installed features, you need to set the feature active property # to false. For new features you want to install, you need to set the active # properties to true. # # For example, you have installed the Samples Gallery feature, now you want to # install the Public API Javadoc(tm) feature, the active properties should be: # # -P samplesProductFeatureBean.active="false" # -P javadocsProductFeatureBean.active="true" ################################################################################ # # IBM WebSphere ESB, Install Location # # The install location of the product. Specify a valid directory into which the # product should be installed. If the directory contains spaces, enclose it in # double-quotes as shown in the Windows example below. Note that spaces in the # install location is only supported on Windows operating systems. # # Below is the list of default install locations for each supported operating # system. By default, in this response file, the Windows install location is # used. If you want to use the default install location for another operating # system, uncomment the appropriate default install location entry (by removing '#') and # then comment out (by adding '#') the Windows operating system entry below. # # # AIX Default Install Location: # # -P esbProductBean.installLocation=/usr/IBM/WebSphere/ESB # # # HP-UX, Solaris or Linux Default Install Location: # # -P esbProductBean.installLocation=/opt/IBM/WebSphere/ESB # # # Windows Default Install Location: # -P esbProductBean.installLocation="C:\Program Files\IBM\WebSphere\ESB" ################################################################################ # # Use Existing IBM WebSphere Application Server# # If you intend to use an existing installation of WebSphere Application Server or # WebSphere Application Server Network Deployment,, uncomment the following line # (by removing '#'). # # -W wasdetectionpanelInstallWizardBean.optionSelected="1" # # You must then set the above WebSphere Application Server install location to the install root # of the existing WAS installation. # # Note that the install will fail if WebSphere Application Server has already been installed # in the existing WAS install location. # ################################################################################ # # Setup Type # # This value is required for the installation. Do not change this! # -W setuptypepanelInstallWizardBean.selectedSetupTypeId="Custom" ################################################################################ # # "Samples Gallery" feature # # The selection state of the "Samples Gallery" feature. Legal values are: # # true - Indicates that the feature is selected for installation # false - Indicates that the feature is not selected for installation # # For example, to select "Samples Gallery" for installation, use # # -P samplesProductFeatureBean.active="true" # -P samplesProductFeatureBean.active="true" ################################################################################ # # "Public API Javadoc (tm)" feature # # The selection state of the "Public API Javadoc (tm)" feature. Legal values are: # # true - Indicates that the feature is selected for installation # false - Indicates that the feature is not selected for installation # # For example, to select "Public API Javadoc (tm)" for installation, use # # -P javadocsProductFeatureBean.active="true" # -P javadocsProductFeatureBean.active="true" ################################################################################ # # WebSphere ESB Profile Wizard # # To launch the Profile Wizard SILENTLY at the end # of the installation, please change the value to "true". # Otherwise, set the value to "false". # -W summaryPanel_InstallWizardBean.launchPCAW="false" ################################################################################ # If you choose to run Profile Wizard silently at the end of the # installation, you must # 1. get a copy of the Profile Wizard response file (from CD) and put to a temp dir # such as: /tmp/ESB/responsefile.pcat.esb.dmgrProfile.txt For DMGR profile creation # /tmp/ESB/responsefile.pcat.esb.managedProfile.txt For Managed profile creation # /tmp/ESB/responsefile.pcat.esb.standAloneProfile.txt For Stand-alone server profile creation # 2. modify the response file by filling in the required options/values. # Note: If the values are not completed properly, the configuration may be unsuccessful. # 3. specify below the absolute path to your modified response file. # # For example, # -W pcawResponseFileLocationQueryAction_InstallWizardBean.fileLocation="/tmp/WBI/responsefile.pcaw.dmgrProfile.txt" -W pcawResponseFileLocationQueryAction_InstallWizardBean.fileLocation=""