以静默方式安装 Installation Manager

使用 Installation Manager 安装程序静默安装 Installation Manager

关于此任务

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

过程

  1. http://www.ibm.com/support/entry/portal/All_download_links/Software/Rational/IBM_Installation_Manager 下载 Installation Manger 的最新版本。
  2. Installation Manager 安装程序进行解压缩。
  3. 切换至 InstallerImage_platform 子目录。
  4. 输入下列其中一个命令:
    • 要以管理员身份在 Windows 上进行安装:installc.exe -log log_file_path_and_name -acceptLicense。 例如:installc.exe -log c:\mylogfile.xml -acceptLicense
    • 要以非管理员身份在 Windows 上进行安装:userinstc.exe -log log_file_path_and_name -acceptLicense。 例如:userinstc.exe -log c:\mylogfile.xml -acceptLicense
    • 在其他平台上以管理员身份:installc -log log_file_path_and_name -acceptLicense。 例如: installc -log /root/mylogs/mylogfile.xml -acceptLicense
    • 在其他平台上以非管理员身份:userinstc -log log_file_path_and_name -acceptLicense。 例如:userinstc -log /root/mylogs/mylogfile.xml -acceptLicense

结果

在静默安装 Installation Manager 之后,可使用 Installation ManagerInstallation Manager 安装程序静默安装产品程序包。

更改缺省安装位置

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

关于此任务

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>

反馈