IBM Rational Software Analyzer, Version 7.0.0

Installation Guide

Version 7.0
Note

Before you use this information and the product that it supports, read the information in the Notices section.

Copyright International Business Machines Corporation 2005, 2008. All rights reserved.
US Government Users Restricted Rights -- Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.

Contents

Overview
IBM Installation Manager
IBM Rational Software Delivery Platform
Installation requirements
Hardware requirements
Software requirements
User privilege requirements for installing the product
Windows Vista user privilege requirements for running the product
Planning to install the product package
Installation scenarios
Installation repositories
Setting repository preferences in Installation Manager
Package groups and the shared resource directory
Extending an existing Eclipse IDE
Coexistence considerations
Offering coexistence considerations
Preinstallation tasks
Installation tasks
Installing from CDs: task overview
Installing from an electronic image on your workstation: task overview
Installing from an electronic image
Installing from an electronic image on a shared drive: task overview
Installing from a repository on an HTTP or HTTPS Web server: task overview
Placing the product package on an HTTP Web server: task overview
Verifying and extracting electronic images
Extracting the downloaded files
Installing from the launchpad program
Windows Vista requirements for the launchpad program
Starting the launchpad program
Starting an installation from the launchpad program
Installing the product package using the Installation Manager GUI
Increasing the number of file handles on Linux workstations
Starting the product
Updating the product
Modifying a product installation
Uninstalling the product
Managing licenses
Licenses
License enablement
Viewing license information for installed packages
Importing a product activation kit
Purchasing licenses
Managing IBM Installation Manager
Installing Installation Manager on Windows
Installing Installation Manager on Linux
Starting Installation Manager on Windows
Starting Installation Manager on Linux
Uninstalling Installation Manager on Windows
Uninstalling Installation Manager on Linux
Silently installing and uninstalling Installation Manager
Silently installing Installation Manager
Silently uninstalling Installation Manager from Windows
Silently uninstalling Installation Manager on other platforms
IBM Packaging Utility
Installing Packaging Utility
Copying product packages using Packaging Utility
Installing silently
Creating a response file with Installation Manager
Recording a response file using Installation Manager
Installing and running Installation Manager in silent mode
Response file commands
Silent installation preference commands
Silent installation commands
Reference: Sample response file
Silent installation log files
Notices
Trademarks and service marks

Overview

This installation guide provides instructions for installing, updating, and uninstalling the developer and enterprise editions of IBM(R) Rational(R) Software Analyzer.

You can find the most recent version of this Installation Guide online at http://download.boulder.ibm.com/ibmdl/pub/software/rationalsdp/v7/rsar/70/ /docs/install_instruction/install.html.

Note:
For updated documentation and troubleshooting information, see http://www.ibm.com/software/rational/support/documentation/

IBM Installation Manager

IBM Installation Manager is a program that helps you install a Rational Software Analyzer product package on your computer. It also helps you update, modify, and uninstall any package that you install. A package can be a product, a group of components, or a single component that is specifically designed for Installation Manager to install.

IBM Installation Manager offers several time-saving features, which you can use to complete the following tasks:

For more information about IBM Installation Manager, see the Installation Manager Information Center:

http://www.ibm.com/software/awdtools/installmanager/support/index.html

IBM Rational Software Delivery Platform

The IBM Rational Software Delivery Platform is a common development environment that contains the development workbench and other software components that share multiple products.

The delivery platform includes the following offerings:

Also available but not part of the platform is Rational Manual Tester. Rational Manual Tester is included with Rational Functional Tester, or it can be purchased separately.

About Rational Software Analyzer

IBM Rational Software Analyzer is a simple and powerful software analysis tool. The developer edition is an Eclipse-based, standalone product that features language support for Java and C++, and a rich set of analysis rules for code review, architectural discovery, software metrics, and data flow analysis. Developers use a single, common interface to perform any type of analysis, view results, and fix problems.

Built on an extensible framework, the product includes an analysis API for customizing and creating new analysis rules, reports, and for integrating rules from other analysis tools.

For managers, the enterprise edition offers centralized reporting features to manage quality and compliance, and enables build integration for software analysis through the Rational Build Forge product.

Installation requirements

This section details hardware, software, and user privilege requirements that must be met to successfully install and run your software.

For the most up-to-date, detailed system requirements, see http://www.ibm.com/software/awdtools/analyzer/swanalyzer/sysreq/index.html.

Hardware requirements

Before you install the product, verify that your system meets the minimum hardware requirements.

Hardware Requirements
Processor Minimum: 3.4 GHz Intel(R) Pentium(R) 4 (or higher for best results). Recommended: Intel Core 2.0 or similar.
Memory Minimum: 1 GB of RAM. Recommended: 2 GB of RAM.
Disk space

Minimum: 750 MB of disk space is required to install the product package. Additional disk space is required for the resources that you develop.

Note:
  • Additional disk space is required if you download the product package to install this product.
  • For Windows. Additional disk space is required if you use FAT32 instead of NTFS.
  • For Linux. An additional 500 MB of disk space is required in the /tmp directory.
Display 1024 x 768 resolution minimum using 256 Colors (or higher for best results)

Software requirements

Before you install the product, verify that your system meets the software requirements.

Operating system

This product runs on the following operating systems:

The listed operating systems support all the languages that Rational Software Analyzer supports.

Software requirements for extending an existing Eclipse IDE

This version of the IBM Rational Software Analyzer product was developed for use with version 3.3 or later of the Eclipse IDE. You can only extend an existing Eclipse IDE of version 3.3 with latest updates from eclipse.org.

To extend an existing Eclipse IDE, you also require a JRE from one of the following Java(TM) development kits:

Important:
To enable Windows Vista users who do not have Administrator privileges to work with Rational Software Analyzer, do not install Eclipse in the Program Files directory (C:\Program Files\).

Additional software requirements

User privilege requirements for installing the product

You must have a user ID that meets the following requirements before you can install Rational Software Analyzer.

Windows Vista user privilege requirements for running the product

Windows Vista users have additional considerations related to user privileges and product installation choices.

To enable users who do not have Administrator authority to work with Rational Software Analyzer, complete the following steps:

Note:
Similarly, if you are extending an existing Eclipse installation on Windows Vista, do not install Eclipse in the C:\Program Files directory path.

If you do install the product in a package group that uses C:\Program Files or choose a shared resource directory in C:\Program Files, Windows Vista users must run Rational Software Analyzer as Administrator.

If, at a later time, you want to allow Windows Vista users to run as a non-Administrator user, you must reinstall the product to make new selections for the package group and shared resources directory.

Planning to install the product package

Read all the topics in this section before you begin to install or update any of the product features. Effective planning and an understanding of the key aspects of the installation process can help ensure a successful installation.

Installation scenarios

You can follow several scenarios when you install or update Rational Software Analyzer.

The following factors might determine your installation scenario:

These are the typical installation scenarios you might follow:

Note:
Silent install is supported for the electronic image scenarios. For details, see Installing silently.

Installing from CDs

In this installation scenario, you have the CDs that contain the product package files, and typically you install Rational Software Analyzer on your own workstation.

See Installing from CDs: task overview.

Installing from a downloaded electronic image on your workstation

In this scenario, you download the installation files from IBM Passport Advantage and you install Rational Software Analyzer on your own workstation.

See Installing from an electronic image on your workstation: task overview for an overview of the steps.

Installing from an electronic image on a shared drive

In this scenario, you place the electronic image on a shared drive so that users in your enterprise can access the installation files for Rational Software Analyzer from a single location.

