範例回應檔 |
---|
<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">。 如果您要安裝的安裝套件有必須接受的授權合約,無聲自動安裝失敗會失敗。