样本响应文件 |
---|
<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">
缺省情况下,在使用 Installation Manager 静默安装方式安装时,您可以同意接受安装软件包所附带的任何许可证。 如果您不想接受许可协议,则可以使用 <agent-input> 元素中的一个附加属性以自动使静默安装操作失败:<agent-input acceptLicense='false">。如果您要安装的安装软件包具有必须接受的许可协议,则静默安装操作将失败。