See Installing from an electronic image on a shared drive: task overview.

Installing from a repository on an HTTP or HTTPS Web server

This scenario is the fastest method for installing the product on a network and is different from the shared-drive installation.

To place product package files for Rational Software Analyzer on an HTTP or HTTPS Web server, you must use IBM Packaging Utility to copy the installation files in a package format to the server. The directory on the server that contains the product package is called a repository. IBM Packaging Utility is provided with Rational Software Analyzer. The Packaging Utility is on the Enterprise Deployment CD.

See Installing from a repository on an HTTP or HTTPS Web server: task overview and Placing the product package on an HTTP Web server: task overview.

Installation repositories

IBM Installation Manager retrieves product packages from specified repository locations.

By default, IBM Installation Manager uses the embedded URL provided for each Rational software product to connect to a repository server over the Internet. Installation Manager then searches for the product packages, product updates, and new product features.

Note:
Your organization might require you to redirect the repository to use intranet sites.

If the launchpad starts Installation Manager, the repository information is passed to Installation Manager. If you start the Installation Manager, you must specify an installation repository that contains the product packages to install.

Specify repository locations in the Preferences window on the Repositories page. See Setting repository preferences in Installation Manager.

Setting repository preferences in Installation Manager

When the launchpad program starts the installation of Rational Software Analyzer, the location of the repository that contains the product package you are installing is already defined for IBM Installation Manager. If you start Installation Manager, you must specify the repository preference, which means the URL for the directory that contains the product package, in Installation Manager before you can install the product package.

Note:
Before you start the installation process, obtain the installation package repository URL from your administrator.

To add, edit, or remove a repository location in Installation Manager:

  1. Start Installation Manager.
  2. On the Start page of Installation Manager, click File -> Preferences, and then click Repositories.

    The Repositories page shows any available repositories, their locations, and whether they are accessible.

  3. On the Repositories page, click Add Repository.
  4. In the Add repository window, specify the URL of the repository location and a file path.
  5. Click OK.

    If you provided an HTTPS or restricted FTP repository location, then you are prompted to enter a user ID and password.

    The new or changed repository location is listed. If the repository is not accessible, a red x is displayed in the Accessible column.

  6. To exit, click OK.

Note:
To enable Installation Manager to search the default repository locations for the installed packages, in the Preferences window, on the Repositories page, ensure that the Search service repositories during installation and updates option is selected.

Package groups and the shared resource directory

When you install a Rational Software Analyzer package using IBM Installation Manager, you must choose a package group and a shared resource directory.

Package groups

During the installation process, you must specify a package group for the Rational Software Analyzer package. A package group represents a directory in which packages share resources with other packages in the same group. When you install the product package using Installation Manager, you create a new package group or install the packages into an existing package group. Some packages might not be able to share a package group, in which case the option to use an existing package group is unavailable.

When you install multiple packages at the same time, all the packages are installed into the same package group.

A package group is assigned a name automatically; however, you choose the installation directory for the package group.

After you create the package group by successfully installing a product package, you cannot change the installation directory. The installation directory contains files and resources that are specific to the product package that is installed into that package group. Resources in the product package that other package groups can potentially use are placed in the shared resources directory.

Shared resources directory

The shared resources directory is the directory where installation artifacts are located so that one or more product package groups can use them.

Important:

Extending an existing Eclipse IDE

When you install the Rational Software Analyzer product package, you might choose to extend an Eclipse integrated development environment (IDE) that is already installed on your computer by adding the Rational Software Analyzer package.

To extend an existing Eclipse IDE, in the Install Packages wizard, on the Location page, select the Extend an existing Eclipse IDE option.

As an example, you might extend your existing Eclipse IDE to gain the Rational Software Analyzer functionality, but to save the preferences and settings in your current IDE when you work with Rational Software Analyzer. You might also want to work with plug-ins that you installed that already extend the Eclipse IDE.

Coexistence considerations

If you plan to install multiple Rational Software Delivery Platform products on the same computer, review the information in this section.

Offering coexistence considerations

Some products are designed to coexist and share functionality when they are installed in the same package group. A package group is a location where you can install one or more software products or packages. When you install each package, you select whether you want to install the package to an existing package group, or whether you want to create a new one. IBM Installation Manager blocks products that are not designed to share or do not meet version tolerance and other requirements. If you want to install more than one product at a time, the products must be able to share a package group.

At the time of release, the following products share functionality when installed in a package group:

Any number of eligible products can be installed in a package group. When a product is installed, its functionality is shared with all the other products in the package group. If you install a development product and a testing product into one package group, when you start either of the products, you have both the development and testing functionality available to you in the user interface. If you add a product with modeling tools, all of the products in the package group have the development, testing, and modeling functionality available.

If you install a development product and later purchase a development product with increased functionality and add that product to the same package group, the additional functionality is available in both products. If you uninstall the product with the greater functionality, the original product remains. Note that this is a change from the upgrade behavior of version 6 products in the Rational Software Delivery Platform group.

Note:
Each product that is installed in a unique location can be associated with only one package group. A product must be installed in multiple locations in order to be associated with multiple package groups. For example, the Rational Functional Tester and Rational Performance Tester product packages can be installed in only one location and in only one package group.

Preinstallation tasks

Before you install the product, complete these steps:

  1. Confirm that your system meets the requirements described in Installation requirements.
  2. Confirm that your user ID meets the required access privileges for installing the product. See User privilege requirements for installing the product.
  3. Read Planning to install the product package.

Installation tasks

The following sections provide an overview of the installation scenarios that the Installation scenarios section describes. The main steps link to detailed instructions.

Installing from CDs: task overview

In this installation scenario, you have the CDs that contain the installation files, and typically, you install Rational Software Analyzer on your own workstation.

The following steps describe how to install Rational Software Analyzer from CDs:

  1. Complete the preinstallation steps listed in Preinstallation tasks.
  2. Insert the first product installation CD into your CD drive.

    For Linux. Mount the CD drive.

  3. Start the installation of Rational Software Analyzer from the launchpad. For details, see Starting an installation from the launchpad program.

    If IBM Installation Manager is detected on your workstation, it starts automatically.

    If IBM Installation Manager is not detected on your workstation, then you must install it to continue. Follow the instructions in the wizard. When the installation is complete, Installation Manager starts automatically.

    For details, see Installing Installation Manager on Windows.

  4. Click Install Packages and follow the instructions in the Install Packages wizard to complete the installation.

    For details, see Installing the product package using the Installation Manager GUI.

  5. Configure your license. By default, a trial license for Rational Software Analyzer is included. You must configure the license to ensure that you have continued access to the product.

    For details, see Managing licenses.

  6. For Linux. Increase the number of file handles on your workstation.

    For details, see Increasing the number of file handles on Linux workstations.

Installing from an electronic image on your workstation: task overview

The following steps describe how to install Rational Software Analyzer from an electronic installation image:

  1. Ensure that your workstation has sufficient space to store both the files you must download from IBM Passport Advantage and the extracted installation image. See Hardware requirements.
  2. From IBM Passport Advantage, download all the required parts for the product image to a temporary directory.
  3. Extract the installation image from the downloaded file and verify that the installation image is complete. For details, see Verifying and extracting electronic images.
  4. Continue with the steps in Installing from an electronic image below.

