静默安装首选项命令

通常,在使用“首选项”窗口指定首选项时,还可以在响应文件中指定静默安装期间所使用的首选项(标注为键)。
注: 可以在响应文件中指定多个首选项。

在响应文件中定义首选项时,XML 代码看起来类似如下示例:

	     <preference>
	name = “the key of the preference”
	value = “the value of the preference to be set” 
</preference>
使用下表来标识静默安装首选项的键及其关联值:
com.ibm.cic.common.core.preferences.logLocation 指定 Installation Manager 日志文件的位置。
要点: 此键为可选,设计用于测试和调试。如果没有为日志文件指定位置,那么 Installation Manager 的静默安装和 UI 版本将使用相同的位置。
com.ibm.cic.license.policy.location 指定一个 URL 以定义远程许可证策略文件所在的位置。  
com.ibm.cic.common.core.preferences. http.proxyEnabled TrueFalse False 为缺省值。
com.ibm.cic.common.core.preferences. http.proxyHost 主机名或 IP 地址
com.ibm.cic.common.core.preferences. http.proxyPort 端口号
com.ibm.cic.common.core.preferences. http.proxyUseSocks TrueFalse False 为缺省值。
com.ibm.cic.common.core.preferences. SOCKS.proxyHost 主机名或 IP 地址  
com.ibm.cic.common.core.preferences. SOCKS.proxyPort 端口号
com.ibm.cic.common.core.preferences. ftp.proxyEnabled TrueFalse False 为缺省值。
com.ibm.cic.common.core.preferences. ftp.proxyHost 主机名或 IP 地址  
com.ibm.cic.common.core.preferences. ftp.proxyPort 端口号  
com.ibm.cic.common.core.preferences.eclipseCache c:\IBM\common(Windows®
/opt/IBM/common(Linux®
注: 上面的路径是此首选项的缺省值;通常,安装软件包会对此首选项提供自己的值。
如果已经安装了软件包,那么不能更改此位置。
com.ibm.cic.agent.core.pref.offering.service. repositories.areUsed TrueFalse 将此首选项更改为“False”以将它禁用。如果为“True”,那么当安装或更新产品时,将搜索所有链接的存储库。
com.ibm.cic.common.core.preferences. preserveDownloadedArtifacts TrueFalse 将此首选项更改为“False”以将它禁用。如果为 true,那么将软件包回滚至先前版本所需的文件存储在系统上。如果为 false,那么不会存储这些文件。如果不存储这些文件,您必须连接至原存储库或介质才能进行回滚。

反馈