以静默方式安装 IBM Rational Publishing Engine 客户机以供设计使用

可以使用 IBM® Installation Manager 的静默安装功能,以无人照管的方式,为组织中的用户安装 IBM Rational® Publishing Engine 客户机。可以创建包含安装过程中需要的命令和输入的响应文件,也可以从命令行实用程序单独输入命令和其他内容。

关于此任务

有关使用 Installation Manager 进行安装的更多信息,请参阅 Installation Manager 信息中心

使用响应文件进行安装

通过创建响应文件,您可以保存一个列表,内含要安装的功能部件及要应用到每个功能部件的首选项。然后,可以运行命令以使用响应文件中存储的信息,在需要安装该软件的任意数目的计算机上进行安装。

开始之前

创建响应文件,该文件是您在其中以下列格式定义首选项的 XML 文档:
<preference
	name="the key of the preference"
	value="the value of the preference to be set">
</preference>
根据要安装的功能部件及其他参数,您可以为不同的安装创建不同的响应文件。

请参阅使用 Installation Manager来记录响应文件

过程

要使用响应文件进行安装,请执行下列操作:

  1. 打开命令行实用程序。
  2. 浏览至 Installation Manager 应用程序文件的 tools
  3. 运行安装命令:
    imcl input response_file_path_and_name 
    	[ encryptString stringToEncrypt ]
    	[ -keyring keyring_file -password password ]
    	[ -log log_file_path_and_name ] 
    	[ -acceptLicense ]

从命令行安装

可以从命令行安装软件包,而无需创建响应文件来进行安装。

过程

要通过命令行安装,请执行下列操作:

  1. 打开命令行实用程序。
  2. 浏览至 Installation Manager 应用程序文件的 tools
  3. 运行安装命令:
    imcl install packageID[_version][,featureID] 
    	-repositories source_repository 
    	-acceptLicense 
    	-installationDirectory installation_directory 
    	[ encryptString stringToEncrypt ]
    	[ -eclipselocation eclipse_directory ]
    	[ -installFixes none|recommended|all ] 
    	[ -keyring keyring_file -password password ]
    	[ -sharedResourcesDirectory shared_directory ] 
    	[ -preferences preference_key=value ] 
    	[ -properties user.RCL_PortAtHost=license_key_value,
    		user.rpe_remoteWebServicesLocation=web_services_URL,
    		key_3=value_3a,,value_3b,key_4=value_4 ] 
    注: 如果在安装期间已输入 Web Service 应用程序 URL,那么无法从远程服务首选项编辑该 URL。

反馈