Installing from an electronic image

  1. Complete the preinstallation steps listed in Preinstallation tasks.
  2. Start the launchpad program. For details, see Starting the launchpad program.
  3. Start the installation of Rational Software Analyzer from the launchpad. For details, see Starting an installation from the launchpad program.
  4. To complete the installation, click Install Packages and follow the instructions in the Install Packages wizard.

    For details, see Installing the product package using the Installation Manager GUI.

  5. Configure your license. By default, a trial license for Rational Software Analyzer is included. You must configure the license to ensure that you have continued access to the product.

    See Managing licenses for details.

  6. For Linux. Increase the number of file handles on your workstation.

    For details, see Increasing the number of file handles on Linux workstations.

Installing from an electronic image on a shared drive: task overview

In this scenario, you place the electronic image on a shared drive so that users in your enterprise can access the installation files for Rational Software Analyzer from a single location.

To place the installation image on a shared drive, you perform the following steps:

  1. Ensure that your shared drive has sufficient disk space to store both the files you must download from IBM Passport Advantage and the extracted installation image. For details, see Hardware requirements.
  2. From IBM Passport Advantage, download all required parts for the product image to a temporary directory on the shared drive.
  3. Extract the installation image from the downloaded files into an accessible directory on the shared drive and verify that the installation image is complete. For details, see Verifying and extracting electronic images.

To install Rational Software Analyzer from the installation files on the shared drive:

  1. Change to the disk1 directory on the shared drive that contains the installation image.
  2. Follow the steps in Installing from an electronic image.

Installing from a repository on an HTTP or HTTPS Web server: task overview

In this scenario, IBM Installation Manager retrieves the product packages from an HTTP or HTTPS Web server.

These steps assume that the repository that contains the package for Rational Software Analyzer has been created on the HTTP or HTTPS Web server.

To install the Rational Software Analyzer package from a repository on an HTTP or HTTPS server:

  1. Complete the preinstallation steps listed in Preinstallation tasks.
  2. Install IBM Installation Manager. See Managing IBM Installation Manager. In this example, the Installation Manager installation files are available from a shared drive.
  3. Start Installation Manager. For details, see Starting Installation Manager on Windows.
  4. In Installation Manager, set the URL of the repository that contains the package of Rational Software Analyzer as a repository preference. See Setting repository preferences in Installation Manager.
  5. In Installation Manager, start the Install Packages wizard and follow the instructions to complete the installation. For details, see Installing the product package using the Installation Manager GUI.
  6. For Linux. Increase the number of file handles on your workstation. For details, see Increasing the number of file handles on Linux workstations.

Placing the product package on an HTTP Web server: task overview

To prepare Rational Software Analyzer for installation from a repository on an HTTP or HTTPS Web server:

  1. Ensure that the HTTP or HTTPS Web server has sufficient disk space to store the product package. See Hardware requirements.
  2. Ensure that your workstation has sufficient disk space to store both the files that you must download from IBM Passport Advantage and the extracted installation image. See Hardware requirements.
  3. From IBM Passport Advantage, download all the required parts for the product image to a temporary directory on your workstation.
  4. Extract the installation image from the downloaded files into another temporary directory on your workstation and verify that the installation image is complete. For details, see Verifying and extracting electronic images.
  5. From the Enterprise Deployment CD (or electronic disk) appropriate for your platform, install on your workstation the IBM Packaging Utility.
  6. Using the Packaging Utility, copy the Rational Software Analyzer product package.
  7. Copy the output of the Packaging Utility to an HTTP or HTTPS Web Server.
  8. From the Enterprise Deployment CD, copy the installation files for IBM Installation Manager to a shared drive.
  9. Instruct users in your organization to install Installation Manager.
  10. Provide users with the URL to the repository that contains the Rational Software Analyzer product package you created earlier.

Verifying and extracting electronic images

If you download the installation files from IBM Passport Advantage, you must extract the electronic image from the compressed files before you can install Rational Software Analyzer.

You might want to verify the completeness of the downloaded files before extracting the image.

If you select the Download Director option for downloading the installation files, the Download Director applet automatically verifies the completeness of each file that it processes.

Alternatively, you can compare the published MD5 values with the checksum of the downloaded files to determine whether the downloaded file is corrupt or invalid.

Extracting the downloaded files

Extract each compressed file to the same directory.

For Linux. Do not include spaces in the directory names, or you will not be able to run the launchpad.sh command to start the launchpad from a command line.

Installing from the launchpad program

The launchpad program provides you with a single location to view release information and start the installation process.

Use the launchpad program to start Rational Software Analyzer installation if you use any of the following methods:

By starting the installation process from the launchpad program, IBM Installation Manager is installed automatically if it is not on your computer, and it starts preconfigured with the location of the repository that contains the Rational Software Analyzer package. If you install and start Installation Manager directly, you must set repository preferences manually.

To install from the launchpad:

  1. If you have not done so, complete the preinstallation tasks that are described in Preinstallation tasks.
  2. Start the launchpad program. See Starting the launchpad program.
  3. Start to install Rational Software Analyzer. See Starting an installation from the launchpad program.

To complete the installation, follow the instructions in the Install Packages wizard. For details, see Installing the product package using the Installation Manager GUI.

Windows Vista requirements for the launchpad program

Review the following requirements before starting the launchpad program on your Windows Vista system:

Starting the launchpad program

If you have not done so, complete the preinstallation tasks that are described in Preinstallation tasks.

If you are installing from a CD and autorun is enabled on your workstation, the Rational Software Analyzer launchpad starts automatically when you insert the first installation disk into your CD drive. If you install from an electronic image, or if autorun is not configured on your workstation, you must start the launchpad program manually.

To start the launchpad program:

  1. Insert the IBM Rational Software Analyzer CD into your CD drive.

    For Linux. Mount the CD drive.

  2. If autorun is enabled on your system, the IBM Rational Software Analyzer launchpad program opens automatically. If autorun is not enabled on your system, complete these steps:

Starting an installation from the launchpad program

  1. Start the launchpad program.
  2. If you have not done so, read the release information by clicking Release notes.
  3. When you are ready to begin the installation, click Install IBM Rational Software Analyzer.

    If IBM Installation Manager is not detected on your system, or if a newer version is available, you must install the latest version.

    To complete the installation of IBM Installation Manager, follow the instructions in the wizard. See Installing Installation Manager on Windows for more information.

    When the installation of IBM Installation Manager completes, click Finish to close the wizard.

Installing the product package using the Installation Manager GUI

