WebSphere brand IBM WebSphere Premises Server, Version 6.1.x

Installing silently

This topic describes how to perform a silent installation of the product.

About this task
Note: Silent uninstallation is not supported.

You must customize the sample response file for your environment before installing silently. Instructions on how to customize the file are also included in the sample file. After customizing the file, you can issue the command to silently install. Silent installation is particularly useful if you install the product often or if you are installing from a remote command prompt.

To run the installer in silent mode, follow these directions.

Procedure
  1. Choose the sample response file for your desired installation. The sample response files are located in the sat_installer\tasks directory of the WebSphere® Premises Server CD appropriate for your operating system.

    Windows There are three sample response files for Windows® operating systems:

    • PremisesSolutionForWindowsDB2_LAS_Task.xml for WebSphere Premises Server and Location Awareness Services for WebSphere Premises Server using DB2®
    • PremisesSolutionForWindowsDB2_Task.xml for WebSphere Premises Server only using DB2
    • PremisesSolutionForWindowsOracle_Task.xml for WebSphere Premises Server only using Oracle

    Linux There are two sample response file for Linux® operating systems:

    • PremisesSolutionForLinuxDB2_Task.xml for WebSphere Premises Server only using DB2
    • PremisesSolutionForLinuxOracle_Task.xml for WebSphere Premises Server only using Oracle
  2. Accept the WebSphere Premises Server license.
    1. Open the IRU_install.iss file located in the sat_installer directory of the WebSphere Premises Server CD appropriate for your operating system.
    2. Replace -G licenseAccepted=false with -G licenseAccepted=true.
  3. Open and update the sample response file.
    1. Specify the target computer for the deployment tasks.
      • Search for the <targetHostname> tag and specify the target computer name within that element for each deployment task.
      • If the target computer is not localhost, search for and uncomment the <credentialsSat> element. Then, update this line with the target computer's host name, user ID, and password.
        <addCredentials hostname="localhost" userId="Administrator" password="*******"/>
        Note: If you have more than one target computer for different deployment tasks, add this line for each of the target computers.
    2. Modify the required variable element ID attributes for the different applications to the correct values for your desired installation.
      Tip: Search for <variable id= to find all of the variable element ID attributes in the response file.
  4. Clean the log files. If you ran the installer previously, be sure to remove any old log files.
    • Windows C:\Program Files\SolutionFiles\logs
    • Linux \opt\SolutionFiles\logs
  5. Launch the installer in silent mode.

    Windows For Windows operating systems:

    1. Open a command line prompt.
    2. Change directory to the location of the sat_installer directory.
    3. Run this command.
      WindowsSetup.exe -silent -W solutionLauncher.taskFileName="silent_response_filename"
      -options IRU_install.iss

    Linux For Linux operating systems:

    1. Open a shell window.
    2. Change directory to the location of the sat_installer directory.
    3. Run this command.
      LinuxSetup -silent -W solutionLauncher.taskFileName="silent_response_filename"
      -options IRU_install.iss
    Note: The variable, silent_response_filename, means the name of the sample response file. Do not include the path of the file.
  6. Verify the success of the installation by checking the logs. If there are log files in these directories, then the silent installation completed.
    • Windows C:\Program Files\SolutionFiles\logs
    • Linux \opt\SolutionFiles\logs

    If you see errors in the log files, refer to Troubleshooting tips for possible resolutions to the problem.


Library | Support | Terms of use

(c) Copyright IBM Corporation 2004, 2008. All rights reserved.
U.S. Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.