Skip to content

Releases

codex下载安装器 / Codex Installer v1.2.3

Choose a tag to compare

@puppnn puppnn released this 11 Nov 13:56

Codex Installer v1.2.3

适用于 Windows x64。CodexInstaller-win-x64.exe 是自包含单文件,无需预装 .NET。缺少 WebView2 Runtime 时,安装仍需用户确认。

更新内容

  • 安装确认后,部署命令使用 -ForceApplicationShutdown,让 Windows 关闭占用目标包的应用及其子进程,处理仅关闭窗口后仍可能出现的 0x80073D02。确认框会提前提醒保存工作。
  • Codex、应用商店和本地包安装成功后,若没有恢复警告且窗口未在关闭,会显示安装完成提示。
  • 保留部署日志中的事件 638,区分应用或子进程仍在运行与后台服务未停止的情况。
  • 保留 v1.2.2 的跨重启续传、服务恢复和包校验机制。

校验与限制

  • EXE 来自 v1.2.3 标签的 GitHub Actions 构建,附 SHA256SUMS.txt 和构建来源证明。
  • 可用 Get-FileHash .\CodexInstaller-win-x64.exe -Algorithm SHA256 核对哈希,或用 gh attestation verify .\CodexInstaller-win-x64.exe --repo puppnn/codex-installer --source-ref refs/tags/v1.2.3 验证来源。
  • EXE 无 Authenticode 签名。CI 验证编译、自动化测试和单文件启动;实际应用强制关闭、服务控制和安装不在启动检查范围内。

English

Windows can now force-close the target app and its child processes during installation, after the user confirms. Save your work before proceeding. Successful installs show a completion dialog when no recovery warning needs attention. Deployment diagnostics distinguish running apps from active services. The Windows x64 release remains a self-contained single EXE with a SHA-256 checksum and GitHub build provenance.

codex下载安装器 / Codex Installer v1.2.2

Choose a tag to compare

@puppnn puppnn released this 21 Oct 09:25

Codex Installer v1.2.2

正式版 / Release

适用于 Windows x64。下载 CodexInstaller-win-x64.exe 后直接运行,无需预装 .NET;缺少 WebView2 Runtime 时仍需用户确认后才能安装。

更新内容

  • 保留后台服务检测与 UAC 控制、ActivityId 部署日志、跨重启续传。
  • 服务停止不再强制连带关闭依赖服务,授权后重新核对服务身份与路径。
  • 部分停止失败、安装异常和取消均执行恢复检查;等待停止助手退出后才恢复,避免竞态。
  • 安装成功但服务恢复失败时单独显示警告,错误详情可以复制。
  • 半包移入专属缓存目录;文件锁覆盖下载、校验、移动和清理全过程。
  • 仅清理有合法元数据的过期缓存,不触碰下载根目录中的其他 .partial.* 文件。
  • 严格验证续传 JSON 的空字段、ETag、文件名和大小,坏缓存安全重下。
  • 新增服务恢复和持久续传集成测试。真实 UAC、停服务与系统安装需在目标机器上人工验收。
  • 保持原生 .NET 自包含单文件打包,不增加额外启动包装层。
  • CI 新增最终 EXE 的主窗口启动和正常退出检查;本地验证支持核对界面显示的已安装版本。

校验与限制

  • EXE 来自 v1.2.2 标签的 GitHub Actions 构建,附带 SHA256SUMS.txt 和 GitHub 构建来源证明。
  • 文件校验:Get-FileHash .\CodexInstaller-win-x64.exe -Algorithm SHA256。
  • 来源校验:gh attestation verify .\CodexInstaller-win-x64.exe --repo puppnn/codex-installer。
  • EXE 尚无 Authenticode 代码签名,构建来源证明不等于代码签名证书。
  • 本机排查发现,受限工作区继承的 Windows Low 完整性标记会导致运行库解压或读取已安装应用失败。这是本地文件安全属性问题,不是查询算法变化;程序不会自动修改文件完整性标记、工作区权限或沙箱设置。
  • 保留 v1.2.1 Release 及其附件。本次未以真实停服务或安装操作替代人工验收,也未取消原有包签名、身份和防降级检查。

