可以使用基于 XML 的响应文件来指定预定义的信息,例如,静默安装首选项、存储库位置和安装概要文件等。如果小组和公司想要以静默方式对安装软件包进行安装,并想要对安装软件包的位置和首选项进行标准化,那么响应文件非常实用。
| 样本响应文件 |
<agent-input >
<!-- 添加首选项 -->
<preference name="com.ibm.cic.common.core.preferences.http.proxyEnabled"
value="c:/temp"/>
<!-- 概要文件尚不存在时创建此概要文件 -->
<profile id="my_profile" installLocation="c:/temp/my_profile"></profile>
<server>
<repository location=
"http://a.site.com/local/products/sample/20060615_1542/repository/"></repository>
</server>
<install>
<offering profile= "my_profile" features= "core" id= "ies"
version= "3.2.0.20060615">
</offering>
</install>
</agent-input>
|