The following steps describe how to install the IBM Rational Software Analyzer package by using the Installation Manager graphical user interface (GUI). You can optionally install product updates at the same time that the base product package is installed; skip the update steps in this topic if they do not apply to your installation.

  1. From the Installation Manager Start page, click Install Packages.
    Note:
    If a new version of Installation Manager is found, confirm that you want to install it to continue. Installation Manager automatically installs the new version, stops, restarts, and resumes.
  2. The Install page of the Install Packages wizard lists all the packages found in the repositories that Installation Manager searched. If two versions of a package are discovered, only the most recent, or recommended, version of the package is displayed.
  3. Click the IBM Rational Software Analyzer package to display its description in the Details pane.
  4. To search for updates to the IBM Rational Software Analyzer package, click Check for Other Versions and Extensions.

    Installation Manager searches for package updates in the predefined IBM update repository. It also searches any repository locations that you have set.

    Note:
    To enable Installation Manager to search the predefined IBM update repository locations for the installed packages, in the Preferences window, on the Repositories page, select the Search the linked repositories during installation and updates option. Internet access is also required.
  5. If updates for the IBM Rational Software Analyzer package are found, they are displayed in the Installation Packages list on the Install Packages page, below their corresponding product. Only recommended updates are displayed by default.
  6. Select the IBM Rational Software Analyzer package and any updates to the package that you want to install. Updates that have dependencies are automatically selected and cleared together. Click Next to continue.
    Note:
    If you install multiple packages at the same time, all the packages are installed into the same package group.
  7. On the Licenses page, read the license agreement for the selected package.

    If you selected more than one package to install, there might be a license agreement for each package. On the left side of the License page, click each package version to display its license agreement. The package versions that you selected (for example, the base package and an update) are listed under the package name.

    1. If you agree to the terms of all the license agreements, click I accept the terms in the license agreements.
    2. Click Next to continue.
  8. On the Location page, type the path for the shared resources directory in the Shared Resources Directory field, or accept the default path. (If you are installing on Linux, ensure that you do not include any spaces in the directory path.) The shared resources directory contains resources that one or more package groups can share. Click Next to continue.

    The default path is as follows:

    Important:
    You can specify the shared resources directory only the first time that you install a package. To help ensure adequate disk space for shared resources for future packages, use your largest disk drive. You cannot change the directory location unless you uninstall all the packages.
  9. On the Location page, create a package group for the IBM Rational Software Analyzer package, or if you are updating a product, use the existing package group. A package group represents a directory in which packages share resources with other packages in the same group.

    To create a new package group:

    1. Click Create a new package group.
    2. Type the path for the installation directory for the package group or use the default path. The name for the package group is created automatically. (For Linux, the directory path cannot include spaces.)
      Important:
      For Windows Vista, do not select the default C:\Program Files directory unless you want your users to run Rational Software Analyzer as an Administrator. For details, see Windows Vista user privilege requirements for running the product.
    3. Click Next to continue.
  10. On the Features page under Languages, select the languages for the package group. The corresponding national language translations for the user interface and documentation for the IBM Rational Software Analyzer package will be installed.
  11. On the Summary page, review your choices before installing the IBM Rational Software Analyzer package. To change the choices that you made on previous pages, click Back and make the changes. When you are satisfied with your installation choices, click Install to install the package.
  12. When the installation process is complete, a message confirms the success of the process.
    1. Click View log file to open the installation log file for the current session in a new window. You must close the Installation Log window to continue.
    2. In the Install Package wizard, select whether you want IBM Rational Software Analyzer to start when you exit the wizard.
    3. To open the selected package, click Finish. The Install Package wizard closes and you return to the Start page of Installation Manager.

Increasing the number of file handles on Linux workstations

Important: For best results, before you work with your Rational product, increase the number of file handles available for Rational Software Analyzer. A system administrator might need to make this change.

Exercise caution when you follow these steps to increase the file descriptors on Linux. Failure to follow the instructions might result in a computer that does not start correctly. For the best results, have your system administrator perform this procedure.

To increase the file descriptors:

  1. Log in as root. If you do not have root access, you must obtain it before you continue.
  2. Change to the etc directory.
  3. Locate the initscript shell script. Open the file or create it with a Linux text editor.

    Important: Do not leave an empty initscript file on your computer. If you do so, your computer will not start the next time that you turn it on or restart it.

  4. On the first line, set ulimit to a number significantly larger than 1024, the default on most Linux computers.

    ulimit -n 4096

    Caution: Setting ulimit too high can impact system-wide performance.

  5. On the second line, type eval exec "$4".
  6. Save and close the shell script.

For more information on the ulimit command, refer to the man page for ulimit.

Starting the product

You can start Rational Software Analyzer from the desktop environment or a command-line interface.

For Windows Click Start > Programs > IBM Rational Software Analyzer > IBM Rational Software Analyzer Developer Edition.

For Windows Click Start > Programs > IBM Rational Software Analyzer Enterprise Edition > IBM Rational Software Analyzer Enterprise Edition.

To start Rational Software Analyzer Developer Edition from a command-line:

To start Rational Software Analyzer Enterprise Edition from a command-line:

Important:
Windows Vista users might need to run Rational Software Analyzer as Administrator. For details, see Windows Vista user privilege requirements for running the product.

Updating the product

You can install updates for packages that were installed by using IBM Installation Manager. Package updates provide fixes and updates to installed features and might also include new features that you can install by using the Modify Packages wizard.

Internet access is required unless your repository preferences point to your local update site.

Each installed package provides a location for its default IBM update repository. This location enables Installation Manager to search the IBM update repository for the installed packages if, in the Preferences window, on the Repositories page, the Search service repositories during installation and updates option is selected.

See the Installation Manager help for more information.

Note:
Before you update the product, close all the programs that were installed using Installation Manager.

To find and install product package updates:

  1. From the Start page of the Installation Manager, click Update Packages.
  2. If IBM Installation Manager is not detected on your system or if a newer version is found, then you must continue with the installation of the latest release. To complete the installation of IBM Installation Manager, follow the instructions in the wizard.
  3. In the Update Packages wizard, select the location of the package group where the Rational Software Analyzer product package that you want to update is installed or select the Update All check box, and then click Next.

    Installation Manager searches for updates in its repositories and in the predefined update sites for Rational Software Analyzer.

  4. If updates for a package are found, they are displayed in the Updates list on the Update Packages page below their corresponding package. Only recommended updates are displayed by default. Click Show all to display all updates found for the available packages.
    1. To learn more about an update, click the update and review its description under Details.
    2. If additional information about the update is available, a More info link is included at the end of the description text. Click the link to display the information in a browser. Review this information before you install the update.
  5. Select the updates that you want to install or click Select Recommended to restore the default selections. Updates that have a dependency relationship are automatically selected and cleared together.
  6. Click Next to continue.
  7. On the Licenses page, read the license agreements for the selected updates. On the left side of the License page, the list of licenses for the updates that you selected is displayed; click each item to display the license agreement text.
    1. If you agree to the terms of all the license agreements, click I accept the terms in the license agreements.
    2. Click Next to continue.
  8. On the Summary page, review your choices before you install the updates.
    1. To change the choices that you made on previous pages, click Back, and make the changes.
    2. When you are satisfied, click Update to download and install the updates. A progress indicator shows what percentage of the installation is complete.
    Note:
    During the update process, Installation Manager might prompt you for the location of the repository that contains the base version of the package. If you installed the product from CDs or other media, they must be available when you use the update feature.
  9. Optional: When the update process completes, a message that confirms the success of the process is displayed near the top of the page. To open the log file for the current session in a new window, click View log file. You must close the Installation Log window to continue.
  10. Click Finish to close the wizard.
  11. Optional: Only the features that are already installed are updated by the Update wizard.

    If the update contains new features that you want to install, run the Modify Packages wizard and select the new features to install from the feature selection panel.

Modifying a product installation

The Modify Packages wizard in IBM Installation Manager enables you to change the language and feature selections of an installed product package. You can also use the Modify Packages wizard to install new features that might be included in a package update, such as a refresh pack.

Internet access is required unless the repository preferences points to a local update site. For more information, see the Installation Manager help.

Note:
Close all programs that were installed by using Installation Manager before you modify any packages.

To modify an installed product package:

  1. From the Start page of the Installation Manager, click the Modify Packages icon.
  2. In the Modify Packages wizard, select the installation location for Rational Software Analyzer and click Next.
  3. On the Modify page, under Languages, select the languages for the package group, and click Next.

    The corresponding national language translations for the user interface and documentation for the packages will be installed. Note that your choices apply to all packages that are installed in this package group.

  4. On the Summary page, review your choices before you modify the installation package, and then click Modify.
  5. Optional: When the modification process completes, click View Log File to see the complete log.

Uninstalling the product

The Uninstall Packages option in Installation Manager enables you to uninstall packages from a single installation location. You can also uninstall all the installed packages from every installation location.

