﻿Textmolt - AI Writing Assistant for Microsoft Word
（中文说明见下方 / Chinese instructions below）
==========================================

INSTALL

  Save your documents and close all Office apps before running the installer.
  The installer will stop if Office is still running; it never terminates Office.

  1. Right-click "install.bat" > "Run as administrator"
     If a security dialog appears, click "Run".
     Standard (non-administrator) Windows account? If Windows asks for
     another account's password, cancel. Double-click install.bat instead
     (Windows asks for an administrator only to create the shared folder),
     or use textmolt-...-word-setup.exe. If setup detects that it is
     running as a different Windows user than you, it stops without
     changing anything.

  2. Open (or restart) Microsoft Word.
     Setup shows the Developer ribbon tab for you, unless Office policy blocks it.

  3. Go to Developer tab > Add-ins > Shared Folder
     Select "Textmolt" and click "Add"

  Done! The "Textmolt" tab will now appear in the ribbon.
  This activation is one-time only - it will auto-load on
  future launches.

  After installation, you can find "Textmolt for Word" in
  Windows Settings > Apps > Installed apps. Select it there to uninstall.

  After installation you may delete this ZIP and the extracted
  folder - the add-in keeps working, and you can still uninstall
  it later from Settings > Apps (the uninstaller was copied to
  %APPDATA%\Textmolt\WordAddin during installation).

  * If "Developer" is still hidden:
    File > Options > Customize Ribbon > check "Developer" > OK
    If an Office policy blocks that, open the same dialog with
    Home > Add-ins > More Add-ins (or Advanced) > Shared Folder.

  * If "Shared Folder" tab is empty:
    You may not have run install.bat as administrator.
    Go to File > Options > Trust Center > Trust Center Settings
    > Trusted Add-in Catalogs > add the path below > check
    "Show in Menu" > OK > restart Word and retry step 3.
    Network catalog URL: \\localhost\TextmoltCatalog
    This share must open in File Explorer first. If it does not,
    create or repair the TextmoltCatalog Windows network share
    for %APPDATA%\Textmolt\WordAddin before adding the URL.

UPGRADE

  Extract the new ZIP into a new folder, close all Office apps, then run install.bat.
  The installer checks the package identity and verifies the installed manifest.
  Reopen Word, then go to Developer > Add-ins > Shared Folder and click Refresh.
  Select Textmolt and click Add. Close any already-open Textmolt sidebar and reopen
  it from the Textmolt tab. Restarting Word alone may keep the old catalog entry.
  Normal upgrades preserve Office cache, other add-ins, and sign-in data.
  If the update message remains, contact support@textmolt.com. Do not delete
  individual WEF cache files: that can break other Office add-ins. Full cache
  clearing is a separate repair step and can require adding add-ins and signing in again.

UNINSTALL

  Right-click "uninstall.bat" > "Run as administrator", or select
  "Textmolt for Word" in Windows Settings > Apps > Installed apps.
  If setup turned on the Developer tab, uninstall turns it back off.

COMPATIBILITY

  Supported:
    - Microsoft 365 (any version)
    - Office 2021 or later (2021, 2024, etc.)
    - Office 2019 Retail/Click-to-Run (requires WebView2 Runtime)

  NOT supported (installing WebView2 will NOT help):
    - Office 2019 Volume License (MSI) - must upgrade Office
    - Office 2016 or earlier - must upgrade Office
    These versions are hardcoded to use IE11 and cannot be changed.

  If the add-in loads but shows a blank/white panel, you may
  need WebView2 Runtime. Download and install it from:
  https://developer.microsoft.com/en-us/microsoft-edge/webview2/
  (Choose "Evergreen Standalone Installer" > x64)
  If the panel is still blank after installing WebView2, your
  Office version is not supported and must be upgraded.

SUPPORT
  https://app.textmolt.com

==========================================
Textmolt - Microsoft Word AI 写作助手（中文说明）
==========================================

