Sample response file |
---|
<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> |
You can also define attributes for the response file: clean mode and license agreement acceptance.
<agent-input clean="true">
You can apply the temporary attribute alone or with the clean attribute. By default, the temporary attribute is set to true and the preference settings are not persisted. When you set the temporary attribute to false, the preferences settings from the current session will be persisted.
If you set clean to true and set temporary to false, after running the silent install the repository setting specified in the response file will override the ones in the previous sessions using Installation Manager.
<agent-input clean="true" temporary="false"> </agent-input>
By default, you agree to accept whatever license an installation package carries when using Installation Manager in silent installation mode. If you do not want to accept the license agreement, you can use an additional attribute in the <agent-input> element that automatically fails the silent installation operation, <agent-input acceptLicense="false">. If the installation package you are installing has a license agreement that must be accepted, the silent installation operation will fail.