可以使用 Installation Manager 来通过响应文件卸载 Web 2.0 and Mobile Toolkit。
过程
- 记录响应文件以卸载 Web 2.0 and Mobile Toolkit。
在某个系统上,执行以下操作以记录将卸载 Web 2.0 and Mobile Toolkit 的响应文件:
- 在命令行中,切换到 Installation Manager 安装目录中的 eclipse 子目录。
- 使用 -record 选项从命令行启动 Installation Manager。
提示: 如果选择将 -skipInstall 参数与如
开始之前中所述创建的临时安装注册表结合使用,那么 Installation Manager 将在记录响应文件时使用该临时安装注册表。需要注意的是,指定 -skipInstall 参数时,不会安装或卸载任何产品软件包。您在 Installation Manager 中执行的所有操作只是对指定临时注册表中存储的安装数据进行更新。生成响应文件之后,可以使用该文件来卸载 Web 2.0 and Mobile Toolkit,同时除去产品文件和更新标准安装注册表。
不应将 -skipInstall 操作用于 Installation Manager 所使用的实际代理程序数据位置。此做法不受支持。请使用全新的可写位置,并为将来的记录会话重复使用该位置。
有关更多信息,请阅读 IBM Installation Manager 信息中心。
- 单击卸载。
- 在卸载软件包窗口中,执行以下操作。
- 选择 IBM WebSphere Application Server Web 2.0 and Mobile Toolkit 和相应的版本。
- 单击下一步。
- 查看摘要信息。
- 单击卸载。
- 单击完成。
- 单击文件 > 退出以关闭 Installation Manager。
- 使用响应文件来卸载 Web 2.0 and Mobile Toolkit。
有关更多信息,请访问 IBM Installation Manager 信息中心。
示例
以下是用于卸载 Web 2.0 and Mobile Toolkit 的响应文件的示例。
<?xml version="1.0" encoding="UTF-8"?>
<agent-input clean='true' temporary='true'>
<uninstall modify='false'>
<offering id='com.ibm.websphere.W2MTK.v11'
profile='Web 2.0 and Mobile Toolkit V1.1'/>
</uninstall>
<profile id='Web 2.0 and Mobile Toolkit V1.1'
installLocation='C:\Program Files\IBM\WebSphere\Web20Mobile'>
<data key='eclipseLocation' value='C:\Program Files\IBM\WebSphere\Web20Mobile'/>
<data key='cic.selector.nl' value='cs,de,en,es,fr,hu,it,ja,ko,pl,pt_BR,ro,ru,zh,zh_HK,zh_TW'/>
</profile>
</agent-input>