Professional Documents
Culture Documents
Install
Install
Version 7.0.0
Windows
Installation Guide
GI11-6296-00
Version 7.0.0
Windows
Installation Guide
GI11-6296-00
Before using this information, be sure to read the general information under Notices, on page 29.
7th edition May 2006 Copyright International Business Machines Corporation 1993, 2006. All rights reserved. US Government Users Restricted Rights Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
Contents
Tables . . . . . . . . . . . . . . . v About this book . . . . . . . . . . . vii
Who should read this book . . . . . . . . Contacting IBM Customer Support for Rational software products . . . . . . . . . . . Downloading the IBM Support Assistant . . . . vii . vii . vii Site defaults file required for each product . Change to search order for license keys . . . . . . . 17 . 17
. . 19
. 19 . 20 . 20 . . . . . . . . . . . . . 20 21 21 22 22 22 23 23 23 23 23 24 24 25
. 7
. 7 . 7 . 7 . 7 . 9 . 9 . 10 . . . . 13 14 14 14
Before you start the Rational Setup wizard . . . Installing from a release area . . . . . . . Installation from a CD or Web download . . . Running the IBM Rational LaunchPad and Setup wizard . . . . . . . . . . . . . . . Interrupting an installation . . . . . . . . Rational Setup wizard warnings and blocks . . Performing a silent installation . . . . . . . Overview of silent installation . . . . . . Running a silent installation . . . . . . . Command syntax for setup.exe . . . . . . . Synopsis . . . . . . . . . . . . . Description . . . . . . . . . . . . Options and arguments . . . . . . . . Example . . . . . . . . . . . . . Command syntax for MSIEXEC.exe . . . . . Licensing your software . . . . . . . . . Licensing products on Windows Terminal Servers
iii
iv
Tables
1. 2. 3. Instructions for basic licensing tasks . . . . . 8 Deployment methods . . . . . . . . . 9 Warnings and blocks . . . . . . . . . 21 4. Requesting and installing IBM Rational license keys . . . . . . . . . . . . . . . 24
vi
vii
viii
v Ask your administrator for the correct deployment type. See Selecting a deployment method. v See Change to search order for license keys for a description of the order in which license keys are applied in this release. v When installing Rose as part of IBM Rational Suite on Microsoft Windows 2000, Rose might not run until you add the Rational \Common directory to your user path. See Adding the IBM Rational directory to your user path if you encounter this problem. v In addition to reviewing the remainder of Chapter 1, including but not limited to: File location guidelines Shared file guidelines Backup guidelines Version Compatibility guidelines Also review the following chapters prior to installing IBM Rational Rose: Chapter 2. Configuring the installation Chapter 3. Installing this product as part of IBM Rational Suite (If you will be installing IBM Rational Rose as part of the IBM Rational Suite.) Chapter 4. Installing Rational Rose
The Replace files with newer versions in English check box is selected when you have installed earlier versions of shared files that are localized to a non-U.S. English language. If you clear this check box, you can save and print the list of files that need to be updated. You will need to update the files yourself. v There may be a later version of the files available. IBM Rational products should work with the supplied version of shared files or any later versions.
Backup guidelines
You should back up your registry and system directories prior to running the IBM Rational Rose Setup program. In addition, make system backups of any machines on which you plan to install Rose. Specifically, we recommend you make backups of the following files: v Model files You should always have a back up of all your model files. These can include files that end with .mdl,.cat,.ptl, .red, and .sub files. Custom property files (files that end with .pty or .prp) There is no need to save .pty files that ship with Rose, because these will be reinstalled. Custom script files (files that end with .ebs or .ebx) There is no need to save .ebs or .ebx files that ship with Rose, since these will be reinstalled. v Path Maps Rose path map variables are saved in the registry. To backup path map variables: 1. Run regedit and navigate to HKEY_CURRENT_USER\Software\Rational Software\Rose\Virtual Path Map. 2. On the Registry menu, click Export Registry File.... (On Windows XP, select File > Export... as there is no Registry and Export Registry File menu.) To restore path map variables: 1. Run regedit and navigate to HKEY_CURRENT_USER\Software\Rational Software\Rose\Virtual Path Map. 2. On the Registry menu, click Import Registry File... and import the file you exported. (On Windows XP, select File > Import... as there is no Registry and Import Registry File menu.)
Click the Start > Settings > Control Panel. Double-click the System icon and select the Environment tab. Click Path Variable in the User Variable section of the dialog box. In the beginning of the existing path, insert the Rational common path (typically, C:\Program Files\Rational\Common), and then click Set. 5. Click OK to add the path and close the dialog box. 1. 2. 3. 4.
For more information about the License Tools utility, go to the IBM Rational Support Web site at http://www.ibm.com/developerworks/rational/support/and search for a technote titled The recommended setup for IBM Rational FLEXlm licensing and other third party vendors on a license server. For instructions about obtaining and managing licenses, see Table 1.
Table 1. Instructions for basic licensing tasks Task Understand Rational Common Licensing mechanics, license management tools, and license types. Obtain license keys. Instructions Review the IBM Rational License Management Guide as part of the installation planning process and select appropriate license types. Use AccountLink to obtain license keys. You can also use the document titled Important Licensing and Installation Information on the Proof of Entitlement certificate to request license keys. 1. Install the IBM Rational License Server software. A license key is not required to operate the license server software. Follow the instructions in the IBM Rational License Management Guide. If you use the installation procedures in this guide, select Rational License Server on the Product Selection page. 2. Use the License Key Administrator (LKAD) wizard to install the license keys. The LKAD wizard starts at the end of installation, or you can click Start > Programs > IBM Rational > IBM Rational License Key Administrator. You must have local administrative privileges on the computer to import the license key into the LKAD wizard. 3. Start the Rational License Server. See the IBM Rational License Management Guide or the License Key Administrator Help. 4. Give users the name of the license server. Configure client desktops to request licenses from the IBM Rational License Server. 1. Create a release area and site defaults file. See Creating a release area and site defaults file on page 10. 2. Give users the shortcut to the release area. 3. Give users the name of the Rational License Server. They can use the License Key Administrator (LKAD) wizard to specify the license server. The LKAD wizard starts at the end of installation.
This chapter provides a high-level guide to planning the installation of your IBM Rational software product. Both administrators and users of the product should read this chapter before beginning the installation.
Configuring deployment
Configuring deployment of IBM Rational Rose requires that you understand the types of deployment methods available. You can then select the appropriate deployment type for your users and configure your software for the selected deployment method.
Using the Setup Wizard to create a release area and site defaults file
This section explains how you can use the Setup wizard to create a release area and populate it with site defaults files. You can use this release area to install Rational products on servers or client desktops. The default site defaults file is sitedefs.dat. If users can run the setup.exe command with no arguments, the Setup wizard uses the settings in sitedefs.dat. You can create multiple site defaults files that are specific to different products or teams and assign them meaningful names, such as developers_rose.dat or qualityengr_rose.dat. Users can install the product with the configurations you create by specifying the site defaults file with the setup.exe command, for example, setup.exe developers_rose.dat. Or you can prepare shortcuts for these files, such as developers_rose or developers_rose.lnk, which users can run from their desktops. When creating a site defaults file, do not add a file name extension, such as sitedefs.developers.dat. The maximum length of the path for the release area of a Rose Deployment installation is approximately 30-35 characters. This limit changes, depending on the product being installed and the length of the paths of the files that each product installs. You might also see different error messages when the root path exceeds the maximum length. If you plan to apply a fix pack to a release area, see Applying a fix pack to a release area on page 12. 1. Make the release area directory shareable. Even if the drive that contains the directory is already shareable, making the directory itself shareable makes it easier to find the product release area. a. In Windows Explorer, right-click the network release area and click Sharing
10
b. On the Sharing page of the properties window, click SHARE this folder and supply a meaningful name, such as Rose 7.0 Release Area. The Setup wizard creates a shortcut to the site defaults file only if the release area is created under a network share. The shortcut opens in the release area, for example, as sitedefs or Rosedevelopers without the file extension.dat. 2. Log in as a user with Administrator rights on the local computer. 3. Insert the IBM Rational Rose Disk(s) into the computers CD drive. If more than one disk exists for the Rose product you are installing, insert Disk 1. If you have downloaded the software, click Setup.exe after you extract the files. The Setup wizard starts. If autorun is disabled on your computer, click Start > Run and enter cd_drive: \Setup.exe where cd_drive is the letter of the CD drive. The Setup wizard guides you through the software installation. Click Next to open the page. Note: Your release may include the following Rose products. Insert the disk appropriate to the Rose variant you wish to install: v IBM Rational Rose Enterprise Edition v IBM Rational Rose Modeler Edition v IBM Rational Rose Professional Ada Edition v IBM Rational Rose Professional C++ Edition v IBM Rational Rose Professional Data Modeler Edition v IBM Rational Rose Professional J Edition v IBM Rational Rose Professional VisualBasic Edition The Product Selection page lists all products available for installation. Select the product that you want to create a release area for. Click Next. Select the Enterprise Deployment option in the Deployment Method page. Click Next. Depending on the product you have selected, you will see one or more custom configuration pages in the wizard. Use the Help to provide instructions in this section of the wizard. Enter the required information in each page of the wizard. (All required information is shown in the left panel of the wizard with a red dot.) To navigate through the pages, you can either click Next to see them sequentially or click the page title in the left pane to access the page directly. In the Completion pages, you must fill in the Description page and the Create a Release Area page. The Launch Installation page is optional. a. In the Description page, enter a description for users. When you are finished, click Next. b. In the Create a Release Area page, enter the release area location and file name for the site defaults file (*.dat) that you are creating. Do not use double-byte characters. If you want to use the site defaults file to install software on your computer, click Next to go to the Launch Installation page. Select Launch installation by using these settings. Save the site defaults information to a file and proceed with the installation on your computer. Click Done and then click Next. Skip to Testing your site defaults file on page 12 for the rest of the instructions.
Chapter 2. Configuring the installation
4. 5. 6.
7.
11
If you only want to create a release area, click Done and then Next to create the site defaults file. 8. When the Setup Complete page opens, review the current information related to new features and known issues in the readme file. You can also view the IBM developerWorks Web pages. Click Finish to complete the installation of the release area. Applying a fix pack to a release area: If you want to apply a fix pack to the Rational products in your environment, you must re-create the release area as if users are installing the products on their desktops for the first time. This new release area is used to update and install Rational desktop products. After you create this new release area, disable the old one. Disabling the old release area prevents access to the previous version of Rational products and allows access if users need to restore a system to the previous version of Rational products.
12
v If you select Use the standard configuration, the features for the existing site default values are used for the installation. To begin the installation, click Next and then click Install . 6. If files required for the installation are in use while the Setup wizard is running and shared components must be installed, the Setup wizard may need to restart your computer. If so, a Restart Windows page opens. Select Restart or Dont Restart. If you select Dont Restart, the wizard reminds you that the installation cannot complete until Windows restarts. The second part of the installation process starts after you log on. 7. When the Setup Complete page opens, review the current information related to new features and known issues in the readme file. In addition, you can view the IBM developerWorks Web pages. Click Finish to complete the installation.
Running the Site Preparation Wizard to create multiple site defaults files
In some cases, your site might require multiple site defaults files. For example, if several users use Rational Rose but need to work with different default settings (such as Rational Rose features), you can create one site defaults file for each group of users. To create multiple site defaults for a release area: 1. Create the initial release area as described in Using the Setup Wizard to create a release area and site defaults file on page 10. Set up this area with the site-specific parameters needed by the first group of users. 2. Open the site defaults file created in Step 1 (sitedefs.dat, for instance) by clicking File > Open. The Site Preparation wizard displays the values set in sitedefs.dat. Keep the values that apply to both groups and change the values to meet the needs of the second group. 3. Click File > Save as to save a new site defaults file. You are prompted to enter a file name and folder for the new site defaults file. v If you started the site preparation on the command line and specified a file-name argument for the site defaults file (for example, sitedefs.dat) the Folder and File name fields include this information. You can save the modified site defaults files with a new file name, for example sitedefs_roseclient.dat. v If no file name was specified, the File name field is blank. Type a file name that does not currently exist in the release area. If you enter the name of an existing site defaults file, a warning message opens. You can overwrite the existing file or specify a different file name to create a new site defaults file. You can create additional site defaults files in this way.
13
14
By default, the installation log file is in the TEMP directory. The location of the directory is set in the TEMP environment variable on the computer. To find the location, open a command window and type echo %TEMP% at the prompt. This folder and file may be hidden. To display them in Windows Explorer, select Show Hidden Files and Folders when searching for the file. The installation log is not cumulative. The log file is overwritten when you perform another installation or when you repair or modify an existing installation. If you need to save the log, either copy it to a different location or rename it before you install another product.
15
16
17
18
19
v In Windows Explorer, expand the mapped drive and run the shortcut specified by your administrator, for example, sitedefs_roseclient.lnk or sitedefs_roseclient. For more information about the Setup wizard, see Running the IBM Rational LaunchPad and Setup wizard.
20
2. From the LaunchPad page, you can access additional information about the product or proceed with the installation. 3. On the Deployment Method page, select Desktop installation from CD image. 4. The Upgrade Warning is displayed if you have previous versions of Rational products on your computer. If you continue with the installation, these products are uninstalled. 5. The License Agreement page displays the IBM Rational software license agreement. You must agree to the agreement before continuing with the installation. To accept the agreement, click Agree; to exit from the installation, click Decline. 6. The Destination Folder page displays the default destination folder for the installation. To select a different destination folder for the installation, click Change. You cannot modify this selection if you have installed other Rational products from this release on this computer. 7. If you are installing from a release area, the Site Default Configuration page opens. To accept the site default values configured by your administrator, click Use the standard configuration. Use the custom installation option if your administrator recommends it. 8. If you are using the custom configuration option, the Custom Setup page is displayed. 9. Click Install. 10. A Restart Windows page opens if the Setup wizard needs to restart your computer. The second part of the installation process begins after you log on again. 11. After the Setup Complete page opens, review the information related to new features and known issues in the readme file. In addition, you can view the IBM developerWorks Web pages. To complete the installation, click Finish.
Interrupting an installation
If you close the Setup wizard while the installation is in progress, your computer might be in an unstable state, and you might need to restart it.
You are attempting to install on a For a complete list of supported versions, see the system that has an version of Microsoft release notes. Office that is not compatible with SiteCheck. You are attempting to install on an unsupported version of WebSphere Studio. Use a supported version. For the complete list of supported operating systems, see the release notes.
Chapter 4. Installing Rational Rose
21
Table 3. Warnings and blocks (continued) Warning or block MDAC and ODBC. Solution If the correct MDAC and ODBC drivers are not installed on your computer, the Setup wizard installs version 2.7 of the Microsoft Data Access Components (MDAC) and Open Database Connectivity (ODBC) drivers. For more information, read Microsoft Knowledge Base Article 216149.
22
2. Click Start > Run and enter the following commands where local-drive is the mapped drive or the path to setup.exe and filename is the name of the site defaults file: local-drive: \setup.exe /g C:\filename.dat The product specified in the site defaults file is installed from the source directory to the installation directory. The default installation directory is C:\Program Files\Rational\Rational-products. If necessary, your computer restarts. You must then log on manually; The installer restarts and finishes. When the installation finishes, you do not see a message to indicate that the installation is complete. If your administrator did not specify the license server in the site defaults file, you might have to configure licensing manually after the Setup wizard finishes. If the Setup wizard detects insufficient disk space on the desktop, the wizard will cancel the installation and note the error in the Rational_install.log file in your TEMP directory. The location of the directory depends on the environment variable set on the computer. To find the location, open a command window and type echo %TEMP% at the prompt. There is no command to cancel a silent installation.
Synopsis
setup [/g silent_install] path-to-sitedefs.dat [/lv logfilename] [/d default_language]
Description
The setup command starts the Rational Setup Wizard, which installs the product on your computer. When running the setup command, you must specify the location of the filesitedefs.dat. For more information about installing from a release area and using sitedefs.dat, see Installing from a release area on page 20. The command also has the options to run a silent installation, create a detailed log file, and install the product in the default language of your operating system.
/lv /d
Example
Runs a silent installation, creates a log file, and installs the product in the default language of the operation system.
setup /g \rational_release\rose_sitedefs.dat /lv C:\temp\rose_install_log.txt /d
23
24
Table 4. Requesting and installing IBM Rational license keys (continued) Type of license key Where to request license key How to install Configure your desktop to point to the Rational License Server by using the License Key Administrator (LKAD) wizard. Your administrator must install and set up the license server first. (For instructions, see the IBM Rational License Management Guide.) If your administrator has set up a release area, you might not have to specify the license server in the LKAD wizard. Evaluation node-locked Your sales representative Import the node-locked key on your desktop with the License Key Administrator (LKAD) wizard.
25
26
27
28
Appendix. Notices
This information was developed for products and services offered in various countries throughout the world. IBM may not offer the products, services, or features discussed in this document in every country. 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 users 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. IBM may use or distribute any of the information you supply in any way it believes appropriate without incurring any obligation to you.
29
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: IBM Corporation Department BCFB 20 Maguire Road Lexington, MA 02421 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 document 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. Any performance data contained herein was determined in a controlled environment. Therefore, the results obtained in other operating environments may vary significantly. Some measurements may have been made on development-level systems and there is no guarantee that these measurements will be the same on generally available systems. Furthermore, some measurement may have been estimated through extrapolation. Actual results may vary. Users of this document should verify the applicable data for their specific environment. 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. USE OF SAMPLES CONTAINED IN THIS INFORMATION: This information may contain sample application programs in source language, which illustrates programming techniques on various operating platforms. Each copy or any portion of these sample programs or any derivative work, must include a copyright notice as follows: (c) (your company name) (year). Portions of this code are derived from IBM Corp. Sample Programs. (c) Copyright IBM Corp. _enter the year or years_. All rights reserved. ADDITIONAL NOTICES: Additional legal notices may be included with the license agreement accompanying the licensed program described in this document. TRADEMARKS: AIX, ClearCase, ClearCase Attache, ClearCase MultiSite, ClearDDTS, ClearGuide, ClearQuest, DB2, DB2 Universal Database, DDTS, Domino, IBM, Lotus Notes, MVS, Notes, OS/390, Passport Advantage, ProjectConsole Purify, Rational, Rational Rose, Rational Suite, Rational Unified Process,
30
RequisitePro, RUP, S/390, SoDA, SP1, SP2, Team Unifying Platform, WebSphere, XDE, and z/OS are trademarks of International Business Machines Corporation in the United States, other countries, or both. Java and all Java-based trademarks and logos are trademarks of Sun Microsystems, Inc. in the United States, other countries, or both. Microsoft, Windows, Windows NT, and the Windows logo are trademarks of Microsoft Corporation in the United States, other countries, or both. UNIX is a registered trademark of The Open Group in the United States and other countries. Linux is a trademark of Linus Torvalds in the United States, other countries, or both. Other company, product or service names may be trademarks or service marks of others.
Appendix. Notices
31
32
Index A
administrator privileges Windows 7
P
privileges requirements for Windows 7
V
version upgrades 4 virus protection software 19
C
CDs installing from 20 client software installing on Windows command syntax MSIEXEC.exe 24 setup.exe 23 customer support vii 19
R
Rational Common Licensing configuring 7 management tools for 7 setup tasks 4 Rational Setup wizard before running, requirements 19 default installation path 19 stopping services 19 Rational Suite changes to license keys 17 different versions of, and installation requirements 17 Rational_install log about 14 registry backup copy 19 release areas about 10 creating with Setup wizard 10 fix packs for 12 installing from 20 removing products silent installation 22
W
Web downloads installing from 20
D
deployment methods about 5 compared 9 configuring 9 disk space temporary 19
F
fix packs applying to release area 12 FLEXlm licensing mechanism 4
S
Setup wizard blocks and warnings 21 interrupting 21 setup.exe command syntax 23 silent installations about 22 how to run 22 setting up 13 testing 14 site defaults files changes to, and Rational Suite 17 creating 10 creating multiple 13 creating with Setup wizard 10 silent installation, using in 22 system directories backup copies 19
I
installation path default 19
L
License Key Administrator about 24 license keys changes to search order how to obtain 8 tools for and 24 license servers specifying 12 log files Rational_install 14 17
M
Microsoft Core Components installing 19 MSIEXEC.exe 24
U
upgrading products different versions 4 heterogeneous verisons 4 requirements to uninstall 17
33
34
Printed in USA
GI11-6296-00