在响应文件中定义首选项时,XML 代码看起来类似如下示例:
<preference> name = “the key of the preference” value = “the value of the preference to be set” </preferences>使用下表来标识静默安装首选项的键及其关联值:
键 | 值 | 注: |
---|---|---|
com.ibm.cic.common.core.preferences.installDataLocation | 指定 Installation Manager 数据的安装位置。 | 要点: 此键为可选,设计为在测试和调试中使用。如果没有为 Installation Manager 指定安装位置,则 Installation Manager 的静默安装和 UI 版本将使用相同的位置。
|
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 | True 或 False | 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 | True 或 False | 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 | True 或 False | 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 | 公共组件目录 |