安装

  安装前请保存文档并退出所有 Office 应用。Office 仍打开时安装器会停止，
  不会强制关闭进程，也不会静默清除 Office 缓存。

  1. 右键「install.bat」>「以管理员身份运行」
     如果出现安全提示，点「运行」。
     用的是标准（非管理员）Windows 账号？如果 Windows 要你输入另一个账号的
     密码，请取消，改为双击 install.bat（只有创建共享文件夹这一步会请管理员批准），
     或者改用 textmolt-...-word-setup.exe。安装器如果检测到自己在以别的 Windows
     用户身份运行，会直接停下，不改动任何东西。

  2. 打开（或重启）Microsoft Word。
     安装程序会自动显示「开发工具」选项卡（Office 策略禁止时除外）。

  3. 依次点「开发工具」选项卡 >「加载项」>「共享文件夹」
     选中「Textmolt」，点「添加」

  完成！功能区会出现「Textmolt」选项卡。只需激活这一次，
  以后启动 Word 会自动加载。

  安装后可在 Windows「设置 > 应用 > 已安装的应用」中找到
  「Textmolt for Word」，在那里选中即可卸载。

  安装完成后可以删除本 ZIP 和解压出的文件夹，加载项照常可用；
  之后仍可在「设置 > 应用」中卸载（卸载程序已在安装时复制到
  %APPDATA%\Textmolt\WordAddin）。

  * 如果安装后仍看不到「开发工具」选项卡：
    文件 > 选项 > 自定义功能区 > 勾选「开发工具」> 确定
    如果 Office 策略不允许勾选，可以从「开始 > 加载项 > 更多加载项」
    （有的版本叫「高级」）打开同一个窗口，再点「共享文件夹」。

  * 「共享文件夹」里是空的：
    可能没有以管理员身份运行 install.bat。
    依次点 文件 > 选项 > 信任中心 > 信任中心设置
    > 受信任的加载项目录 > 添加下面的路径 > 勾选
    「显示在菜单中」> 确定 > 重启 Word 后重试第 3 步。
    网络目录 URL：\\localhost\TextmoltCatalog
    先确认资源管理器能打开这个共享路径；否则先为
    %APPDATA%\Textmolt\WordAddin 创建或修复名为
    TextmoltCatalog 的 Windows 网络共享，再添加目录 URL。

升级

  将新 ZIP 解压到新文件夹，退出所有 Office 应用后运行 install.bat。
  安装器会校验包版本，并读回验证安装后的 manifest。
  重开 Word，进入「开发工具 > 加载项 > 共享文件夹」，先点「刷新」，
  再选 Textmolt 点「添加」。关闭已打开的 Textmolt 侧栏，再从 Textmolt 菜单重开。
  仅重启 Word 可能仍保留旧目录入口。普通升级保留 Office 缓存、其他加载项和登录数据。
  如仍提示更新，请联系 support@textmolt.com。不要逐个删除 WEF 缓存文件，
  这可能破坏其他加载项。完整清缓存属于单独故障修复，可能需要重新添加加载项和登录。

卸载

  右键「uninstall.bat」>「以管理员身份运行」，或在 Windows
  「设置 > 应用 > 已安装的应用」中选择「Textmolt for Word」卸载。
  如果「开发工具」是安装程序打开的，卸载时会把它关回去。

兼容性

  支持：
    - Microsoft 365（任意版本）
    - Office 2021 及以上（2021、2024 等）
    - Office 2019 零售版 / 即点即用版（需要 WebView2 Runtime）

  不支持（安装 WebView2 也没有用）：
    - Office 2019 批量许可版（MSI）——需要升级 Office
    - Office 2016 及更早版本——需要升级 Office
    这些版本固定使用 IE11，无法更改。

  如果加载项能打开但面板是空白的，可能需要安装 WebView2 Runtime：
  https://developer.microsoft.com/zh-cn/microsoft-edge/webview2/
  （选择「常青版独立安装程序」> x64）
  装好 WebView2 后面板仍是空白，说明你的 Office 版本不受支持，需要升级 Office。

支持
  https://app.textmolt.com
