在 Windows 和 Linux 上,可以使用安装向导以静默方式安装 IBM® Integration Bus Healthcare Pack。
请完成下列步骤以创建响应文件,并以静默方式运行安装向导:
installer -r C:\Temp\healthcare-response.properties
其中
installer 是安装程序的名称。此命令将正常启动安装向导,但它还会记录您的所有回答并将其保存在指定的文件中。然后,可将此响应文件与静默安装程序配合使用以完成
IBM Integration
Bus Healthcare Pack 的后续安装。# Fri Jan 24 11:40:53 GMT 2014
# Replay feature output
# ---------------------
# This file was built by the Replay feature of InstallAnywhere.
# It contains variables that were set by Panels, Consoles or Custom Code.
#Indicate whether the license agreement been accepted
#----------------------------------------------------
LICENSE_ACCEPTED=TRUE
#Choose the setup type
#---------------------
SETUP_TYPE=\"Typical\",\"\"
SETUP_TYPE_1=Typical
SETUP_TYPE_2=
SETUP_TYPE_BOOLEAN_1=1
SETUP_TYPE_BOOLEAN_2=0
#Choose the IBM Integration Toolkit to extend
#--------------------------------------------
TOOLKIT_PATH_CONSOLE_1=C:\\Program Files (x86)\\IBM\\toolkit folder
#Choose the installation directory
#---------------------------------
USER_INSTALL_DIR=C:\\Program Files (x86)\\IBM\\HealthcarePack\\3.0.0.0
其中
toolkit folder 是用于保存 IBM Integration
Toolkit 副本的文件夹的名称。# Fri Jan 24 11:40:53 GMT 2014
# Replay feature output
# ---------------------
# This file was built by the Replay feature of InstallAnywhere.
# It contains variables that were set by Panels, Consoles or Custom Code.
#Indicate whether the license agreement been accepted
#----------------------------------------------------
LICENSE_ACCEPTED=TRUE
#Choose the setup type
#---------------------
SETUP_TYPE=\"Typical\",\"\"
SETUP_TYPE_1=Typical
SETUP_TYPE_2=
SETUP_TYPE_BOOLEAN_1=1
SETUP_TYPE_BOOLEAN_2=0
#Choose the IBM Integration Toolkit to extend
#--------------------------------------------
TOOLKIT_PATH_CONSOLE_1=/opt/IBM/toolkit folder
#Choose the installation directory
#---------------------------------
USER_INSTALL_DIR=/opt/IBM/HealthcarePack/3.0.0.0
其中
toolkit folder 是用于保存 IBM Integration
Toolkit 副本的文件夹的名称。installer -i silent -f filename
其中 installer 是安装程序的名称,而
filename 是响应文件的绝对路径,例如,在
Windows 上,此路径为
C:\Temp\healthcare-response.properties。
如果从命令控制台直接运行静默安装命令,那么安装向导将以后台任务方式完成安装。要了解安装进度,请查看安装日志。请转到 installationLocation/HealthcarePack_install.log,其中 installationLocation 是 IBM Integration Bus Healthcare Pack 的安装位置。