以静默方式安装 Installation Manager

使用 Installation Manager 安装程序来以静默方式安装 Installation Manager。

关于此任务

使用 Installation Manager 安装程序来安装 Installation Manager。可以通过管理员或非管理员方式来安装 Installation Manager。请遵循下面的示例来安装 Installation Manager。

过程

  1. 对 Installation Manager 安装程序进行解压缩。以下网址提供了 Installation Manager 套件:http://download.boulder.ibm.com/ibmdl/pub/software/rationalsdp/v7/im/。选择要安装的版本号(例如 130/),然后选择 zips 目录。
  2. 切换至 InstallerImage_platform 子目录。
  3. 输入下列其中一个命令:
    • 以管理员身份在 Windows® 上进行安装:installc –-launcher.ini silent-install.ini -log <记录文件与路径名> 例如:installc --launcher.ini silent-install.ini -log c:\mylogfile.xml
    • 以非管理员身份在 Windows 上进行安装:userinstc –-launcher.ini user-silent-install.ini -log <记录文件与路径名> 例如:userinstc --launcher.ini user-silent-install.ini -log c:\mylogfile.xml

结果

在以静默方式安装 Installation Manager 之后,可使用 Installation Manager 或 Installation Manager 安装程序来以静默方式安装软件包。

更改缺省安装位置

可以通过修改 install.xml 响应文件来更改用于安装 Installation Manager 的缺省位置。

关于此任务

Installation Manager 安装程序使用缺省响应文件来执行安装。可修改该文件以更改缺省安装位置。

过程

  1. 转至 InstallerImage_platform 目录
  2. 找到响应文件 install.xml
  3. 通过添加概要信息并使用 data keyvalue 属性来指定安装位置以修改用于安装 Installation Manager 的位置。 安装位置必须是名为 eclipse 的目录。

示例

已对缺省 install.xml 响应文件进行更改,以将安装位置切换至 C:\IBM\InstallationManager。
<?xml version="1.0" encoding="UTF-8"?>
<agent-input clean='true' temporary='true'>

<!-- add a profile and specify the installation location using the data value attribute. The location must end in \eclipse -->
<profile kind='self' installLocation='C:\IBM\InstallationManager\eclipse' id='IBM Installation Manager'>
<data key='eclipseLocation' value='C:\IBM\InstallationManager\eclipse'/>
</profile>

<server>
<repository location='.'/>
</server>

<!-- add the profile information but do not modify the features, id, and version number -->
<install>
<offering profile='IBM Installation Manager' features='agent_core,agent_jre' id='com.ibm.cic.agent' version='1.2.0.20080624_0100'/>
</install>
</agent-input>

反馈