To uninstall the packages, you must log in to the system using the same user account that you used to install the product packages.

To uninstall the packages:

  1. Close the programs that you installed by using Installation Manager.
  2. On the Start page click Uninstall Packages.
  3. On the Uninstall Packages page, select the Rational Software Analyzer product package to uninstall and click Next.
  4. On the Summary page, review the list of packages that will be uninstalled and then click Uninstall. The Complete page is displayed after the packages are uninstalled.
  5. Click Finish to exit the wizard.

Managing licenses

Licensing for your installed IBM software and customized packages is administered by using the Manage Licenses wizard in IBM Installation Manager. The Manage Licenses wizard displays license information for each installed package.

Trial licenses expire 30 or 90 days after installation. To use a product after the expiration date, you must activate the product.

Using the Manage Licenses wizard, you can upgrade trial versions of an offering to a licensed version by importing a product activation kit.

For more information about managing licenses for a Rational product, see the following resources:

Licenses

As a purchaser of a Rational software product, you can choose from three types of product licenses: an Authorized User license, an Authorized User Fixed Term License (FTL), and a Floating license. Consult your product representative to determine which license type is required for your Rational software product.

Authorized User License

An IBM Rational Authorized User license permits a single, specific individual to use a Rational software product. Purchasers must obtain an Authorized User license for each individual user who accesses the product in any manner. An Authorized User license cannot be reassigned unless the purchaser replaces the original assignee on a long-term or permanent basis.

For example, if you purchase one Authorized User license, you can assign that license to one specific individual, who can then use the Rational software product. The Authorized User license does not entitle a second person to use that product at any time, even if the licensed individual is not actively using it.

Authorized User Fixed Term License

An IBM Rational Authorized User Fixed Term License (FTL) permits a single, specific individual to use a Rational software product for a specific length of time (the term). Purchasers must obtain an Authorized User FTL for each individual user who accesses the product in any manner. An Authorized User FTL cannot be reassigned unless the purchaser replaces the original assignee on a long-term or permanent basis.

Note:
When you purchase an Authorized User FTL under the Passport Advantage Express program, IBM automatically extends the license term for an additional year at the prevailing price unless you notify IBM before the license expires that you do not want an extension. The subsequent FTL term starts when the initial FTL term expires. The price for this subsequent term is currently 80% of the initial FTL price but is subject to change.

If you notify IBM that you do not want to extend the license term, you must stop using the product when the license expires.

Floating license

An IBM Rational Floating license is a license for a single software product that can be shared among multiple team members; however, the total number of concurrent users cannot exceed the number of Floating licenses that you purchase. For example, if you purchase one Floating license for a Rational software product, then any user in your organization can use the product at any given time. A user who wants to access the product must wait until the current user logs off.

To use Floating licenses, you must obtain Floating license keys and install them on a Rational License Server. The server responds to end-user requests for access to the license keys; it grants access to the number of concurrent users that matches the number of licenses that the organization purchased.

Note:
IBM does not support Floating licenses for Rational Software Analyzer.

License enablement

If you are installing a Rational software product for the first time or want to extend a license to continue using the product, you have the following options to enable licensing for your product.

Rational Software Analyzer product offering licenses are enabled by the following method:

Importing a product activation kit

Note:
Trial licenses expire 30 to 90 days after installation. To use the product after the expiration date, you must activate the product. For a flow chart of the activation process, see this support article on product activation: http://www.ibm.com/support/docview.wss?uid=swg21250404.

Activation kits

Product activation kits contain the permanent license key for your trial Rational product. You purchase the activation kit, download the activation kit zip file to your local computer, and then import the appropriate .JAR file in the activation kit to enable the license for your product. You use IBM Installation Manager to import the activation kit to your product.

Viewing license information for installed packages

You can review license information for your installed packages, including license types and expiration dates, from IBM Installation Manager.

To view license information:

  1. Start IBM Installation Manager.
  2. On the main page, click Manage Licenses.

The package vendor, current license types, and expiration dates are displayed for each installed package.

Importing a product activation kit

To install your permanent license key, you must import the activation kit from the download location or the product media by using IBM Installation Manager.

If you have not purchased an activation kit, you must do this first. If you have purchased a product or a product activation kit, insert the appropriate CD or download the activation kit from IBM Passport Advantage to an accessible workstation.

The activation kit is packaged as a compressed .zip file, which contains a Java archive (.JAR) file. The .JAR file contains the permanent license key and must be imported to activate your product.

To import an activation kit .JAR file and enable the new license key:

  1. Start IBM Installation Manager.
  2. On the main page, click Manage Licenses.
  3. Select a package and click the Import Activation Kit.
  4. Click Next. Details for the selected package are shown, including the current license type and the product version range of the license.
  5. Browse to the path on the media CD or download location for the activation kit; then select the appropriate (.JAR) file and click Open.
  6. Click Next. The Summary page displays the target install directory for the activation kit, the product that the new license applies to, and version information.
  7. Click Finish.

The product activation kit with its permanent license key is imported into the product. The Manage Licenses wizard indicates whether the import is successful.

Purchasing licenses

You can purchase new licenses if your current product license is about to expire or if you want to acquire additional product licenses for team members.

To purchase licenses and enable your product:

  1. Determine the type of license that you want to purchase.
  2. Go to ibm.com(R) or contact your IBM sales representative to purchase the product license. For details, visit the IBM Web page on How to buy software.
  3. Depending on the type of license that you purchase, use the Proof of Entitlement that you receive and do one of the following things to enable your product:

    If you purchase Authorized User licenses for your product, go to Passport Advantage and follow the instructions for downloading the compressed product activation kit file. Once you have downloaded the activation kit, you must import the product activation .JAR file by using Installation Manager.

To import the activation kit for your product, use the Manage Licenses wizard in IBM Installation Manager.

Managing IBM Installation Manager

This section deals with common IBM Installation Manager tasks. For more information, see the Installation Manager online help or the Installation Manager Information Center at http://www.ibm.com/software/awdtools/installmanager/support/index.html.

Installing Installation Manager on Windows

If the launchpad program starts the product installation, IBM Installation Manager is installed automatically if it is not installed. For more information about this process, see Installing from the launchpad program. In other cases, you must manually install Installation Manager.

To manually install Installation Manager:

  1. From the InstallerImage_win32 folder on the first installation disk or from the directory where you extracted the product installation files, run install.exe.
  2. On the Install Packages page, click Next.
  3. On the License Agreement page, review the license agreement, and to accept it, select I accept the terms in the license agreement, and click Next.
  4. If required, to change the installation location, on the Destination Folder page, click Browse, and click Next.
  5. On the Summary page, click Install. When the installation process is complete, a message confirms the success of the process.
  6. Click Finish. IBM Installation Manager opens.

Installing Installation Manager on Linux

The launchpad program installs IBM Installation Manager. For more information about this process, see Installing from the launchpad program.

To install Installation Manager manually:

  1. Open a terminal window with root user privileges.
  2. From the InstallerImager_linux folder on the first installation disk or from the directory where you unzipped and extracted the product installation files, run install.
  3. On the Install Packages screen, click Next.
  4. On the License Agreement page, review the license agreement and, to accept it, select I accept the terms in the license agreement, and click Next.
  5. If necessary, edit the installation directory location, and click Next.
  6. On the information summary page, click Install. When the installation process is complete, a message confirms the success of the process.
  7. Click Finish. IBM Installation Manager opens.

Starting Installation Manager on Windows

