静默安装首选项命令

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

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

	     <preference>
	name = “the key of the preference”
	value = “the value of the preference to be set”
</preferences>
使用下表来标识静默安装首选项的键及其关联值:
注:
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®
注: 上述路径是此首选项的缺省值;通常,安装软件包都会为此首选项提供它们自己的值。
如果已安装了软件包,则不能更改此位置。

反馈