無聲自動安裝 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 Manager 或 Installation 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>

讀者意見