Sumlion for Office — 手动安装说明 / Manual install guide
======================================================================

Sumlion 是面向金融专业人士的 AI 助手。这是不运行任何 .exe 的安装方式：
Sumlion 加载项由一个很小的 XML 文件（清单）描述，让 Office 信任一个放着
它的文件夹即可。无需管理员权限，不运行任何程序，您也不用碰注册表。

Sumlion is an AI assistant for finance professionals. This is the install
with no .exe: the add-in is described by one small XML file, the manifest,
and Office loads it from a folder you mark as trusted. No administrator
rights, nothing run, nothing in the registry touched by you.

压缩包里有 / In this archive:
    manifest.prod.xml        Excel 的清单 / manifest for Excel
    manifest.word.prod.xml   Word 的清单  / manifest for Word
    INSTALL.txt              本文件 / this file

图文版：https://sumlion.cn/download/office/
Illustrated version: https://sumlion.cn/en/download/office/

适用于 Microsoft 365，或 Excel 2021 / Word 2024 及以上。
Microsoft 365, or Excel 2021 / Word 2024 and later.


----------------------------------------------------------------------
安装步骤 / Steps
----------------------------------------------------------------------

1. 把两个清单文件放进一个专用文件夹，建议 C:\Sumlion。不要放在 C:\Windows
   或 Program Files 里（那些位置共享需要管理员权限）。之后 Office 会一直从
   这里读取，不要删掉这个文件夹。
   Put the two manifest files in a folder of their own, e.g. C:\Sumlion — not
   inside C:\Windows or Program Files (sharing those needs administrator
   rights). Office reads them from here from now on; don't delete the folder.

2. 把这个文件夹共享给自己。Office 只接受以网络路径（\\电脑名\Sumlion）给出的
   加载项文件夹，哪怕它就在本机；共享之后这个路径才存在。
   Share the folder with yourself. Office only trusts add-in folders given as
   a network path (\\PC-NAME\Sumlion), even on this very machine; sharing is
   what creates that path.

   a) 右键 Sumlion 文件夹 → 属性 → 「共享」选项卡 → 共享(S)…
      Right-click the Sumlion folder -> Properties -> Sharing tab -> Share...
   b) 在下拉框里选您自己的用户名（登录 Windows 用的那个）→ 添加 → 共享。
      Pick your own user name (the one you sign in with) -> Add -> Share.
   c) 如果 Windows 问「是否要为所有公用网络启用网络发现和文件共享？」，
      选「否，使已连接到的网络成为专用网络」。
      If asked whether to turn on network discovery and file sharing for all
      public networks, choose "No, make the network I am connected to a
      private network".
   d) 最后一页显示「你的文件夹已共享」，文件夹名下方就是网络路径，形如
      \\DESKTOP-ABC123\Sumlion。选中并复制，第 3 步要用。
      The last page says "Your folder is shared" and shows the network path
      under the folder name, like \\DESKTOP-ABC123\Sumlion. Copy it for
      step 3.
   e) 已经关掉那一页了？右键文件夹 → 属性 → 共享：「网络路径」一栏就是它。
      Closed that page? Right-click the folder -> Properties -> Sharing: the
      Network Path field shows the same path.

3. 在 Excel 里：文件 → 选项 → 信任中心 → 信任中心设置… → 受信任的加载项目录。
   把网络路径粘贴到「目录 URI」，点「添加目录」，勾选「显示在菜单中」，确定。
   完全关闭 Excel，重新打开。
   In Excel: File -> Options -> Trust Center -> Trust Center Settings... ->
   Trusted Add-in Catalogs. Paste the network path into Catalog URI, click
   Add catalog, tick Show in Menu, OK. Close Excel completely and reopen it.

4. 开始 → 加载项（功能区靠右）→ 更多加载项。「Office 加载项」窗口里现在多了
   一个「共享文件夹」选项卡：打开它，选中 Sumlion，点「添加」。
   在 Word 里同样做一次。
   Home -> Add-ins (near the right end of the ribbon) -> More Add-ins. The
   Office Add-ins window now has a SHARED FOLDER tab: open it, select
   Sumlion, click Add. Do the same once in Word.

5. Sumlion 现在出现在「开始」→「加载项」面板和功能区上。点击它打开侧边栏，
   用邮箱登录。
   Sumlion now appears in the Home -> Add-ins panel and on the ribbon. Click
   it to open the pane and sign in with your email.


----------------------------------------------------------------------
卸载 / Remove
----------------------------------------------------------------------

开始 → 加载项 → 更多加载项 → 我的加载项 → 右键 Sumlion → 删除。
愿意的话再到信任中心删掉那条目录。
Home -> Add-ins -> More Add-ins -> My Add-ins -> right-click Sumlion ->
Remove. Optionally delete the catalog entry in Trust Center.


----------------------------------------------------------------------
没有看到 Sumlion？ / Not seeing Sumlion?
----------------------------------------------------------------------

- 第 3 步之后必须完全关闭并重开 Excel，「共享文件夹」选项卡才会出现。
  The SHARED FOLDER tab only appears after Excel is fully closed and reopened
  (step 3).
- 「目录 URI」必须是 \\电脑名\Sumlion 这样的网络路径，不能是 C:\Sumlion。
  Catalog URI must be the network path (\\PC\Sumlion), not C:\Sumlion.
- 如果共享失败，可能是公司策略关闭了文件共享——请联系 IT，或改用一键安装包。
  If sharing fails, company policy may have file sharing off — ask IT, or use
  the one-click installer instead.
- 图文排查：https://sumlion.cn/download/find-office/
  Illustrated check: https://sumlion.cn/en/download/find-office/
