样本响应文件 |
---|
<agent-input > <!-- add preferences --> <preference name="com.ibm.cic.common.core.preferences. http.proxyEnabled" value="c:/temp"/> <!-- create the profile if it doesn't exist yet --> <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> |
还可以定义响应文件的属性:清理方式和许可协议验收。
<agent-input clean="true">
可以单独应用 temporary 属性,也可以与 clean 属性一起应用。缺省情况下,temporary 属性设置为 true,这样将不保留首选项设置。如果将 temporary 属性设置为 false,那么将保留当前会话的首选项设置。
如果将 clean 设置为 true,并将 temporary 设置为 false,那么在运行静默安装后,在响应文件中指定的存储库设置将覆盖先前使用 Installation Manager 时的会话中的设置。
<agent-input clean="true" temporary="false"> </agent-input>
缺省情况下,在使用 Installation Manager 静默安装方式安装时,您可以同意接受安装软件包所附带的任何许可证。如果您不想接受该许可协议,可以在 <agent-input> 元素中指定另一个属性(即指定 <agent-input acceptLicense="false">)以使静默安装操作自动失败。如果您要安装的安装软件包具有必须接受的许可协议,那么静默安装操作将失败。