背景
Windows MSI 构建已知必踩 ICE80 错误(32 位 IME DLL 落在 64 位目录)。release-tauri.yml 有 Repair 步骤手动跑:
$env:LOCALAPPDATA\tauri\WixTools314\light.exe -sice:ICE80 ...
风险
依赖 WixTools314 固定路径。Tauri 升级到新 WiX 版本后,路径变成 WixTools315 或别的,Repair 步骤直接挂。
建议
- 用 glob 匹配最新
WixTools* 目录而非 hardcode 314
- 或在 Repair 前
Get-ChildItem ...\tauri\WixTools* | Select -Last 1
- 或 fork
tauri-bundler 暴露 light.exe 透传参数(让 -sice:ICE80 通过 tauri.conf.json 配置)
来源
docs/audit-2026-05-06.md §1.4 中风险 #4
背景
Windows MSI 构建已知必踩 ICE80 错误(32 位 IME DLL 落在 64 位目录)。
release-tauri.yml有 Repair 步骤手动跑:风险
依赖
WixTools314固定路径。Tauri 升级到新 WiX 版本后,路径变成WixTools315或别的,Repair 步骤直接挂。建议
WixTools*目录而非 hardcode 314Get-ChildItem ...\tauri\WixTools* | Select -Last 1tauri-bundler暴露 light.exe 透传参数(让-sice:ICE80通过 tauri.conf.json 配置)来源
docs/audit-2026-05-06.md§1.4 中风险 #4