English

This release adds persistent download resume, package-service handling and deployment logs, with recovery, dependency and cache-ownership safeguards. It remains a native .NET self-contained single executable without an extra launcher. CI checks that the published EXE opens its main window and exits cleanly.

Verify the SHA-256 checksum and GitHub artifact attestation. The executable is not Authenticode-signed. Low-integrity labels inherited from a restricted local workspace can prevent runtime extraction or package queries; the application does not alter Windows security labels or sandbox permissions. Real service-stop, UAC and installation workflows still require manual acceptance testing. The v1.2.1 release remains available unchanged.

codex下载安装器 / Codex Installer v1.2.1

Choose a tag to compare

@puppnn puppnn released this 21 Oct 03:03

Codex Installer v1.2.1

正式版 / Release

适用于 Windows x64。下载 CodexInstaller-win-x64.exe 后直接运行,无需预装 .NET;若缺少 WebView2 Runtime,程序会在用户确认后运行内置的微软联网引导程序。

新功能与修复

  • 包含 v1.2 系列的本地 MSIX/APPX/Bundle 安装、本地依赖选择和打开下载目录功能。

  • 界面随窗口大小自动重排,支持窄窗口纵向、宽窗口双栏和当前会话操作记录。

  • 修复中文 PowerShell 输出和原始 CLIXML 弹窗,提供可复制的错误详情。

  • 安装前核对签名、包身份、实际应用版本、架构、Windows 最低版本和依赖,防止自动降级。

  • 新增下载线路选择:自动(直连优先)、仅 IPv4 直连、系统代理。

  • 线路选择仅影响安装包传输;不修改 Clash、系统代理、系统 DNS 或证书验证设置。

  • 处理 ResponseEnded、网络中断和读取超时;单次传输操作最多尝试 6 次,过期链接仍由上层重新查询一次。

  • 仅在强 ETag、完整长度和续传范围一致时保留已有数据;服务器忽略 Range 或标识变化时从头下载。

  • 下载完成后继续验证页面哈希(如提供)、Windows 签名、Manifest 和包族身份。

  • 取消、关闭程序或最终失败会清理临时下载,不支持跨程序重启续传。

校验与限制

  • EXE 由 v1.2.1 标签的 GitHub Actions 构建,并生成 GitHub artifact attestation。
  • Release 附带 SHA256SUMS.txt。可用 Get-FileHash .\CodexInstaller-win-x64.exe -Algorithm SHA256 核对文件哈希。
  • 使用 GitHub CLI 验证构建来源:gh attestation verify .\CodexInstaller-win-x64.exe --repo puppnn/codex-installer。
  • 安装器本身为 x64;界面中的 arm64 是目标应用包架构选项。
  • 不支持 EXE/MSI、加密包或绕过购买、许可、区域限制和 DRM。
  • EXE 尚无 Authenticode 代码签名,Windows SmartScreen 可能显示未知发布者;构建来源证明不等于代码签名证书。

English

This release adds download-route selection and validated in-session resume, and includes the v1.2 local-package installer, responsive UI, folder shortcuts, and readable deployment errors. It retains signature and identity checks without modifying Clash or Windows networking configuration.

Run CodexInstaller-win-x64.exe on Windows x64 without installing .NET separately. A missing WebView2 Runtime can be installed using the bundled Microsoft bootstrapper after confirmation. Verify SHA256SUMS.txt and the GitHub artifact attestation. Interrupted transfers resume only during the current operation; partial downloads are removed on cancellation, shutdown, or terminal failure.

codex下载安装器 / Codex Installer v1.1.0

Choose a tag to compare

@puppnn puppnn released this 16 Jul 03:14

Codex Installer v1.1.0

中文

新功能

  • 新增 Microsoft Store 高级下载安装窗口,支持 ProductId 和微软官方 Store 网页地址。
  • 支持 MSIX、APPX、MSIXBundle、APPXBundle,并自动解析和安装依赖。
  • 支持仅下载、下载并安装、兼容架构筛选、历史版本查看和自定义下载目录。
  • 下载目录中已有完全相同且验证有效的包时直接复用。