You should start IBM Installation Manager from the launchpad program. Doing so starts Installation Manager with a configured repository preference and selected Rational Software Analyzer packages.

If you start Installation Manager directly, you must set a repository preference and choose product packages manually. For more information, see Planning to install the product package.

To start Installation Manager manually:

On the Windows taskbar, click Start > All Programs > IBM Installation Manager > IBM Installation Manager.

Starting Installation Manager on Linux

You should start IBM Installation Manager from the launchpad program. Doing so starts the Installation Manager with a configured repository preference and selected Rational Software Analyzer packages. If you start Installation Manager directly, you must set a repository preference and choose product packages manually. For more information, see Planning to install the product package.

To start Installation Manager manually:

  1. Open a terminal window with root user privileges.
  2. Change directories to the installation directory for Installation Manager By default, this is/opt/IBM/InstallationManager/eclipse.
  3. Run IBMIM.

Uninstalling Installation Manager on Windows

To uninstall Installation Manager:

  1. On the Windows taskbar, click Start > All Programs > IBM Installation Manager > Uninstall IBM Installation Manager.
  2. On the Uninstall page, click Next.

    IBM Installation Manager is selected for uninstallation.

  3. On the Summary page, click Uninstall.

Note:
You can also uninstall Installation Manager by using the Control Panel. Click Start > Settings > Control Panel, and then double-click Add or Remove Programs. Select the entry for IBM Installation Manager and click Remove.

Uninstalling Installation Manager on Linux

You must uninstall IBM Installation Manager by using the package management tool that is included with your Linux version.

To uninstall Installation Manager manually on Linux:

  1. Open a terminal window with root user privileges.
  2. Change directories to the uninstall directory for Installation Manager. By default, this is /var/ibm/InstallationManager/uninstall.
  3. Run ./uninstall.

Silently installing and uninstalling Installation Manager

You can silently install and uninstall IBM Installation Manager.

Silently installing Installation Manager

To install Installation Manager silently, extract the installer and switch to the InstallerImage_platform subdirectory, and then use the following commands:

After the installation, you can use Installation Manager or the Installation Manager installer to silently install packages.

Silently uninstalling Installation Manager from Windows

To silently uninstall Installation Manager on Windows:

  1. From a command line, go to the uninstall directory for Installation Manager. By default, this is C:\Documents and Settings\All Users\Application Data\IBM\Installation Manager\uninstall
  2. Enter the following command: uninstallc.exe --launcher.ini silent-uninstall.ini.

Silently uninstalling Installation Manager on other platforms

To silently uninstall Installation Manager on other platforms:

  1. From a terminal window, go to the uninstall directory of Installation Manager. By default, this is /var/ibm/InstallationManager/uninstall.
  2. Run the following command: uninstall --launcher.ini silent-uninstall.ini

IBM Packaging Utility

Use IBM Packaging Utility software to set up a repository for Installation Manager and to copy product packages to the repository. After you copy product packages, you define the repository location in Installation Manager, in the Preferences window.

Packaging Utility software is located on the Enterprise Deployment CD for each platform (Windows and Linux) that is included with Rational Software Analyzer.

To place a repository that contains a Rational Software Analyzer package on a shared drive, you must use the Packing Utility to copy the product package of Rational Software Analyzer into the repository.

If you want to place a repository that contains a Rational Software Analyzer package on a Web server that will be available over HTTP or HTTPS, you must use Packaging Utility to copy the product package of Rational Software Analyzer into the repository.

Use this utility to perform the following tasks:

For more information about the Packaging Utility, see the online help or the Installation Manager Information Center at http://www.ibm.com/software/awdtools/installmanager/support/index.html.

Installing Packaging Utility

You must install IBM Packaging Utility from the Enterprise Deployment CD before you can use it to copy the Rational Software Analyzer product package.

To install IBM Packaging Utility software from the Enterprise Deployment CD:

  1. Navigate to the Enterprise Deployment CD for the appropriate platform and extract the compressed file from the CD.
  2. Navigate to the Packaging Utility directory and extract the Packaging Utility installation package from the compressed file (pu.disk_win32.zip or pu.disk_linux.zip).
  3. Locate the executable file for the Packaging Utility installer.
  4. Start the executable file and follow the instructions in the wizard to install the Packaging Utility.
  5. (Optional). If IBM Installation Manager is not detected on your workstation, you are prompted to install it and then the installation wizard starts. Follow the instructions in the wizard to complete the installation of Installation Manager. For details, see Installing Installation Manager on Windows.

    When the installation of Installation Manager completes, Installation Manager starts and automatically begins the Install Packages wizard.

  6. If Installation Manager is installed on your computer, Installation Manager starts and automatically begins the Install Packages wizard.
  7. Follow the instructions in the Install Packages wizard to complete the installation.

Copying product packages using Packaging Utility

To create a repository from which Installation Manager can install Rational Software Analyzer, you must use the Packaging Utility to copy the product package to the repository.

To copy product packages with Packaging Utility:

  1. If you are copying packages from a CD image, insert the first installation CD into your CD drive.

    For Linux. Mount the CD drive.

    Note:
    If autorun is enabled on your system, the Rational Software Analyzer launchpad program opens automatically. Close the launchpad program.
  2. Start Packaging Utility.
  3. On the main page of the utility, click Copy product package.
  4. On the Prerequisite page, complete one of these steps:
  5. Click Next.
  6. On the Source page, if no product packages are available, open a repository that contains product packages:
    Note:
    A repository can be a path to a directory in the file system, a disk drive that contains the first CD of the product, or a URL to a directory on a server.
  7. On the Destination page, browse to and select an existing repository directory, or create a new folder to store the products.
  8. Click OK. The file path that you defined is listed on the Destinations page, in the Directory field.
  9. Click Next.
  10. On the Summary page, to copy the selected product packages to the destination repository, click Copy.
  11. After the copy process finishes, on the Complete page, review the product packages that were copied successfully.
  12. To return to the Packaging Utility main page, click Done.

After you use the Packaging Utility to copy the Rational Software Analyzer installation files into a repository, you can go to the preferences page of IBM Installation Manager and define this location as a repository. You can also place the repository on a UNC drive, or place the repository on a Web server to make the directories and files available over HTTP.

Installing silently

You can install the Rational Software Analyzer product package silently by running Installation Manager in silent installation mode. When you run Installation Manager in silent mode, the user interface is not available; instead, Installation Manager uses a response file to input the commands that are required to install the product package.

Running Installation Manager in silent mode is helpful because it enables you to use a batch process to install, update, modify and uninstall product packages through scripts.

You must install Installation Manager before you can silently install Rational Software Analyzer.

Two main tasks are required for silent installation:

  1. Create the response file.
  2. Run Installation Manager in silent installation mode.

For more information about Installation Manager and installing silently, see the Installation Manager Information Center: http://www.ibm.com/software/awdtools/installmanager/support/index.html.

Creating a response file with Installation Manager

You can create a response file by recording your actions as you install a Rational Software Analyzer product package using Installation Manager or install the Installation Manager installer. When you record a response file, all the selections that you make in the Installation Manager GUI are stored in an XML file. When you run Installation Manager in silent mode, Installation Manager uses the XML response file to complete the installation.

To record a response file for installation (or for uninstalling):

  1. At a command line, change to the eclipse subdirectory in the directory where you installed Installation Manager. For example:
  2. At a command line, type the following command to start Installation Manager, substituting your own file name and location for the response file and (optionally) the log file:

    IBMIM -record <response file path and name> -log <log file path and name>

    Note:
    You can record a response file without installing or uninstalling a product by adding the optional -skipInstall <agentDataLocation> argument. For details, see Recording a response file using Installation Manager.
    Note:
    Ensure the file paths that you enter exist; Installation Manager does not create directories for the response file and the log file.
  3. Follow the instructions in the Install Packages wizard to make your installation choices. For details, see Installing the product package using the Installation Manager GUI.
  4. Click Finish, and then close Installation Manager.

