執行無聲自動安裝
建立回應檔之後,執行無聲自動安裝。
開始之前
程序
- 移至要用來安裝 Rational 產品的本端電腦。
- 裝載目錄,或將共用磁碟機從共用網路磁碟機對映到本端電腦。回應檔的磁碟機代號必須符合裝載的目錄或共用磁碟機。如果不符,請編輯回應檔以變更磁碟機代號。
下列範例顯示回應檔中的儲存庫位置:
Windows 系統
Linux 或 UNIX 系統<server> <repository location='g:\installation_files\Rational_Product'/> </server>
<server> <repository location='/installation_files/Rational_Product'/> </server>
- 在本端電腦上,導覽至共用磁碟機上含有解壓縮安裝檔的 Installation Manager 目錄。 在 Windows 上,此位置是 install_files\InstallationManager。在 Linux 或 UNIX 系統上,此位置是 /install_files/InstallationManager。例如:Windows 系統
其中 g:\ 會從網路共用磁碟機指向共用磁碟機。g:\installation_files\EnterpriseCD-platform\InstallationManager
Linux 或 UNIX 系統/installation_files/InstallationManager
- 執行無聲自動安裝指令來安裝 Rational 產品。您必須具有管理者專用權。使用您錄製的回應檔作為 -input 選項的值。
若為 Windows,此指令的格式為 installc.exe --launcher.ini silent-install.ini -input<responseFile>。若為 Linux 或 UNIX,此指令的格式為 install --launcher.ini silent-install.ini -input <responseFile>
註: 在 Windows 上,請使用 installc.exe(而不是使用 install.exe)來執行無聲自動安裝。只有在不是無聲自動的安裝作業中,或在錄製回應檔時,才使用 install.exe。以下是一些範例:
Windows 系統g:\installation_files\EnterpriseCD-platform\InstallationManager\installc.exe --launcher.ini silent-install.ini -input g:\installation_files\response_files\install_clearcase80.xml
Linux 或 UNIX 系統./installation_files/EnterpriseCD-platform/InstallationManager/install --launcher.ini silent-install.ini -input root/installation_files/response_files/install_clearcase80.xml
意見