- Here is a response file that adds the sample applications feature
to an existing product that is installed in the /QIBM/ProdData/WebSphere/AppServer/V8/EXPRESS directory:
<?xml version="1.0" encoding="UTF-8"?>
<agent-input>
<server>
<repository location='https://www.ibm.com/software/repositorymanager/com.ibm.websphere.EXPRESS.v80'/>
</server>
<profile id='IBM WebSphere Application Server - Express V8.0' installLocation='/QIBM/ProdData/WebSphere/AppServer/V8/EXPRESS'>
<data key='eclipseLocation' value='/QIBM/ProdData/WebSphere/AppServer/V8/EXPRESS'/>
<data key='was.install.os400.profile.location' value='/QIBM/UserData/WebSphere/AppServer/V8/EXPRESS'/>
<data key='user.import.profile' value='false'/>
<data key='cic.selector.nl' value='en, fr, it, zh, ro, ru, zh_TW, de, ja, pl, es, cs, hu, ko, pt_BR'/>
</profile>
<install modify='true'>
<offering profile='IBM WebSphere Application Server - Express V8.0' features='samples' id='com.ibm.websphere.express.v80'/>
</install>
<preference name='com.ibm.cic.common.core.preferences.eclipseCache' value='/QIBM/UserData/InstallationManager/IMShared'/>
<preference name='com.ibm.cic.common.core.preferences.connectTimeout' value='30'/>
<preference name='com.ibm.cic.common.core.preferences.readTimeout' value='30'/>
<preference name='com.ibm.cic.common.core.preferences.downloadAutoRetryCount' value='0'/>
<preference name='offering.service.repositories.areUsed' value='true'/>
<preference name='com.ibm.cic.common.core.preferences.ssl.nonsecureMode' value='false'/>
<preference name='com.ibm.cic.common.core.preferences.http.disablePreemptiveAuthentication' value='false'/>
<preference name='http.ntlm.auth.kind' value='NTLM'/>
<preference name='http.ntlm.auth.enableIntegrated.win32' value='true'/>
<preference name='com.ibm.cic.common.core.preferences.preserveDownloadedArtifacts' value='true'/>
<preference name='com.ibm.cic.common.core.preferences.keepFetchedFiles' value='false'/>
<preference name='PassportAdvantageIsEnabled' value='false'/>
<preference name='com.ibm.cic.common.core.preferences.searchForUpdates' value='false'/>
</agent-input>
- To alter this response file to remove a feature, simply change
the install tags to uninstall. Here
is the same response file modified to remove the standalone thin clients
and resource adapters feature:
<?xml version="1.0" encoding="UTF-8"?>
<agent-input>
<server>
<repository location='https://www.ibm.com/software/repositorymanager/com.ibm.websphere.EXPRESS.v80'/>
</server>
<profile id='IBM WebSphere Application Server - Express V8.0' installLocation='/QIBM/ProdData/WebSphere/AppServer/V8/EXPRESS'>
<data key='eclipseLocation' value='/QIBM/ProdData/WebSphere/AppServer/V8/EXPRESS'/>
<data key='was.install.os400.profile.location' value='/QIBM/UserData/WebSphere/AppServer/V8/EXPRESS'/>
<data key='user.import.profile' value='false'/>
<data key='cic.selector.nl' value='en, fr, it, zh, ro, ru, zh_TW, de, ja, pl, es, cs, hu, ko, pt_BR'/>
</profile>
<uninstall modify='true'>
<offering profile='IBM WebSphere Application Server - Express V8.0' features='thinclient' id='com.ibm.websphere.express.v80'/>
</uninstall>
<preference name='com.ibm.cic.common.core.preferences.eclipseCache' value='/QIBM/UserData/InstallationManager/IMShared'/>
<preference name='com.ibm.cic.common.core.preferences.connectTimeout' value='30'/>
<preference name='com.ibm.cic.common.core.preferences.readTimeout' value='30'/>
<preference name='com.ibm.cic.common.core.preferences.downloadAutoRetryCount' value='0'/>
<preference name='offering.service.repositories.areUsed' value='true'/>
<preference name='com.ibm.cic.common.core.preferences.ssl.nonsecureMode' value='false'/>
<preference name='com.ibm.cic.common.core.preferences.http.disablePreemptiveAuthentication' value='false'/>
<preference name='http.ntlm.auth.kind' value='NTLM'/>
<preference name='http.ntlm.auth.enableIntegrated.win32' value='true'/>
<preference name='com.ibm.cic.common.core.preferences.preserveDownloadedArtifacts' value='true'/>
<preference name='com.ibm.cic.common.core.preferences.keepFetchedFiles' value='false'/>
<preference name='PassportAdvantageIsEnabled' value='false'/>
<preference name='com.ibm.cic.common.core.preferences.searchForUpdates' value='false'/>
</agent-input>
- To combine adding and removing features using a single response
file, add both an install action and an uninstall action. Here is
the same response file combining the previous two examples, installing
the sample applications while removing the standalone thin clients
and resource adapters feature:
<?xml version="1.0" encoding="UTF-8"?>
<agent-input>
<server>
<repository location='https://www.ibm.com/software/repositorymanager/com.ibm.websphere.EXPRESS.v80'/>
</server>
<profile id='IBM WebSphere Application Server - Express V8.0' installLocation='/QIBM/ProdData/WebSphere/AppServer/V8/EXPRESS'>
<data key='eclipseLocation' value='/QIBM/ProdData/WebSphere/AppServer/V8/EXPRESS'/>
<data key='was.install.os400.profile.location' value='/QIBM/UserData/WebSphere/AppServer/V8/EXPRESS'/>
<data key='user.import.profile' value='false'/>
<data key='cic.selector.nl' value='en, fr, it, zh, ro, ru, zh_TW, de, ja, pl, es, cs, hu, ko, pt_BR'/>
</profile>
<install modify='true'>
<offering profile='IBM WebSphere Application Server - Express V8.0' features='samples' id='com.ibm.websphere.express.v80'/>
</install>
<uninstall modify='true'>
<offering profile='IBM WebSphere Application Server - Express V8.0' features='thinclient' id='com.ibm.websphere.express.v80'/>
</uninstall>
<preference name='com.ibm.cic.common.core.preferences.eclipseCache' value='/QIBM/UserData/InstallationManager/IMShared'/>
<preference name='com.ibm.cic.common.core.preferences.connectTimeout' value='30'/>
<preference name='com.ibm.cic.common.core.preferences.readTimeout' value='30'/>
<preference name='com.ibm.cic.common.core.preferences.downloadAutoRetryCount' value='0'/>
<preference name='offering.service.repositories.areUsed' value='true'/>
<preference name='com.ibm.cic.common.core.preferences.ssl.nonsecureMode' value='false'/>
<preference name='com.ibm.cic.common.core.preferences.http.disablePreemptiveAuthentication' value='false'/>
<preference name='http.ntlm.auth.kind' value='NTLM'/>
<preference name='http.ntlm.auth.enableIntegrated.win32' value='true'/>
<preference name='com.ibm.cic.common.core.preferences.preserveDownloadedArtifacts' value='true'/>
<preference name='com.ibm.cic.common.core.preferences.keepFetchedFiles' value='false'/>
<preference name='PassportAdvantageIsEnabled' value='false'/>
<preference name='com.ibm.cic.common.core.preferences.searchForUpdates' value='false'/>
</agent-input>