[AIX HP-UX Linux Solaris Windows]This topic applies only on the i5/OS operating system.

Installing Application Client for WebSphere Application Server silently

This topic provides the steps necessary to use the installation wizard and perform a silent installation.

About this task

Use these steps to perform a silent installation, which uses the installation wizard to install the product. Instead of displaying a user interface, the silent installation provides interaction between you and the wizard by reading all of your responses from a file that you must customize.

Procedure

  1. [AIX HP-UX Linux Solaris Windows] Verify that the user ID that you are using to run the silent installation has sufficient authority to perform the task.
  2. [iSeries] Verify that the host server jobs are started on your iSeries server. The host server jobs allow the installation code to run on iSeries. Enter this command on a CL command line: STRHOSTSVR SERVER(*ALL)
  3. [AIX HP-UX Linux Solaris Windows] Customize the option response file.
    1. Locate the sample options response file. The file name is setup.response in the operating system platform directory on the product CD-ROM.
    2. Make a copy to preserve the original response file. For example, copy the file as myoptionsfile.
    3. Edit the copy in your flat file editor of choice, on the target operating system. Read the directions within the response file to choose appropriate values.

      [AIX] To prepare the file for a silent installation on AIX, use UNIX line-end characters (0x0D0A) to terminate each line of the options response file.

    4. Make a non-commented option to have a silent install.
    5. Include custom option responses that reflect parameters for your system.
    6. Follow the instructions in the response file to choose appropriate values.
    7. Save the file.
  4. [iSeries] Verify that your user profile has the *ALLOBJ and *SECADM special authorities.
  5. [AIX HP-UX Linux Solaris Windows] Issue a command to use your custom response file: Install.exe -options myoptionsfile -silent for Windows platforms and ./install -options ./myoptionsfile -silent for Linux and UNIX platforms.

    The sample options response file is located in the AppClient directory on the product CD-ROM.

    1. Issue the following command from a command prompt to update your response file: -OPT silentInstallLicenseAcceptance="true' .

      Issuing this command indicates that you accept all IBM license terms associated with this product, which is necessary for installing application clients.

  6. [iSeries] Place the WebSphere Application Server Supplements disc in the disc drive of your iSeries server.
  7. [Windows] Optional: Restart your machine in response to the prompt that appears on Windows platforms when the installation is complete.
  8. [iSeries] Customize the options response file.
    1. Locate the sample options response file. The file name is setup.response in the operating system platform directory on the product CD-ROM.
    2. Use the Copy (CPY) command to create a copy of the setup.response file from the disk. For example:
      CPY OBJ('/QOPT/WEBSPHERE/AppClient/setup.response') TODIR('/MYDIR')

      Where:

      QOPT is the disk mount point.

      WEBSPHERE is the disk volume label.

      /AppClient is the product directory on the disk. This will be referred to in later steps.

      Note: For DVD media, an additional directory prefix is required before the product directory that reflects the operating system and architecture of the installation. Using the previous example, the following installation path applies when you use CD-ROM media:
      CPY OBJ('/QOPT/WEBSPHERE/AppClient/setup.response') TODIR('/MYDIR')
      However, the following installation path applies when you use DVD media:
      CPY OBJ('/QOPT/WEBSPHERE/os400_ppc64/AppClient/setup.response') TODIR('/MYDIR')
    3. Edit the copy of the file using EDTF from the i5/OS command line or using Wordpad from a mapped drive. Accept the license agreement by making the following change in the response file: -OPT silentInstallLicenseAcceptance="true' This is the only required change in the response file. Read the information in the response file to determine if you want to change any other options.
    4. Save the file.
  9. [iSeries] Invoke the installation program for WebSphere Application Client for i5/OS. To do this, run the INSTALL command from Qshell :
    1. From the i5/OS command line, start a Qshell session: STRQSH
    2. Change directory to the AppClient subdirectory of CD-ROM or DVD-ROM drive: cd /QOPT/WEBSPHERE/AppClient OR cd /QOPT/WebSphere/os400_ppc64/AppClient
    3. Issue the INSTALL command to start the installation program: install –options /MYDIR/setup.response

      Important: Do not exit the Qshell session (PF3) until the installation has completed. Doing so might cause the installation to stop prematurely.

Results

You installed application clients silently by using the response file.
Attention: Troubleshooting an invalid response file name that was submitted during the silent installation. If you get a response file error, the response file name may have been typed incorrectly. Verify that this is the problem by removing the -silent command and leaving -options <responsefile>. You may get a pop-up window or command line error stating that the wizard cannot continue because of the following error: The response file was not found (1001) (403). The response file that you are passing cannot be found on the system. Make sure that the path is correct, with no spelling mistakes, and try the installation again.

What to do next

[AIX HP-UX Linux Solaris Windows] To verify the silent install, look for the string INSTCONFSUCCESS in the log.txt file for successful installation and INSTCONFFAILED for a failed installation.

[AIX] [HP-UX] [Linux] [Solaris] The install command returns a return code of 0 to indicate a successful installation, 1 to indicate failure and 2 to indicate partial success. Any other return code means that the installation failed.

[AIX HP-UX Linux Solaris Windows] When the InstallShield for MultiPlatforms (ISMP) fails and the log.txt file is not created, the error log file might have been created in one of the following directories: [AIX HP-UX Linux Solaris Windows]
  • When a GUI install fails the logs are in var\tmp\niflogs\log.txt.
  • When a silent install fails the logs are in <user_home>\waslogs\log.txt.
  • When a silent install for Plugins fails the logs are in <user_home>\plglogs\log.txt.
  • When a silent install for HTTP Server fails the logs are in <user_home>\ihslogs\log.txt.

[iSeries] Use the installation verification utility to verify a successful installation. If the installation is not successful, fix the error as indicated in the installation error message. For example, if you do not have enough disk space, add more space, and reinstall the Application Client.




In this information ...


IBM Redbooks, demos, education, and more

(Index)

Use IBM Suggests to retrieve related content from ibm.com and beyond, identified for your convenience.

This feature requires Internet access.

Task topic Task topic    

Terms and conditions for information centers | Feedback

Last updatedLast updated: Aug 31, 2013 4:28:44 AM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=pix&product=was-nd-mp&topic=tcli_installsilent
File name: tcli_installsilent.html