An XML response file is created and resides in the location specified in the command.

Recording a response file using Installation Manager

To create a response file to install or uninstall Installation Manager or a product, without installing or uninstalling the product, use the -skipInstall <agentDataLocation> argument. Using -skipInstall is faster because Installation Manager does not install or uninstall the product; it only records installation data. The <agentDataLocation> must be a writable directory.

Later, if you want to record updates or modifications to a product, record license management, or record uninstalling the product, you must use the same <agentDataLocation> in subsequent recording sessions. Note that installed products or the preferences, including repository settings, that you record when not using -skipInstall option are not available.

Recording a response file for the installer

To record installation data for the installation of Installation Manager:

  1. Extract Installation Manager, and then go to the InstallerImage_platform directory.
  2. To start recording, enter install -record <response file path and name> -skipInstall <agentDataLocation> -vmargs -Dcom.ibm.cic.agent.hidden=false

Recording a response file for a product install

To record installation data for a product install with the Installation Manager installer, follow these steps:

  1. Go to the InstallerImage_platform directory where you extracted Installation Manager.
  2. Open the install.ini file by removing the following lines: -input and @osgi.install.area/install.xml
  3. Enter the following command: IBMIM -record <response file path and name> -skipInstall <agentDataLocation>. For example, IBMIM -record c:\mylog\responsefile.xml -skipInstall c:\temp\recordData
  4. Start Installation Manager and complete the Install Packages wizard.

Installing and running Installation Manager in silent mode

Use the Installation Manager installer to install Installation Manager, and then use Installation Manager to silently install product packages from a command line.

For additional documentation about running Installation Manager in silent mode, see the Installation Manager Information Center: http://www.ibm.com/software/awdtools/installmanager/support/index.html.

The following table describes the arguments to use with the silent installation command:

Argument Description
-vm Specifies the Java launcher. In silent mode, always use java.exe on Windows, and java on other platforms.
-nosplash
Suppresses the splash screen.
--launcher.suppressErrors
Suppresses the JVM error dialog box.
-silent Runs the Installation Manager installer or Installation Manager should be run in silent mode.
-input
Specifies an XML response file as the input to the Installation Manager installer or the Installation Manager. A response file contains commands that installer or Installation Manager runs.
-log
(Optional) Creates a log file that records the result of the silent installation. The log file is an XML file.

Both the Installation Manager installer and the Installation Manager have an initialization or .ini file: silent-install.ini. This file includes default values for the arguments in the table.

The Installation Manager installer installs Installation Manager.

Extract the installer, switch to the eclipse subdirectory, and then use the following commands:

After Installation Manager is installed, you can use it to install other products.

To run Installation Manager in silent mode, run the following command from the eclipse subdirectory:

When the Installation Manager installer or Installation Manager runs in silent installation mode, it reads the response file and writes a log file to the directory that you specified. A response file is required; log files are optional. The result of this execution should be a status of 0 for success and a non-zero number for failure.

Response file commands

To use the silent installation capabilities of Installation Manager, you must create a response file that contains all the commands that Installation Manager must run. To do this, you should create a response file by recording your actions as you install the IBM Rational Software Analyzer package. However, you could also create or edit a response file manually.

The response file has two categories of commands:

Silent installation preference commands

Although you typically specify preferences in the Preferences window, you can also specify preferences (identified as keys) in a response file for use during a silent installation.

Note:
You can specify more than one preference in a response file.

When you define preferences in a response file, the XML code looks similar to the following example:

<preference
	name = "the key of the preference"
	value = "the value of the preference to be set">
</preference>

Use the following table to identify keys and their associated values for silent installation preferences:

Key Value Comments
com.ibm.cic.common.core.preferences.logLocation Specifies the location of Installation Manager log file.
Important:
This key is optional and is designed for testing and debugging. If you do not specify a location for the log file, both silent installation and the UI version of Installation Manager use the same location.
com.ibm.cic.license.policy.location Specifies a URL that defines where the remote license policy file resides.
com.ibm.cic.common.core.preferences.http.proxyEnabled True or False False is the default value.
com.ibm.cic.common.core.preferences.http.proxyHost Host name or IP address
com.ibm.cic.common.core.preferences.http.proxyPort Port number
com.ibm.cic.common.core.preferences.http.proxyUseSocks True or False False is the default value.
com.ibm.cic.common.core.preferences.SOCKS.proxyHost Host name or IP address
com.ibm.cic.common.core.preferences.SOCKS.proxyPort Port number
com.ibm.cic.common.core.preferences.ftp.proxyEnabled True or False False is the default value.
com.ibm.cic.common.core.preferences.ftp.proxyHost Host name or IP address
com.ibm.cic.common.core.preferences.ftp.proxyPort Port number
com.ibm.cic.common.core.preferences.eclipseCache c:\IBM\common (Windows)

/opt/IBM/common (Linux)

Note:
The paths above are default values for this preference; typically, install packages provide their own values for this preference.
You cannot change this location if you have already installed a package.
com.ibm.cic.agent.core.pref.offering.service.repositories. areUsed True or False Change this preference to False to disable it. When the value is True, all linked repositories are searched when products are installed or updated.
com.ibm.cic.common.core.preferences. preserveDownloadedArtifacts True or False Change this preference to False to disable it. When the value is True, the files that are required to roll back the package to a previous version are stored on your system. When the value is False, these files are not stored. If you do not store these files, you must connect to your original repository or media to roll back a version.

Silent installation commands

The following table lists response file commands for a silent installation.

Response file commands Description

Profile

<profile 
id="the profile (package group) id" 
installLocation="the install location of
 the profile">
<data key="key1" value="value1"/>
<data key="key2" value="value2"/>

</profile>
Use this command to create a package group (or installation location). If the specified package group exists already, the command has no effect. Currently, when it creates the profile, the silent installation also creates two installation contexts: Eclipse and native. A profile is an installation location.

Use the <data> element to set profile properties.

The following list contains the currently supported keys and their related values:

  • The eclipseLocation key specifies an existing Eclipse location, such as c:\myeclipse\eclipse.
  • The cic.selector.nl key specifies the Natural Language (NL) locale selections, such as en, fr, and es.
Note:
Separate multiple NL values with commas.

The following list contains the currently supported language codes:

  • English (en)
  • French (fr)
  • Italian (it)
  • Simplified Chinese (zh_CN)
  • Russian (ru)
  • Traditional Chinese - (zh_TW)
  • German (de)
  • Japanese (ja)
  • Polish (pl)
  • Spanish (es)
  • Czech (cs)
  • Hungarian (hu)
  • Korean (ko)
  • Portuguese (pt_BR)

Repositories

<server>
<repository location="http://example/
repository/">
<repository location="file:/C:/
repository/">
<!--add more repositories below-->
<...>
      </server>
Use this command to specify the repositories that are used during a silent installation. Use a URL or UNC path to specify remote repositories; use directory paths to specify local repositories.

Install

<install>
<offering profile= "profile id" 
features= "feature ids" 
id= "offering id" version= "offering 
version"></offering>

<!--add more offerings below>
<...>

</install>
Use this command to specify the installation packages to install.

The profile ID must match an existing profile or a profile created by the set profile command.