安全与可靠性

  • 严格验证 Microsoft Store 元数据、数字签名、Manifest、发布者、PFN、版本和架构。
  • 微软 CDN 下载优先 HTTPS;仅对原始微软 HTTP 链接进行受限回退,且不会关闭证书验证。
  • rg-adguard 浏览器默认隐藏,需要 Cloudflare/Turnstile 验证或等待异常时自动显示。
  • 下载与安装错误现在会显示完整内部原因。
  • 新增并扩展至 69 项 xUnit 测试,并由 GitHub Actions 生成构建来源证明。

限制

  • 不支持 WPM、EXE、MSI、加密包和大型游戏安装器。
  • 不绕过付费应用许可、区域限制或 DRM。

English

Highlights

  • Adds an advanced Microsoft Store downloader for ProductIds and official Store URLs.
  • Supports MSIX, APPX, MSIXBundle, and APPXBundle packages with automatic dependency resolution.
  • Adds architecture filtering, download-only mode, version comparison, custom download folders, and verified local-package reuse.
  • Verifies Store metadata, digital signatures, Manifests, publishers, PFNs, versions, and architectures.
  • Prefers HTTPS for Microsoft CDN downloads and uses a constrained original-HTTP fallback only when required; certificate validation is never disabled.
  • Shows the embedded browser only when manual Cloudflare/Turnstile verification may be needed.

This is an independent community tool and is not an official OpenAI or Microsoft installer.

codex下载安装器 / Codex Installer v1.0.0

Choose a tag to compare

@puppnn puppnn released this 25 Jun 08:22

codex下载安装器 / Codex Installer

用于解决 Windows 下 Microsoft Store 无法联网、无法跳转或无法下载安装 Codex 桌面版的问题。

本项目是第三方社区工具,不是 OpenAI 或 Microsoft 官方安装器。

工作原理

程序使用 WebView2 打开 store.rg-adguard.net,提交 Microsoft Store ProductId 9PLM9XGG6VKS,从页面结果中筛选 OpenAI.Codex 的 x64/arm64 MSIX。下载仅允许 Microsoft delivery.mp.microsoft.com 的 HTTPS 地址,随后验证 Windows 数字签名及 MSIX Manifest 中的包名、发布者、版本和架构,最后以当前 Windows 用户执行 Add-AppxPackage。

安全改进

  • PowerShell 使用系统绝对路径、EncodedCommand 和受限系统模块路径。
  • 不再请求管理员权限,不会把应用整体提升为高完整性进程。
  • WebView2 改为内置约 1.6 MB 的微软 Evergreen Bootstrapper;运行前固定 SHA-256 并验证 Microsoft 签名。
  • WebView2 Bootstrapper 使用随机临时目录、只读文件锁并在完成后清理。
  • 候选链接只接受 Microsoft CDN;HTTP 链接只对已确认的 Microsoft 域名升级为 HTTPS。
  • MSIX 下载后及安装前均重新验证签名和 OpenAI.Codex Manifest 身份。
  • 使用 Retail 渠道,不再使用 Release Preview。
  • GitHub Actions 执行 15 项正式测试、NuGet 漏洞检查并生成 artifact provenance attestation。

使用说明

  1. 下载 CodexInstaller-win-x64.exe 并双击运行。
  2. 如果电脑缺少 WebView2,确认后由微软 Evergreen Bootstrapper 联网安装。
  3. 选择安装包下载位置和架构,默认推荐 x64。
  4. 点击“检查更新”,然后下载并安装 MSIX。
  5. 如果提示 Codex 正在运行,请关闭 Codex 后重试。

不需要主动以管理员身份运行本工具。

发布验证

当前 EXE SHA-256:BA06246D96FD0CCED78BF22C1299CC658A98A9A7487488FFCEFAED9B7D1B6F98

可使用 GitHub CLI 验证构建来源:

gh attestation verify .\CodexInstaller-win-x64.exe --repo puppnn/codex-installer

该 EXE 目前没有 Authenticode 代码签名证书,Windows SmartScreen 仍可能显示“未知发布者”。