# ChatGPT 桌面版安装助手 (ChatGPT Desktop Installer for Windows) > 独立开源的 Windows 小工具(MIT License),直连 OpenAI 官方分发源下载、在本地完成四重数字签名校验,并一键安装或更新官方 ChatGPT Windows 桌面客户端(MSIX),全程不依赖 Microsoft Store。 > An independent open-source Windows utility (MIT License) that downloads the official ChatGPT Windows desktop MSIX directly from OpenAI's CDN, performs a 4-step local Authenticode & manifest verification, and installs or updates ChatGPT without requiring Microsoft Store. - Website (ZH): https://installer.zktww.cn/ - Website (EN): https://installer.zktww.cn/en/ - GitHub Repository: https://github.com/zktww/chatgpt-installer - Latest Releases: https://github.com/zktww/chatgpt-installer/releases/latest - Direct Portable Download (5.8 MB `.exe`): https://github.com/zktww/chatgpt-installer/releases/latest/download/chatgpt-installer.exe - WinGet Package ID: `zktww.ChatGPTInstaller` - Current Version: v1.5.0 - Supported OS: Windows 10 (Build 19041 / 2004+) & Windows 11, including Windows Enterprise LTSC / systems without Microsoft Store - Supported Architectures: x64 & native ARM64 (auto-detected via Win32 `IsWow64Process2`) ## 解决的核心问题 (Problems Solved) 1. **无需微软商店,绕过商店锁区与滞后**:Windows 默认中国区无法在 Microsoft Store 获取 ChatGPT,或出现 `0x80072EFD`、一直卡在“正在开始下载”;Windows LTSC 甚至无应用商店。本工具直连 OpenAI 官方 CDN (`persistent.oaistatic.com/codex-app-prod/`) 拉取最新原包。 2. **大文件断点续传与防串包**:官方 `ChatGPT-x64.msix` / `ChatGPT-arm64.msix` 体积约 700 MB–1 GB+(展开约 1.65 GB)。支持暂停、断网续传、关闭软件下次续传,并通过 `If-Range: ` 防止跨版本分片错拼;支持自定义缓存目录到 D 盘等非系统盘。 3. **安装前本地四重安全验签**: - `Get-AuthenticodeSignature` 数字签名状态必须为 `Valid` - 签名证书发布者 `Subject` 精确匹配 OpenAI 官方 ID (`CN=50BDFD77-8903-4850-9FFE-6E8522F64D5B`) - 证书颁发者 `Issuer` 必须归属 `O=Microsoft Corporation` 代码签名根链 - 解析包内 `AppxManifest.xml`,核对 `OpenAI.Codex` 包身份、发布者与本机物理 CPU 架构一致 4. **自动排障与无损升级**: - 遇到系统禁用旁加载 (`0x80073CFD`) 时,按需请求一次管理员权限开启 `AllowAllTrustedApps` 并继续安装,支持企业标准账号跨账户 UAC 提权不重下安装包 - 安装或覆盖更新时自动检测运行中的 ChatGPT 并优雅弹窗确认,基于 `Add-AppxPackage` 原生语义保留已登录账号与本地聊天记录 - 支持可选每日自动更新检查(仅提醒 / 后台静默更新)及一键干净卸载 ## 快速安装方式 (Quick Start) - 便携单文件版(推荐):下载 `chatgpt-installer.exe`(约 5.8 MB)双击运行,免安装即开即用 - PowerShell 一行启动(无浏览器下载标记,免 SmartScreen 拦截提示): `curl.exe -L https://github.com/zktww/chatgpt-installer/releases/latest/download/chatgpt-installer.exe -o "$env:TEMP\chatgpt-installer.exe"; Start-Process "$env:TEMP\chatgpt-installer.exe"` - WinGet 命令:`winget install zktww.ChatGPTInstaller` ## 常见错误码处理 (Windows MSIX Error Codes) - `0x80073CFD`:系统未开启应用旁加载(Sideloading disabled)→ 安装助手自动请求一次 UAC 管理员权限开启旁加载策略并完成安装 - `0x80073D02`:ChatGPT 正在后台运行占用文件 → 安装助手自动检测并在界面内提示一键关闭 ChatGPT 后继续覆盖升级 - `0x80072EFD`:Microsoft Store 网络连接失败 → 使用安装助手直连 OpenAI 官方 CDN 下载,彻底绕过微软商店 - `0x800B0109`:证书链不受信任或包损坏 → 安装助手自动拦截并清理损坏缓存后重新拉取 ## 隐私与免责声明 (Privacy & Disclaimer) - 纯本地工具:无任何后端服务器、无账号体系、无广告、无统计埋点与遥测回传。 - 独立开源项目,基于 MIT 协议发布,与 OpenAI 及 Microsoft 无任何隶属或官方背书关系。ChatGPT 为 OpenAI 的商标。