使用响应文件从分布式操作系统卸载 Web 2.0 and Mobile Toolkit

可以使用 Installation Manager 来通过响应文件卸载 Web 2.0 and Mobile Toolkit。

开始之前

可选: 执行 Installation Manager 及其所导入或安装产品的安装,或将该安装记录到某个系统上的临时安装注册表中,以便可以使用此临时注册表来记录卸载,而无需使用安装 Installation Manager 的标准注册表。

过程

  1. 记录响应文件以卸载 Web 2.0 and Mobile Toolkit。

    在某个系统上,执行以下操作以记录将卸载 Web 2.0 and Mobile Toolkit 的响应文件:

    1. 在命令行中,切换到 Installation Manager 安装目录中的 eclipse 子目录。
    2. 使用 -record 选项从命令行启动 Installation Manager。
      例如:
      • [Windows] 管理员或非管理员:
        IBMIM.exe -skipInstall "C:\temp\imRegistry" 
          -record C:\temp\uninstall_response_file.xml
      • [AIX][HP-UX][Linux][Solaris] 管理员:
        ./IBMIM -skipInstall /var/temp/imRegistry 
          -record /var/temp/uninstall_response_file.xml
      • [AIX][HP-UX][Linux][Solaris] 非管理员:
        ./IBMIM -skipInstall user_home/var/temp/imRegistry 
          -record user_home/var/temp/uninstall_response_file.xml
      提示: 如果选择将 -skipInstall 参数与如开始之前中所述创建的临时安装注册表结合使用,那么 Installation Manager 将在记录响应文件时使用该临时安装注册表。需要注意的是,指定 -skipInstall 参数时,不会安装或卸载任何产品软件包。您在 Installation Manager 中执行的所有操作只是对指定临时注册表中存储的安装数据进行更新。生成响应文件之后,可以使用该文件来卸载 Web 2.0 and Mobile Toolkit,同时除去产品文件和更新标准安装注册表。

      不应将 -skipInstall 操作用于 Installation Manager 所使用的实际代理程序数据位置。此做法不受支持。请使用全新的可写位置,并为将来的记录会话重复使用该位置。

      有关更多信息,请阅读 IBM Installation Manager 信息中心

    3. 单击卸载
    4. 卸载软件包窗口中,执行以下操作。
      1. 选择 IBM WebSphere Application Server Web 2.0 and Mobile Toolkit 和相应的版本。
      2. 单击下一步
    5. 查看摘要信息。
    6. 单击卸载
    7. 单击完成
    8. 单击文件 > 退出以关闭 Installation Manager。
  2. 使用响应文件来卸载 Web 2.0 and Mobile Toolkit。
    在要从其卸载 Web 2.0 and Mobile Toolkit 的每个系统上的命令行中,切换到 Installation Manager 安装目录中的 eclipse/tools 子目录,然后使用您创建的响应文件来卸载 Web 2.0 and Mobile Toolkit。例如:
    • [Windows] 管理员或非管理员:
      imcl.exe 
        input C:\temp\uninstall_response_file.xml 
        -log C:\temp\uninstall_log.xml
    • [AIX][HP-UX][Linux][Solaris] 管理员:
      ./imcl
        input /var/temp/uninstall_response_file.xml 
        -log /var/temp/uninstall_log.xml
    • [AIX][HP-UX][Linux][Solaris] 非管理员:
      ./imcl
        input user_home/var/temp/uninstall_response_file.xml 
        -log user_home/var/temp/uninstall_log.xml

    有关更多信息,请访问 IBM Installation Manager 信息中心

[Windows]

示例

以下是用于卸载 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>
任务主题    

信息中心的条款和条件 | 反馈

最近更新日期: May 11, 2012 12:10 PM EDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=v850webmob&product=was-nd-mp&topic=tweb_ins_uninstall_silent
文件名: tweb_ins_uninstall_silent.html