利用 Installation Manager 來已建立更新回應檔

在您利用 Installation Manager 來安裝產品套件時,將動作記錄下來,以建立一個回應檔。

當您錄製回應檔時,您在 Installation Manager 使用者介面中所做的所有選擇,都會儲存在 XML 檔中。

如果要建立更新安裝的回應檔:

  1. 執行 Installation Manager。在「喜好設定」中,將更新安裝的產品儲存庫 URL 新增到 IM 儲存庫清單中,確定已選取它。
  2. 結束 Installation Manager。
  3. 在指令行中,切換至其中安裝 Installation Manager 之目錄中的 eclipse 子目錄。例如:
    Windows C:\Program Files\IBM\Installation Manager\eclipse
    UNIX/Linux /opt/IBM/InstallationManager/eclipse
  4. 開始記錄安裝,但並不實際安裝產品。

    輸入完整路徑,其中包含 response_file 和 log_file 的檔名。請確定您輸入的檔案路徑存在。Installation Manager 不會建立回應檔和日誌檔的目錄。agentDataLocation 必須是可寫入的目錄。

    IBMIM -record response_file -log log_file -skipInstall agentDataLocation
  5. Installation Manager 隨即啟動。在 Installation Manager 中,按一下更新,然後回應提示。
  6. Installation Manager 完成時,按一下完成
  7. 結束 Installation Manager。

如此即會建立 XML 回應檔,並位於指令中指定的位置。


意見