macOS 设备中卸载 Bot Agent

如果您不再希望使用 Bot Agent 部署自动化,可以选择从 macOS 设备中卸载。

请选择以下一个选项,从您的 macOS 设备中卸载 Bot Agent
  • 从目录中完全卸载所有文件和文件夹
    注: 完全卸载会移除所有 Bot Agent 数据、缓存、日志、Control Room 用户注册详细信息等。 因此,当您不再希望将特定的 macOS 用作 Bot Agent 设备时,建议使用此方法移除 Bot Agent

    为了彻底从 macOS 设备中移除 Bot Agent,请确保从以下目录中删除所有文件夹和文件:

    名称 默认位置
    Bot Agent 安装文件夹 /Library/Application Support/AutomationAnywhere/BotAgent
    注册文件位置 /Library/Application Support/aai
    全局缓存文件夹位置 /Library/Caches/AAI/NM
    注: 可以从根级别访问上述目录。
  • 仅移除 Bot Agent 个文件
    注: 如果您打算将特定的 macOS 用作 Bot Agent 设备,建议使用此卸载方法。

    您可以选择此选项,仅从以下位置移除包含相关文件的 Bot Agent 文件夹:

    /Library/Application Support/AutomationAnywhere/BotAgent 文件夹

    此选项会移除 Bot Agent 文件夹和文件,确保在将 Bot Agent 更新到最新可用版本时,可以继续进行自动化操作。

可以通过运行 Bot Agent 卸载向导或使用静默卸载脚本,从您的 macOS 设备中卸载 Bot Agent

过程

  1. 导航到以下位置以找到 Bot Agent 卸载程序:
    /应用程序/实用工具
  2. 双击 AutomationAnywhere Bot Agent Uinstall.app
    将显示卸载 Bot Agent 的提示。
  3. 选择以下选项之一:
    • - 完全卸载所有 Bot Agent 文件、文件夹、缓存、设备注册详情等。
    • - 仅从 macOS 设备卸载 Bot Agent 应用程序。
  4. 卸载完成后,请单击确定
    根据您选择的选项,Bot Agent 已从您的 macOS 设备中卸载。

使用脚本进行静默卸载

  1. 转到 macOS 上的 Terminal 应用程序。
  2. 运行以下脚本之一以卸载 Bot Agent
    • sudo sh /Application/Utilities/Automation Anywhere Bot Agent Uninstall.app/Contents/MacOS/uninstall_silent.sh

      如果您想要完全卸载所有 Bot Agent 文件、文件夹、缓存、设备注册详情等,请运行此脚本。

    • sudo sh \'/Applications/Utilities/Automation Anywhere Bot Agent Uninstall.app/Contents/MacOS/uninstall_silent.sh\' savedata

      如果您只想从 macOS 设备卸载 Bot Agent 应用程序,请运行此脚本。

    根据您运行的卸载脚本,Bot Agent 已从您的 macOS 设备中卸载。