Feature IDs can be optionally specified by a comma-separated list, such as "feature1, feature2" and so on. If no feature IDs are specified, all the default features in the specified offering are installed.

The version number is not required. If no version is specified, Installation Manager installs the most recent product with the specified ID and any available updates and fixes.

Note:
Required features are included for installation, even if they are not explicitly specified in the comma-separated list.

<install modify="true"> or <uninstall modify="true"> (optional attribute)

<uninstall modify="true">
<offering profile="profileID"
 id="Id" version="Version" 
features="-"/>
</uninstall>

Use the <install modify="true"> attribute on install and uninstall commands to indicate that you want to modify an existing installation.

If the attribute is not set to true, the value defaults to false. If the intent of the modify operation is only to install additional language packs, use a hyphen "-" in the offering feature ID list to indicate no new features are being added.

Important:
You must specify "modify=true" and a hyphen "-" feature list as specified in the example; otherwise, the install command installs the offering's default features and the uninstall command removes all the features.

Uninstall

<uninstall>
<offering profile= "profile id" 
features= "feature ids" 
id= "offering id" version= "offering 
version"></offering>

<!--add more offerings below>
<...>

</uninstall>
Use this command to specify the packages to uninstall.

The profile ID must match an existing profile or a profile specified in a profile command. If no feature IDs are specified, all the features in the specified offering are uninstalled; if no offering IDs are specified, all the installed offerings in the specified profile are uninstalled.

Rollback

<rollback>
<offering profile= "profile id"
 id= "offering id" 
version= "offering version">
</offering>

<!--add more offerings below
<...>

</rollback>
Use this command to roll back to the specified offerings from the version currently installed on the specified profile. You cannot specify features in a roll back command.

InstallAll

<installALL/>
Note:
This command is equivalent to using
-silent -installAll 
.
Use this command to silently search for and install all available packages.

UpdateAll

<updateALL/>
Note:
This command is equivalent to using
-silent -updateAll 
.
Use this command to silently search for and update all available packages.

License

<license policyFile="policy file
 location"/>

For example:

<license policyFile="c:\mylicense.opt"/> 
Use this command to generate a response file that contains a license command by starting the license wizard after starting Installation Manager in record mode.

In record mode, if you set flex options through the license management wizard, the options you set are recorded in a license policy file named "license.opt" in the same directory as the generated response file; the response file contains a license command that references the policy file.

Wizard

<launcher -mode wizard -input 
< response file >
Use this command to start Installation Manager in UI mode. The UI mode starts Installation Manager in either the install wizard or the uninstall wizard. However, in this case, the response file can only contain preference commands and install commands or preference command and uninstall commands; you cannot mix install and uninstall commands in the same response file when you run Installation Manager in UI mode.

Reference: Sample response file

You can use an XML-based response file to specify predefined information such as silent installation preferences, repository locations, installation profiles, and so on. Response files are beneficial for teams and companies that want to install installation packages without intervention and to standardize the locations and preferences for installation packages.

Sample response file
<agent-input >

<!-- add preferences -->
<preference name="com.ibm.cic.common.core.preferences. http.proxyEnabled" 
value="c:/temp"/>

<!-- create the profile if it doesn't exist yet -->
<profile id="my_profile" installLocation="c:/temp/my_profile"></profile>

<server>
<repository location= 
"http://a.site.com/local/products/sample/20060615_1542/repository/"></repository>
</server>

<install>
	<offering profile= "my_profile" features= "core" id= "ies" 
version= "3.2.0.20060615">
	</offering>
</install>

</agent-input>

Silent installation log files

You can use silent install log files to examine the results of a silent installation session.

The silent installation functionality creates an XML-based log file that records the result of the silent install execution (as long as a log file path is specified using -log <your log file path>.xml). If your silent installation session is successful, the log file contains just the root element of <result> </result>. However, if errors occur during the installation, the silent install log file contains error elements with messages such as the following one:

<result>
	<error> Cannot find profile: profile id</error>
	<error> some other errors</error>
</result>

For detailed analyses, you can look at the log files that are generated in the Installation Manager data area. By using a preference command, you can optionally set the data area to your preferred location.

Notices

Copyright IBM Corporation 2005, 2008. All rights reserved.

Note to U.S. Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.

This information was developed for products and services offered in the U.S.A. IBM may not offer the products, services, or features discussed in this document in other countries. Consult your local IBM representative for information on the products and services currently available in your area. Any reference to an IBM product, program, or service is not intended to state or imply that only that IBM product, program, or service may be used. Any functionally equivalent product, program, or service that does not infringe any IBM intellectual property right may be used instead. However, it is the user's responsibility to evaluate and verify the operation of any non-IBM product, program, or service.

IBM may have patents or pending patent applications covering subject matter described in this document. The furnishing of this document does not grant you any license to these patents. You can send license inquiries, in writing, to:

IBM Director of Licensing
IBM Corporation
North Castle Drive
Armonk, NY 10504-1785
U.S.A.

For license inquiries regarding double-byte (DBCS) information, contact the IBM Intellectual Property Department in your country or send inquiries, in writing, to:

IBM World Trade Asia Corporation
Licensing
2-31 Roppongi 3-chome, Minato-ku
Tokyo 106, Japan

The following paragraph does not apply to the United Kingdom or any other country where such provisions are inconsistent with local law: INTERNATIONAL BUSINESS MACHINES CORPORATION PROVIDES THIS PUBLICATION "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Some states do not allow disclaimer of express or implied warranties in certain transactions, therefore, this statement may not apply to you.

This information could include technical inaccuracies or typographical errors. Changes are periodically made to the information herein; these changes will be incorporated in new editions of the publication. IBM may make improvements and/or changes in the product(s) and/or the program(s) described in this publication at any time without notice.

Any references in this information to non-IBM Web sites are provided for convenience only and do not in any manner serve as an endorsement of those Web sites. The materials at those Web sites are not part of the materials for this IBM product and use of those Web sites is at your own risk.

Licensees of this program who wish to have information about it for the purpose of enabling: (i) the exchange of information between independently created programs and other programs (including this one) and (ii) the mutual use of the information which has been exchanged, should contact:

Intellectual Property Dept. for Rational Software
IBM Corporation
20 Maguire Road
Lexington, Massachusetts 02421-3112
U.S.A.


Such information may be available, subject to appropriate terms and conditions, including in some cases, payment of a fee.

The licensed program described in this Documentation and all licensed material available for it are provided by IBM under terms of the IBM Customer Agreement, IBM International Program License Agreement or any equivalent agreement between us.

Information concerning non-IBM products was obtained from the suppliers of those products, their published announcements or other publicly available sources. IBM has not tested those products and cannot confirm the accuracy of performance, compatibility or any other claims related to non-IBM products. Questions on the capabilities of non-IBM products should be addressed to the suppliers of those products.

Trademarks and service marks

The following terms are trademarks of International Business Machines Corporation in the United States, other countries, or both:

Adobe is a registered trademark of Adobe Systems Incorporated in the United States, other countries, or both.

Intel and Pentium are trademarks or registered trademarks of Intel Corporation or its subsidiaries in the United States and other countries.

Java and all Java-based trademarks are trademarks of Sun Microsystems, Inc. in the United States, other countries, or both.

Linux is a registered trademark of Linus Torvalds in the United States, other countries, or both.

Microsoft and Windows are trademarks of Microsoft Corporation in the United States, other countries, or both.

UNIX(R) is a registered trademark of The Open Group in the United States and other countries.

Other company, product or service names may be trademarks or service marks of others.