Before you use this information and the product that it supports, read the information in the Notices section.
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.
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
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.
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.
Before you install the product, verify that your system meets the minimum hardware requirements.
Before you install the product, verify that your system meets the software requirements.
This product runs on the following operating systems:
The listed operating systems support all the languages that Rational Software Analyzer supports.
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:
IBM 32-bit
SDK for Windows, Java 2 Technology Edition, Version 5.0 service
release 5; or Sun Java 2 Standard Edition 5.0 Update 12 for Microsoft Windows
IBM 32-bit SDK for Linux on Intel architecture, Java 2
Technology Edition, Version 5.0 service release 5; or Sun Java 2
Standard Edition 5.0 Update 12 for Linux x86 (not supported for SUSE Linux Enterprise
Server [SLES] Version 9)
Microsoft Internet
Explorer 6.0 with Service Pack 1, or later
Version
6.0 release 65, or later
Version 6.0 release 69, or laterYou must have a user ID that meets the following requirements before you can install Rational Software Analyzer.
You must be able to log in as root.
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:
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.
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.
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:
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.
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.
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.
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.
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.
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.
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.
To add, edit, or remove a repository location in Installation Manager:
The Repositories page shows any available repositories, their locations, and whether they are accessible.
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.
When you install a Rational Software Analyzer package using IBM Installation Manager, you must choose a package group and a shared resource directory.
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.
The shared resources directory is the directory where installation artifacts are located so that one or more product package groups can use them.
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.
If you plan to install multiple Rational Software Delivery Platform products on the same computer, review the information in this section.
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.
Before you install the product, complete these steps:
The following sections provide an overview of the installation scenarios that the Installation scenarios section describes. The main steps link to detailed instructions.
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:
Mount
the CD drive.
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.
For details, see Installing the product package using the Installation Manager GUI.
For details, see Managing licenses.
Increase the number of file handles on
your workstation.
For details, see Increasing the number of file handles on Linux workstations.
The following steps describe how to install Rational Software Analyzer from an electronic installation image:
For details, see Installing the product package using the Installation Manager GUI.
See Managing licenses for details.
Increase the number of file handles on
your workstation.
For details, see Increasing the number of file handles on Linux workstations.
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:
To install Rational Software Analyzer from the installation files on the shared drive:
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:
Increase the number of file handles on
your workstation. For details, see Increasing the number of file handles on Linux workstations.To prepare Rational Software Analyzer for installation from a repository on an HTTP or HTTPS Web server:
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.
Extract each compressed file to the same directory.
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.
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:
To complete the installation, follow the instructions in the Install Packages wizard. For details, see Installing the product package using the Installation Manager GUI.
Review the following requirements before starting the launchpad program on your Windows Vista system:
If you select an installation location or a shared resources directory in the C:\Program Files path, the packages that you install must be run as Administrator.
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:
Mount the CD drive.
Run
launchpad.exe, which is located in the root directory of the CD.
Run launchpad.sh, which is located in the
root directory of the CD.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.
For details, see Installing the product package using the Installation Manager GUI.
For details, see Updating the product.
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.
Installation Manager searches for package updates in the predefined IBM update repository. It also searches any repository locations that you have set.
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.
The default path is as follows:
C:\Program
Files\IBM\SDPShared
/opt/IBM/SDPShared To create a new package group:
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:
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.
ulimit -n 4096
Caution: Setting ulimit too high can impact system-wide performance.
For more information on the ulimit command, refer to the man page for ulimit.
You can start Rational Software Analyzer from the desktop environment or a command-line interface.
Click Start
> Programs > IBM Rational Software Analyzer > IBM Rational Software Analyzer Developer Edition.
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:
<product
installation directory>\eclipse.exe -product com.ibm.rational.rsar.product.ide
<product
installation directory>/eclipse -product com.ibm.rational.rsar.product.ideTo start Rational Software Analyzer Enterprise Edition from a command-line:
<product
installation directory>\eclipse.exe -product com.ibm.rational.rsar.enterprise.product.ide
<product
installation directory>/eclipse -product com.ibm.rational.rsar.enterprise.product.ideYou 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.
To find and install product package updates:
Installation Manager searches for updates in its repositories and in the predefined update sites for Rational Software Analyzer.
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.
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.
To modify an installed product package:
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.
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:
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:
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.
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.
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.
If you notify IBM that you do not want to extend the license term, you must stop using the product when the license expires.
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.
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
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.
You can review license information for your installed packages, including license types and expiration dates, from IBM Installation Manager.
To view license information:
The package vendor, current license types, and expiration dates are displayed for each installed package.
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:
The product activation kit with its permanent license key is imported into the product. The Manage Licenses wizard indicates whether the import is successful.
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:
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.
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.
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:
The launchpad program installs IBM Installation Manager. For more information about this process, see Installing from the launchpad program.
To install Installation Manager manually:
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.
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:
To uninstall Installation Manager:
IBM Installation Manager is selected for uninstallation.
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:
You can silently install and uninstall IBM Installation Manager.
To install Installation Manager silently, extract the installer and switch to the InstallerImage_platform subdirectory, and then use the following commands:
installc
--launcher.ini silent-install.ini -log <log file path and name>.
For example: installc --launcher.ini silent-install.ini -log c:\mylogfile.xml
For example, install --launcher.ini silent-install.ini -log /root/mylogs/mylogfile.xml
After the installation, you can use Installation Manager or the Installation Manager installer to silently install packages.
To silently uninstall Installation Manager on Windows:
To silently uninstall Installation Manager on other platforms:
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:
You can copy multiple product packages into a single repository, which creates a common location from which IBM Installation Manager can install product packages.
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.
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:
Change
to the InstallerImage_win32 directory in the area where the pu.disk_win32.zip
file was unpacked. Locate the executable file for the installer, which is
named install.exe.
Change to the InstallerImage_linux directory
in the area where the pu.disk_linux.zip file was extracted. Locate the executable
file for the installer, which is named install.When the installation of Installation Manager completes, Installation Manager starts and automatically begins the Install Packages wizard.
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:
Mount the CD drive.
For example, if the Rational Software Analyzer (disk 1, disk 2, and so on) reside in C:\My product\unzip, you should define this location as a repository.
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.
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:
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.
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):
cd
C:\Program Files\IBM\Installation Manager\eclipseIBMIM -record <response file path and name> -log <log file path and name>
An XML response file is created and resides in the location specified in the command.
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.
To record installation data for the installation of Installation Manager:
To record installation data for a product install with the Installation Manager installer, follow these steps:
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:
installc
--launcher.ini silent-install.ini -log <log file path and name>
For example, installc --launcher.ini silent-install.ini -log c:\mylogfile.xml
For example, install --launcher.ini silent-install.ini -log /root/mylogs/mylogfile.xml
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:
IBMIMc.exe
--launcher.ini silent-install.ini -input <response file path and name>
-log <log file path and name>
For example, IBMIMc.exe --launcher.ini silent-install.ini -input c:\mylog\responsefile.xml -log c:\mylog\silent_install_log.xml
For example, IBMIM --launcher.ini silent-install.ini -input /root/mylog/responsefile.xml -log /root/mylog/silent_install_log.xml
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.
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:
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.
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:
The following table lists response file commands for a silent installation.
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> |
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.
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:
For license inquiries regarding double-byte (DBCS) information, contact the IBM Intellectual Property Department in your country or send inquiries, in writing, to:
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:
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.
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.